ameyuuno / docker-unifi-led-light-switch

Tool for automatic switching on/off LED of UDM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integration Home-Assistant with light / switch for LED of APs

thundergreen opened this issue · comments

Hello I came accross your nice project and was wonderig if it might bepossible to make a custom component for Home-Assistant with light switch? Wanna use this to turn on /ff and change color in my automations :)

Hi @thundergreen !

I'm glad to see you found my project interesting! (^_^)
Unfortunately I do not use Home Assistant and its "ecosystem" so I do not know how to integrate this in Home Assistant.

Maybe next week I will read about Home Assistant plugin development and try to create it. If this is solved by the presence of several configuration files, then I will add it to this project. Otherwise, it would be more logical to create a separate project for the plugin. Or... maybe not ¯\(ツ)/¯ ))

AFAIK changing color of UDM's LED is impossible via API T_T only turning on/off

fair enough! i actually use this https://github.com/nickovs/unificontrol which works really good. and it's implemented into home assistant. so if you still want to develope something maybe u can have a look at this repo or just leave it behind :) But anyway thanks for your response

Thanks for this link!
Maybe I will use it to do more automations with my UDM, but for this project - I think python library is overkill))) curl is enough to switch LED >~< But anyway - library is nice, I need to read more about it.