adrilight icon indicating copy to clipboard operation
adrilight copied to clipboard

MQTT integration

Open fabsenet opened this issue 4 years ago • 8 comments

possible feature?

Also possibly direct homeassistant integration?

fabsenet avatar Jul 28 '20 19:07 fabsenet

https://www.home-assistant.io/docs/mqtt/discovery/

fabsenet avatar Jul 28 '20 19:07 fabsenet

Yes, MQTT would be really nice!

murmelbahn avatar Aug 01 '20 15:08 murmelbahn

@murmelbahn can you tell me more about what you would expect from an mqtt integration?

fabsenet avatar Aug 01 '20 21:08 fabsenet

Hi, the best I can imagine is a Home Assistant integration with the same features as WLED. Pick a color, pick an effect and controll brightness.

murmelbahn avatar Aug 03 '20 12:08 murmelbahn

Oh yes, sounds pretty nice.

Maerchensarg avatar Aug 16 '20 10:08 Maerchensarg

Hi, has someone made any progress on this? I was looking for a way to use wireless communication instead of USB. Maybe with a wifi module on the arduino and mqtt communication on the local network. Any hint on where to start in order to add this feature (i'm new to C#). Thanks!

ark-sys avatar Feb 23 '21 08:02 ark-sys

Hi! I this issue is more about integrating adrilight in a smarthome environment and not about controlling the actual leds over wifi.

I had an idea for controlling the leds over wifi since forever but sadly I have too many other things in my life right now. My starting point would be to use an esp with wled firmware on it connected to the leds. Then teach adrilight to talk to wled with some of the faster udp options. Timing is absolutely critically for a good experience. Mqtt is too slow for this. Even this approach needs to be tested if it is fast enough.

fabsenet avatar Feb 23 '21 09:02 fabsenet

Ok thanks, I'll check on that. For mqtt i was thinking to create a topic for each led and thus update the status on each topic independently, but i agree that it may create some latency. I'll try to do some testing on my own and i'll let you know if something works

ark-sys avatar Feb 23 '21 09:02 ark-sys