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

Brightness lost in MQTT client when turning lights of using the Dirigera/Home Smart IKEA app #100

Open
Johboh opened this issue Dec 21, 2023 · 0 comments

Comments

@Johboh
Copy link
Contributor

Johboh commented Dec 21, 2023

Hi!

When turning a light off and on again using the app, the brightness is not reported on MQTT. To reproduce:

0a. Make sure to have some lights with brightness support connected to the Dirigera hub and then run dirigera-client-mqtt.
0b. Verify that the lights show up with color_mode: true and supported_color_modes: ['brightness']

  1. Using the Dirigera/Home Smart IKEA app, turn on a light and set brightness to 50%. Notice that the state is set to {"brightness": 50, "color": {} }
  2. Turn off the light using the app, the state is now: {"state": "OFF", "color": {} }
  3. Turn o the light again using the app: {"state": "ON", "color": {} }

The light is at 50% brightness, as the app will set the lamp to the latest brightness when turning on again, but the brightness is not reported in MQTT. Expected the brightness to be reported (as 50) when turning on the light again.

Lemme know if you want me to include some logs or test something and I will gladly do so.

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

1 participant