Shelly Button1, MQTT & HomeAssistant

  • I have a shelly button 1. I want to integrate it with Home Assistant. For that, I installed Mosquitto broker on Home Assistant.

    When entering the MQTT details on the configuraiton page of the button I use the config: IP:1883. I enter the login and the password.

    While the Shelly button has been recognized by HomeAssistant, it's like MQTT integration does not work. I enabled the debug log and discovered this:

    Code
    21305476 mgos_mqtt_conn.c:472    MQTT0 connecting to 192.168.1.201:1883
    21713224 mgos_http_server.c:180  0x3fff1d64 HTTP connection from 192.168.1.23:54681
    22175995 button.c:579            0x00 wup 0x00 batt 4.03V (1043) S 0 usb 0
    22205207 mgos_http_server.c:180  0x3fff1e1c HTTP connection from 192.168.1.23:54644
    24411212 json.c:426              RAM: 52456 total, 38968 free
    27393956 mgos_http_server.c:180  0x3fff1f9c HTTP connection from 192.168.1.23:54645
    27619736 mgos_mqtt_conn.c:230    MQTT0 TCP connect error (-8)
    27624780 mgos_mqtt_conn.c:257    MQTT0 Disconnect
    27630647 mgos_mqtt_conn.c:551    MQTT0 connecting after 7885 ms
  • 66er 18. September 2022 um 06:32

    Hat den Titel des Themas von „Shelly button, MQTT & HomeAssistant“ zu „Shelly Button1, MQTT & HomeAssistant“ geändert.