I flashed Tuya plug ( CE Smart Plug - flashed with tuya-convert) method. I see the device connecting to my Mosquitto broker in the console of the plugin (and in the console of the plug itself), I set “SetOption19 1” in the console of the plug and then in HA go to Configuration > Integrations > MQTT mosquitto broker
“This integration has no devices” - system option is enabled.
the sonoffs are running 6.6.0(release-sonoff)
in the tasmota web-interface I can toggle the lights without problems
Please, Any help will be greatly appropriated. new to HA…
Thank you…
Maybe I’m asking the obvious, but did you upgrade your tasmota after flashing with tuya-convert ? The version of tasmota installed with tuya-convert is sonoff basic, which does not support auto discovery in HA. if not, you need to upgrade to sonoff.
Just upgraded to http://thehackbox.org/tasmota/sonoff.bin - and restarted smart plug and HA and still nothing. uninstalled mosqiutto restarted and installed back no difference…
yes setoption19 1and yes MQTT is seeing connection - 192.168.1.32 is the plug
log from MQTT
1571970256: New connection from 192.168.1.32 on port 1883.
1571970256: New client connected from 192.168.1.32 as DVES_D322B0 (p2, c1, k30, u’kris’).
1571970352: New connection from 172.30.32.1 on port 1883.
[WARN] Not found homeassistant on local database
1571970355: Socket error on client , disconnecting.
1571970412: Saving in-memory database to /data/mosquitto.db.
How is the broker setup? Can you show your configuration.
If you have setup a user in the broker you need an ACL file and you need a homeassistant user in the ACL file.
ok so you have a local user. Did you make an ACL file?
I suggest you go Configuration>Users and create kris user and password and reset the addon to defaults. If you do that it will work and won’t require an ACL file.
Otherwise, you need to create an ACL file with a kris user and a homeassistant user and set active: true in the addon as well.
ok already a kris user so delete the kris user from the addon. Just press the default button and restart the addon.
At the moment, you have a local user kris defined in the addon. You do not need that. Just reset it to defaults and restart the addon.