TheTimeWalker / wallpanel-android

WallPanel is an Android application for Web Based Dashboards and Home Automation Platforms
https://wallpanel.xyz
Apache License 2.0
418 stars 43 forks source link

[BUG] MQTT Requests Not Working #147

Closed janstadt closed 3 weeks ago

janstadt commented 3 weeks ago

Describe the bug I have properly configured my MQTT broker in wallpanel (i can see the requests from the device in mqtt explorer) but the device is not reacting to the requests. To Reproduce Steps to reproduce the behavior:

  1. Publish MQTT request from HA:
            hold_action:
              action: perform-action
              perform_action: mqtt.publish
              data:
                qos: 0
                retain: false
                topic: wallpanel/parents-tablet/command
                payload: |-
                  {
                    'brightness': 1
                  }
            tap_action:
              action: perform-action
              perform_action: mqtt.publish
              data:
                qos: 0
                retain: false
                topic: wallpanel/parents-tablet/command
                payload: |-
                  {
                    'brightness': 255
                  }
  2. Device does not respond to brightness command.

Smartphone (please complete the following information):

janstadt commented 3 weeks ago

figured this out. I thought the clientId was being injected into the base topic but it wasnt. Updating my base topic to wallpanel/parents-tablet and wallpanel is reacting to the updates now.