Page 1 of 1

Has anyone used esp8266 to control Hue lights

Posted: 11 December 2019, 2:09 AM
by FFMan
Should be straightforward enough as Hue bridge is a simple webserver and Hue is controlled via json commands.

Just wondered if anyone has done it ?

Posted: 11 December 2019, 3:57 AM
by pdubinsky
This project used an Wemos Mini esp8266 and a python library that made the esp8266 appear to Alexa as a Hue controller. This project is probably far from what you want but it may provide a starting point for you.

https://www.instructables.com/id/Alexa- ... er-for-25/

P

Posted: 11 December 2019, 4:09 AM
by FFMan
that is interesting and i'll read and digest. More Alexa focussed but i might do that later also.

I found this which covers a lot.

https://www.makeuseof.com/tag/control-p ... on-sensor/

i could either convert the principals to zbasic on esp8266 using the TCPClient example as a starting point, or use the arduino code as it stands as a basis

Posted: 11 December 2019, 4:25 AM
by pdubinsky
The Wemos is programmed using the Arduino programming suite so it shouldn't be too much to use the code you found on the Wemos for your project.

P