I’ve got a Sonoff basic r2 v1.3 (image of board here Internet purchase Sonoff Basic R2, inside new board Sonoff Basic RF R2 POWER v1.3 2019.08.16, Is what i recieved - #6 by Kinax - SuperHouse Community)
I’ve got it flashed with esphome and the realy, and switch are working fine.
Now trying to add a DHT11 temp/humid sensor to it. the sensor I have is on a board inc the resistors and has 3V3, GND, DATA.
3V3 and GND are connected to their counterparts, and the DATA line is on RX, which I believe, from the esphome and tasmota docs, is GPIO3.
This isn’t working - logs say I need to check the wiring/pin.
I note the Tasmota docs (Sonoff Basic - Tasmota) say:
If you use GPIO03, you must use a device template (rather than selecting the Sonoff Basic module), and also disable serial logging (SerialLog 0).
Not sure if/how this is relevant to esphome.
Can I use the RX pin for something other than uart? Do I need to disable serial logging (perhaps logger:
?), or is there another setting I should use?
I suppose I could resolder the DATA pin to I02
- which is GPIO2 according to tasmota docs - but its on the base of the Basic, and would mean I can’t use the case - I’ve actually printed a better base to include more strain relief, but I’m not sure my 3d design skills are up to adding a channel for this wire!.
Thanks