No events arriving via MQTT

  • Dear,

    I am using MQTT to get status changes of my Shelly switches.

    Using MQTT explorer you can see that my MQTT broker is working fine:

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

    I have now installed a new switch, but it doesn't publish any messages via MQTT when the status of the switch is changed.

    The MQTT settings in my Shelly user interface are identical to all my other Shelly switches.

    I also tried to (temporarily) enable the debug log, but when the status changes no log is being displayed when I try to display it.

    Summarized: no messages are being published when the switch status changes, and also not periodically...

    Does anybody has tips how I can troubleshoot this further?

    Thanks!!!

    Bart

  • please show us a screenshot of your MQTT settings in the not working Shelly.

  • Hi Stefan,

    Thanks for joining! Here are my settings:

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


    So currently no username/password, until everything works fine. First I had no custom prefix, but that mad no difference. The different values of Max Qos also didn't help.
  • I had yesterday upgraded the firmware to the latest:

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

    And I see via MQTT explorer that I have recent data from my other Shellies, so my MQTT broker must be working fine:

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


    It now pops up in my mind that there are two differences with my other Shellies:

    1) This non-working one is my first Shelly 1 switch (while the others are type Shelly plug S).

    2) My wiring of the Shelly switch is not completed yet, so I had tested this by pushing the button in the web interface:

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

    I assume this button will also result via a message over MQTT, since the relay state is changing? Because the relay is activated when I use this button...

  • Dieses Thema enthält 2 weitere Beiträge, die nur für registrierte Benutzer sichtbar sind.