Is ther a way to monitor temperature using a Sonoff R2 ? What i would like to do is measure temperature and then turn o or off at a given temperature. Example, like a furnace but not using this way, turn on AC at 140 deg and off at 90 deg
Hi.
What chip does your sonoff have?
You can try to create something based on this project: https://randomnerdtutorials.com/esp32-esp8266-thermostat-web-server/
Regards,
Sara
Hi Larry.
Unfortunately, I don’t have any experience with the ESP8285 chip and I don’t have any tutorials about it.
I’m sorry that I can’t help much on this subject.
Regards,
Sara
I know if I remove relay I can access GPIO 12 I think and GPIO 2 or 3 is rx , Gpio14 I would have to solder to the chip . But it would be me just hacking and was hoping you had more information .
We only have information for this old version of sonoff with ESP8266: https://randomnerdtutorials.com/reprogram-sonoff-smart-switch-with-web-server/
Regards,
Sara
Thank you, I guess I will hack away a bit. I think I will have to use a 4.7k resistor on Io2 for the DHT11 to read. I tried it on the rx , got nan for reading.
Sara;
The issue of adding a DHT 11 to a Sonoff was pretty simple when I gave it more thought. The sensor required 3.3v and ground, the source pin I attached a wire to the bottom of the board to breakout GPIO2 and connected it to the DHT11. I also flashed the Sonoff with Tasmota and in configuration I found my ver of Sonoff in my case it was Sonoff Basic (1) , used the pull down box on the GPIO I selected and there it has 2 different call out to DHT11 . I used DHT11 the other not tested is DHT 11_0. Thanks for your support and helpful advice.
Well I was able to read temperature quite easily, but unfortunately I couldn’t find a way to make it switch the relay on and off. Too bad , I have been trying to figure out a way to monitor and turn the fan motor on and off at specific temperatures. My wood stove currently use a snap limit switch which is very inaccurate. The switch hysteresis maybe the culprit and that’s why I am attempting this. Problem is it blows cod air.
Unfortunately, we don’t have any examples for it with Tasmota.
But, I’m sure there should be some examples out there.
https://tasmota.github.io/docs/Thermostat/#configuration-for-standalone-application-or-bypass-of-existing-wall-thermostat (not sure if this is compatible with yours)
Regards,
Sara