SamZorSec / Arilux_AL-LC0X

Alternative firmware for Arilux AL-LC0X LED controllers, based on the MQTT protocol and a TLS connection
MIT License
190 stars 33 forks source link

Initial support for Home Assistant MQTT discovery #7

Closed robbiet480 closed 7 years ago

robbiet480 commented 7 years ago

This adds support for the new Home Assistant MQTT discovery feature which allows configuration of an MQTT device entirely via MQTT. For some reason, this isn't currently working. It works when only name and state_topic are put into the JSON payload but will silently break otherwise. Will need to investigate further. If someone else can figure out what's wrong let me know in the comments!

robbiet480 commented 7 years ago

Figured it out, setting MQTT_MAX_PACKET_SIZE in our code doesn't work, you have to change it in the library itself.