- connect hardware (USB, if necessary CH340G)
- flash tasmota firmware (install tasmotize via pip)
- configure (tasmotize - config: wifi + mqtt(ip and port of mqtt server))
- open webinterface of tasmota (IP see router)
- cofigure - cofigure module - template + activate: 6 . open web interface of tasmota
- if it is a ...
- ... a hardware where the sensors/switches/... are already hardwired to the esp8266: cofiguration -> cofigure module -> module type: select the hardware -> save.
- ... nodeMCU or similar board, where the pins of the 8266 can be used freely: cofiguration -> cofigure template -> name: any hardware name (e.g. "NodeMCU LoLin V3"), Based on: generic -> save -> configure module -> module type: select the just created name -> save
- in the modules now select the GPIO assignment, at ...
- ... sonoff th: select here at GPIO14 the sensor type SI7021 (at least it was with me) -> save
- ....nodeMCU + TH22-Sensor: at "D2 GPIO4" select the sensor type "AM2301", if the data pin of the TH22-Sensor is connected to port D2 of the nodeMCU (and therefore connected to GPIO4 of the ESP) -> save
Last active
January 31, 2021 21:50
-
-
Save oceanBT/7e16368faad90a72cf6a880b89b1ec44 to your computer and use it in GitHub Desktop.
tasmota installation on nodeMCU or sonoff (esp8266) and configure TH11 or TH22 (AM2302) Sensor
Connect DHT22 / AM2302 temperature and humidity sensor on esp 8266 (nodemcu):
- pin1: +3v
- pin2: D2 (or other free D-port on the nodemcu)
- pin3: empty
- pin4: grd
Optional 10k Ohm resistor between pin 1 and pin 2 of the sensor (probably to smooth the signal)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment