BazaJayGee66 / homeassistant_cololight

Custom component to support Cololight in Home-Assistant
MIT License
47 stars 6 forks source link

Build a similar plugin for Hubitat #14

Closed trevalex-smax closed 2 years ago

trevalex-smax commented 3 years ago

Hi Stumbled across your project And have done some research into sending UDP Getting there..

But any tips on building a plugin for Hubitat https://docs.hubitat.com/index.php?title=Developer_Documentation

I am thinking is 'should be possible' but I don't have Home Assistant setup

Thanks in Advance..

BazaJayGee66 commented 3 years ago

Interesting, I hadn't heard much about Habitat.

I had a look through the doc for Habitat, but couldn't understand how an app could be built sorry. I wonder if the Raw Socket Interface is something that could be used?

All the code related to sending commands to the ColoLight device are here, this is what HA calls to operate the device. The PyCololight class calculates the hex value to send to the device. The tests might help with understanding the code.

This blog is what got me going to understanding the commands.

Hope this helps!

trevalex-smax commented 3 years ago

Thanks its Hubitat .. buts that's just a typo.. now need to find time :)

BazaJayGee66 commented 3 years ago

Interested to hear how you go.

If you ever do get something working that others can use, happy to provide a link to you work in the README.

trevalex-smax commented 3 years ago

Cool thanks. Hubitat has advantages over HA from what I was reading and HA being much more developer focused. But Hubitat has quite a big developer network and it works with both Zigbee, and Zwave and you can link it to Google / Alexa pretty easily,

I have some reservations on its rather clunky rules engine.. but that allows none developers to create rules easily.

BazaJayGee66 commented 2 years ago

Closing due to inactivity on issue