Search found 3 matches

by Tamanar
Tuesday 17 March 2020 20:33
Forum: Switches and Scenes
Topic: RGB switch and Lua script
Replies: 4
Views: 1927

Re: RGB switch and Lua script

Hi! it returns a JSON like {"b":0,"cw":255,"g":0,"m":2,"r":0,"t":160,"ww":255} Well i get what you said, but i can't access to each individual color. (i'am more than a beginner on Dzevent and Json) and what is the equivalent for commandArray['OpenURL']=runcommand; Or how can i send an http request ...
by Tamanar
Tuesday 17 March 2020 9:21
Forum: Switches and Scenes
Topic: RGB switch and Lua script
Replies: 4
Views: 1927

Re: RGB switch and Lua script

Quick update.
When i triggered my script on device i only got one error:
2020-03-17 09:19:19.480 Error: Error opening url: http://192.168.0.32/gpio?id=20&etat=88&token=123abCde

So i delete one of the two error \o/

But i still can't access to the data i need...
by Tamanar
Monday 16 March 2020 13:25
Forum: Switches and Scenes
Topic: RGB switch and Lua script
Replies: 4
Views: 1927

RGB switch and Lua script

Hi! I want to use an wemos d1 mini as a master and an arduino as slave to make a clock. The clock use an RGB strip led (ws2812b). I only need to send information to the arduino with a serial liason. (because I already a code with bluetooth) Because of that i have to program myself the wemos and not ...