Tasmota, D1 Mini and SCD-30 CO2 Sensor
tasmota.bin from: https://github.com/arendst/Tasmota/releases
Erase flash: esptool.py –port /dev/ttyUSB0 erase_flash
Install tasmota.bin: esptool.py –port /dev/ttyUSB0 write_flash -fs 4MB -fm dout 0x0 tasmota4m.bin
Power down and up again
Connect to tasmota device:
Wait some time until a “Need to login to Wifi” message appears, the login page is Tasmota. Or use 192.168.4.1 if the message does not appear.
Select your wifi, enter wifi password, save. D1 Mini will restart, tell you the new IP address and reloads after a few seconds. You should switch back to your standard wireless network, else this will fail. Now you are at the entry page and you can configure your device.
Enter MQTT data
Device shows up as: tasmota/discovery/500291FD7007/config {“ip”:“172.17.0.119”,“dn”:“Tasmota”,“fn”:[“Tasmota”,null,null,null,null,null,null,null],“hn”:“tasmota-FD7007-4103”,“mac”:“500291FD7007”,“md”:“Sonoff Basic”,“ty”:0,“if”:0,“ofln”:“Offline”,“onln”:“Online”,“state”:[“OFF”,“ON”,“TOGGLE”,“HOLD”],“sw”:“12.3.1”,“t”:“tasmota_FD7007”,“ft”:"%prefix%/%topic%/",“tp”:[“cmnd”,“stat”,“tele”],“rl”:[1,0,0,0,0,0,0,0],“swc”:[-1,-1,-1,-1,-1,-1,-1,-1],“swn”:[null,null,null,null,null,null,null,null],“btn”:[0,0,0,0,0,0,0,0],“so”:{“4”:0,“11”:0,“13”:0,“17”:0,“20”:0,“30”:0,“68”:0,“73”:0,“82”:0,“114”:0,“117”:0},“lk”:0,“lt_st”:0,“sho”:[0,0,0,0],“sht”:[[0,0,0],[0,0,0],[0,0,0],[0,0,0]],“ver”:1} tasmota/discovery/500291FD7007/sensors {“sn”:{“Time”:“2023-02-01T10:35:46”},“ver”:1}
SCD30 calibration: Device/Tasmota -> Consolen -> Console -> “scd30cal 410”