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]

  • update firmware to the latest Version, Dimmer2 works absolutely fine with HomeAssistant

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

  • As said in original post, I have the latest.

    “Current version: 20211109-131033/v1.11.7-g682a0db 

    You have latest version on your device!”


    Also every other shelly is working.

    Einmal editiert, zuletzt von martinarva (20. Dezember 2021 um 08:50)

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

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.


    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?

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.


    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.