Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE] MQTT works only one way #157

Open
Aixx1 opened this issue Sep 29, 2024 · 1 comment
Open

[ISSUE] MQTT works only one way #157

Aixx1 opened this issue Sep 29, 2024 · 1 comment

Comments

@Aixx1
Copy link

Aixx1 commented Sep 29, 2024

Describe the bug
My device is successfully passing on its sensor data to HA, but HA cannot communicate to the Device.
I can see the messages going through in MQTT Explorer though.

To Reproduce
Action I used:

action: mqtt.publish
data:
  qos: "1"
  payload: "{\"wake\": true, \"wakeTime\": 180}"
  topic: wallpanel/mywallpanel
  evaluate_payload: true
  retain: false

I tried also with payload: '{"wake": true, "wakeTime": 180}', also with different commands like 'brightness' etc. Tried 'topic: wallpanel/mywallpanel', 'topic: wallpanel/mywallpanel/', 'topic: wallpanel/mywallpanel/wake' etc. but the phone doesn't wake up. Tried mostly while the screensaver was active, but also while screen turned off from the power button.

Smartphone:

  • Device: Xiaomi Redmi A1
  • OS: Android 12 (Go Edition)
  • Application version 0.12.0 Build 0
@Aixx1 Aixx1 changed the title [BUG] [ISSUE] MQTT works only one way Sep 29, 2024
@dave-elkan
Copy link

I struggled with this too. You need to use the topic wallpanel/mywallpanel/command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants