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

MQTT light control by Hue Essential Android App #23

Open
DaOliver86 opened this issue Nov 13, 2020 · 0 comments
Open

MQTT light control by Hue Essential Android App #23

DaOliver86 opened this issue Nov 13, 2020 · 0 comments

Comments

@DaOliver86
Copy link

Hello everybody,

I would like to control my Moodlite panels via Hue App. For this, the DIYHUE project (https://github.com/diyhue/diyHue)
enables adding MQTT controlled lights - I opend up a topic there as well (diyhue/diyHue#497).

I managed to pair my Moodlite with the DIYHUE and it showes up in the Android App. Unfortunately, the required payloads
differ from the payloads sent by DIYHUE.
The Moodlite project contains the MQTT folder, but I can not find any documentation on this on. The main problem at
this point is, that I am not able to change the payload required for turning the light on/off, change colour, speed, pattern and so on in Moodlite and not in DIYHUE.
Where are the inputs for the SET topics in the Moodlite projects defined?
DIYHUE is sending following payloads when:
Turning On: {"transition": 0.3, "state": "ON"}
Turning Off: {"transition": 0.3, "state": "OFF"}
Changing color: {"transition": 0.3, "color": {"r": 0, "g": 45, "b": 35}}
Changing brithness: {"transition": 0.3, "brightness": 65}

Maybe somebody can give me a hint on how to costumize the required MQTT inputs to make this work.

Thank you everbody!

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