Device doesn’t accept to set MQTT via http api

VPN/Proxy erkannt

Es scheint, dass Sie einen VPN- oder Proxy-Dienst verwenden. Bitte beachten Sie, dass die Nutzung eines solchen Dienstes die Funktionalität dieser Webseite einschränken kann.

  • Sending MQTT service setup via http api

    Device response to call 404 not found

    Call tested with various number of different devices and it does work with them, but not with motion

    http://192.168.33.1/settings/mqtt?mqtt_enable=1&mqtt_server=[srv-ip]:1883&mqtt_user=[mqtt-user]&mqtt_pass=[mqtt-pass]&mqtt_id={shelly_name}

    No matter if device IP is set or firmware is updated to latest (tested with beta also)

    Einmal editiert, zuletzt von -Teme- (20. Mai 2022 um 20:03)

  • Forgot to add answer how to got this work. I had an incorrect string, but it did work for other models.

    Code
    http://192.168.33.1/settings?mqtt_enable=1&mqtt_server=192.168.x.x:1883&mqtt_user=[mqtt-username]&mqtt_pass=[mqtt-password]&mqtt_id={shelly_device_name}

    Einmal editiert, zuletzt von Gast10 (21. Juni 2022 um 09:58) aus folgendem Grund: Code in Codetag gesetzt