Has anyone used esp8266 to control Hue lights

Discussion about the ZBasic language including the System Library. If you're not sure where to post your message, do it here. However, do not make test posts here; that's the purpose of the Sandbox.
Post Reply
FFMan
Posts: 502
Joined: 09 January 2010, 12:52 PM

Has anyone used esp8266 to control Hue lights

Post 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 ?
pdubinsky
Posts: 70
Joined: 24 November 2005, 18:19 PM
Location: South Carolina
Contact:

Post 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
FFMan
Posts: 502
Joined: 09 January 2010, 12:52 PM

Post 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
pdubinsky
Posts: 70
Joined: 24 November 2005, 18:19 PM
Location: South Carolina
Contact:

Post 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
Post Reply