MQTT not listening?

Hi! Trying to set up MQTT and Tasmota on a Raspberry PI.
I’ve installed Raspbian, then Home Assistant, and now Mosquitto.
I’ve used the config from Adafruit except disabled anonymous access.

My MQTT server is connected with “localhost” and a separate user/password for home assistant, and then I created another user for the sonoff-device. When I try the following command:

cmnd/tasmota4ch/power1

And sending “ON/OFF”, it does work. But listening to the same topic with “tele” and “STATE” like this guide does not give me any response. Anyone know what could be wrong?

tele/tasmota4ch/STATE

Hmm… Not sure if that was what changed it, but I sent this command to Tasmota console:

SetOption19 1

Now I can see data when listening while sending “ON” or “OFF” etc.

1 Like