I initially tried to integrate the Tuya cloud with HA, but Tuya was still awful. I successfully flashed 3 Aoycocr Q9WM bulbs to Tasmota 9.2.0, and followed the instructions for setting it up in HA, but the devices aren’t registering.
The first thing I noticed was that the Tasmota integration doesn’t have a CONFIGURE
button like the MQTT broker and Tuya integrations.
I tried to bump the MQTT user account I added from users → admin (uname = mosquitto
), but there was no change.
I believe the devices are all set with the right MQTT settings and I can see them connect to the MQTT broker.
00:00:02 HTP: Web server active on tasmota_UpLiving-4449 with IP address 192.168.86.210
15:40:31 MQT: Attempting connection...
15:40:31 MQT: Connected
15:40:31 MQT: tele/tasmota_UpLiving/LWT = Online (retained)
15:40:31 MQT: cmnd/tasmota_UpLiving/POWER =
15:40:31 MQT: tele/tasmota_UpLiving/INFO1 = {"Module":"Aoycocr Q9WM","Version":"9.2.0(lite)","FallbackTopic":"cmnd/DVES_A8D161_fb/","GroupTopic":"cmnd/tasmotas/"}
15:40:31 MQT: tele/tasmota_UpLiving/INFO2 = {"WebServerMode":"Admin","Hostname":"tasmota_UpLiving-4449","IPAddress":"192.168.86.210"}
15:40:31 MQT: tele/tasmota_UpLiving/INFO3 = {"RestartReason":"Software/System restart"}
15:40:31 MQT: stat/tasmota_UpLiving/RESULT = {"POWER":"OFF"}
15:40:31 MQT: stat/tasmota_UpLiving/POWER = OFF
15:40:35 MQT: tele/tasmota_UpLiving/STATE = {"Time":"2021-08-16T15:40:35","Uptime":"0T00:00:10","UptimeSec":10,"Vcc":3.461,"Heap":30,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER":"OFF","Dimmer":100,"Color":"00000000FF","HSBColor":"0,0,0","White":100,"CT":500,"Channel":[0,0,0,0,100],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"JPJPOH","BSSId":"68:FF:7B:0A:6D:6E","Channel":2,"RSSI":36,"Signal":-82,"LinkCount":1,"Downtime":"0T00:00:03"}}
192.168.86.210 / UpLiving’s Console Output
The only error I can find is in the addon’s log:
629079937: Config loaded from /etc/mosquitto/mosquitto.conf.
1629079937: Loading plugin: /usr/share/mosquitto/auth-plug.so
1629079937: ├── Username/password checking enabled.
1629079937: ├── TLS-PSK checking enabled.
1629079937: └── Extended authentication not enabled.
1629079937: Opening ipv4 listen socket on port 1883.
1629079937: Opening ipv6 listen socket on port 1883.
1629079937: Opening websockets listen socket on port 1884.
1629079938: Warning: Mosquitto should not be run as root/administrator.
1629079938: mosquitto version 1.6.12 running
1629079938: New connection from 127.0.0.1 on port 1883.
1629079938: Socket error on client <unknown>, disconnecting.
1629079938: New connection from 192.168.86.210 on port 1883.
1629079938: New client connected from 192.168.86.210 as DVES_A8D161 (p2, c1, k30, u'mosquitto').
1629079944: New connection from 172.30.32.1 on port 1883.
1629079944: New client connected from 172.30.32.1 as 4bwLH2DSrdPyRoWbFZDXxz (p2, c1, k60, u'mosquitto').
1629080537: New connection from 192.168.86.212 on port 1883.
1629080537: New client connected from 192.168.86.212 as DVES_A8470C (p2, c1, k30, u'mosquitto').
1629080539: Socket error on client DVES_A8470C, disconnecting.
1629080540: New connection from 192.168.86.211 on port 1883.
1629080540: New client connected from 192.168.86.211 as DVES_A84550 (p2, c1, k30, u'mosquitto').
1629080542: Socket error on client DVES_A84550, disconnecting.
1629080543: New connection from 192.168.86.212 on port 1883.
1629080543: New client connected from 192.168.86.212 as DVES_A8470C (p2, c1, k30, u'mosquitto').
1629080544: Socket error on client DVES_A8D161, disconnecting.
1629080546: New connection from 192.168.86.211 on port 1883.
1629080546: New client connected from 192.168.86.211 as DVES_A84550 (p2, c1, k30, u'mosquitto').
1629080547: New connection from 192.168.86.210 on port 1883.
1629080547: New client connected from 192.168.86.210 as DVES_A8D161 (p2, c1, k30, u'mosquitto').
1629080599: Socket error on client DVES_A8470C, disconnecting.
1629080603: New connection from 192.168.86.212 on port 1883.
1629080603: New client connected from 192.168.86.212 as DVES_A8470C (p2, c1, k30, u'mosquitto').
1629080632: Socket error on client DVES_A8470C, disconnecting.
1629080654: New connection from 192.168.86.212 on port 1883.
1629080654: New client connected from 192.168.86.212 as DVES_A8470C (p2, c1, k30, u'mosquitto').
1629080834: Client DVES_A8D161 has exceeded timeout, disconnecting.
1629080851: Client DVES_A8470C has exceeded timeout, disconnecting.
1629080945: New connection from 192.168.86.212 on port 1883.
1629080945: New client connected from 192.168.86.212 as DVES_A8470C (p2, c1, k30, u'mosquitto').
1629081021: Client DVES_A8470C has exceeded timeout, disconnecting.
1629081183: New connection from 192.168.86.212 on port 1883.
1629081183: New client connected from 192.168.86.212 as DVES_A8470C (p2, c1, k30, u'mosquitto').
1629081739: Saving in-memory database to /data/mosquitto.db.
1629083540: Saving in-memory database to /data/mosquitto.db.
192.168.86.133 / homeassistant’s Mosquitto broker v6.0.1 addon Log
Any help is appreciated.