CoIoT (Home Assistant) and MQTT not working

  • Hi! I Have around 20 shelly devices in my network including 8 Dimmer 2-s.

    Today I added one more Dimmer 2 to living room lights.

    Added wifi, device has now IP and I can access the web UI. Did firmware update to latest, calibration, and added the MQTT server and CoIoT as usual, but Home Assitant did not notify that new device has been found as usual.

    Neither is the device in my MQTT network.

    Turned on the debug log. There is no information about ColoT, but for MQTT there is a error:

    [script] [/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script][/script][script]

    Code
    1297981689 mgos_mqtt_conn.c:472    MQTT0 connecting to 192.168.1.35:1883
    1304278091 mgos_mqtt_conn.c:230    MQTT0 TCP connect error (-8)
    1304285737 mgos_mqtt_conn.c:257    MQTT0 Disconnect
    1304352481 mgos_mqtt_conn.c:551    MQTT0 connecting after 64178 ms

    [script][script][script][script][script][script][script][script][script][script][script][script][script][script][/script]

    There is no log entries in Mosquitto for this particular Dimmer2.

    I have tried to reboot device, Mosquitto (MQTT) and Home assistant. Everything else is working. Other dimmer2-s with the same firmware are working. Mosquitto is working etc..

    I can ping the dimmer2 and web UI is working, so don't seem to be nework isssue. I'm out of ideas. Maybe a faulty device?


    [/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script][/script]

  • Regarding Coap/ CoIoT: Have you tried to configure the Dimmer using Unicast instead of Multicast?

    pasted-from-clipboard.png

    Also: there's absolutely no need for both MQTT and CoIoT. I'd recommend to use either CoIoT OR MQTT, not both at the same time.

    Note: after changing those settings the Shelly need a Reboot.

    >100 Shellies, darunter so gut wie alles was der Hersteller produziert hat. ;)
    :!: ich beantworte grundsätzlich keine Fragen per persönlicher Nachricht:!:

  • Regarding Coap/ CoIoT: Have you tried to configure the Dimmer using Unicast instead of Multicast?

    pasted-from-clipboard.png

    Also: there's absolutely no need for both MQTT and CoIoT. I'd recommend to use either CoIoT OR MQTT, not both at the same time.

    Note: after changing those settings the Shelly need a Reboot.

    Yes, I used excact Home Assistant address and port. I tried only MQTT and only ColoT and both together. What's interesting is that other shelly's including Dimmer 2-s are working with the excact same configutation.

    Why aren't there any information about ColoT in debug log? I can only see that device cannot connect to Mosquitto (MQTT0 TCP connect error (-8)). As there are no log entries from Mosquito side, I suspect that outgoing connections don't work. Except the web UI, which seems to work.

    I'm supecting some defect on the device. I'll have few more dimmers waiting for to be installed and I try another unit. Probably would try some older firmware before that just to be sure.

    EDIT: Just to add, i tried factory reset as well.

  • Dieses Thema enthält 3 weitere Beiträge, die nur für registrierte Benutzer sichtbar sind, bitte registrieren Sie sich oder melden Sie sich an um diese lesen zu können.