-->
Page 2 of 4

Re: ESP-Now with Multiple Sensors

PostPosted: Sat Mar 21, 2020 1:24 pm
by prairietech
Thanks for the quick reply!

I'm trying a ds18b20 instead of the dht22. But not getting anything to the receiver. When monitoring the serial port of the sender 8266, I get one temp reading but it is at -127 indicating the sensor wasn't read. Changed the sleep time to the 10 second parameter you listed and still nothing at the receiver.

My past experience with ds18b20 used the ROM address of the sensor in the sketch. But apparently with only 1 sensor on the 8266, the address of the sensor is not needed?

I used one of the Rui's test sketches where dummy data was sent between two 8266's and it worked fine over an impressive distance through metal siding.

My short coming is knowing very little about writing code and have the follow the lead of people like you that know what they are doing. Any advice or sketches you can send my way would be greatly appreciated!

Re: ESP-Now with Multiple Sensors

PostPosted: Sat May 02, 2020 4:36 am
by ozric13
Hi Kirk
Great project which I tinkered with and can now have multiple sensors from the same transmitter, so with one TX I can monitor the temperature of the fridge and the freezer etc.

My question is, did you find a way to get the data to the internet, I found a couple of sketches claiming to be able to do that with one ESP8266 which is the receiver of the transmitters, but i cant even get thos picking up the sensors.

At least yours works.

So any update , I`m sure we would love to hear about.

Cheers Alan

Re: ESP-Now with Multiple Sensors

PostPosted: Sun May 03, 2020 3:32 pm
by prairietech
Alan, Would you mind posting your transmitter and receiver sketches?

Re: ESP-Now with Multiple Sensors

PostPosted: Tue May 05, 2020 1:13 am
by ozric13
Hi prairietech

I actually lost the code I was working on, however I re-coded what I could remember.
Are you using just one transmitter with multiple sensors, or are you using mutliple transmitters with multiple sensors?

If its the first one that`s very easy and I`ll upload the code, if it for multiple senders, I`ll have to do a bit more work :)

Cheers Alan