I don’t now, how to get MQTT Broker working.
I’ve been made with tuya-convert on Raspberry Pi4B two plugs with Tasmota last version.
A few days I add Zigbee deCONZ.
I have been add MQTT Broker plugin from Supervisor and confirure it at integration a week ago with option discovery. (I’ve been tried to remove plugin and add MQTT from integrations, but it always shows an error that couldn’t connect to broker.)
Because Home Assistant has new integrations view, older videos not working and didn’t help.
I don’t know how to get this working.
I add SetOption19 1 and SetOption30 1 at Tasmota Console too. I see output at console.
But I don’t see anything in Home Assistant.
Log from addon
[16:48:37] INFO: Setup mosquitto configuration
[16:48:37] WARNING: SSL not enabled - No valid certs found!
[16:48:37] INFO: Found local users inside config
[16:48:37] INFO: Initialize Hass.io Add-on services
[16:48:38] INFO: Initialize Home Assistant discovery
[16:48:38] INFO: Start Mosquitto daemon
1589726918: mosquitto version 1.6.3 starting
1589726918: Config loaded from /etc/mosquitto.conf.
1589726918: |-- *** auth-plug: startup
1589726918: Loading plugin: /usr/share/mosquitto/auth-plug.so
1589726918: ├── Username/password checking enabled.
1589726918: ├── TLS-PSK checking enabled.
1589726918: └── Extended authentication not enabled.
1589726918: Opening ipv4 listen socket on port 1883.
1589726918: Opening ipv6 listen socket on port 1883.
1589726918: Opening websockets listen socket on port 1884.
1589726918: Warning: Mosquitto should not be run as root/administrator.
1589726919: New connection from 172.30.32.1 on port 1883.
[INFO] found homeassistant on local database
1589726919: New client connected from 172.30.32.1 as auto-CEAD8BEF-BB95-025E-A0DF-C6EB146D3629 (p2, c1, k60, u’homeassistant’).
Have you set your mqtt options on the tasmotta device? it looks like you have connected to one device and also why have you setoption30 if it is not a light? also have you tried a restart?
SetOption30 Enforce Home Assistant auto-discovery as light
0
= relays are announced as a switch and PWM as a light (default)
1
= both relays and PWM are announced as light
I have MQTT enabled in Other options.
setOption19 and 30 I have been set in Console. This is plug not light, I don’t know whether it is the same option for plug on and off. So I have been wrote SetOption30 0 in console now. And restart.
Nobody do this on videos. I leave this on discovery. I see at Console path homeassistant, so something works but I don’t see anything in HA
Bad videos. So no mqtt for you
I gave a detailed explanation here how to setup a tasmota device :
https://community.home-assistant.io/t/tuya-smart-ir/101837/20
but if you rather watch an outdated video, your on your own.
I know a few weeks is everything different. Thank you for your help. I thing something like this. Autoconfigure means make yourself.
Now I see 2 plugs and Zigbee entities.
For other users.
There is needed fill address of MQTT broker, ie address of HA and username and password, I’m using one which I have been add to configuration of MQTT addon.
correct you have to set up tasmota as per usual, this has not changed for a very long time, autoconfigure with setoption19 1 is not really that new either, autoconfigure the home assistant is very much an autoconfigure compared to how it used to be.