- Sun Nov 01, 2015 9:02 pm
#32800
This seems like a brilliant project!
I tried this for my first ever ESP8266 test drive, and although I got pretty far, I am stuck trying to connect the client app. I have tried a bunch in the android play store none of which worked, and have even tried the Chroma OSX app with no joy. When Chroma tries to connect I get this repeated on serial monitor:
[code
]===
277930
requestedUri: /api/136IS5cwW9yG3yib
Running rgb2hsb
1.: H, S, B
2.: Convert to hue, sat, bri
Running rgb2hsb
1.: H, S, B
2.: Convert to hue, sat, bri
Running rgb2hsb
1.: H, S, B
2.: Convert to hue, sat, bri
Running rgb2hsb
1.: H, S, B
2.: Convert to hue, sat, bri
Running rgb2hsb
1.: H, S, B
2.: Convert to hue, sat, bri
Running rgb2hsb
1.: H, S, B
2.: Convert to hue, sat, bri
Running rgb2hsb
1.: H, S, B
2.: Convert to hue, sat, bri
Running rgb2hsb
1.: H, S, B
2.: Convert to hue, sat, bri
277953
{"groups":{},"scenes":{},"config":{"name":"hue emulator","swversion":"0.1","mac":"18:FE:34:DA:BD:4C","dhcp":true,"ipaddress":"192.168.2.109","netmask":"255.255.255.0","gateway":"192.168.2.1","whitelist":{"api":{"name":"clientname#devicename"}},"swupdate":{"text":"","notify":false,"updatestate":0,"url":""}},"lights":{"1":{"type":"Extended color light","name":"Hue LightStrips 1","modelid":"LST001","state":{"on":false,"hue":0.00000,"bri":253.00000,"sat":0.00000,"xy":[0.00000,0.00000],"ct":500,"alert":"none","effect":"none","colormode":"hs","reachable":true}},"2":{"type":"Extended color light","name":"Hue LightStrips 2","modelid":"LST001","state":{"on":false,"hue":0.00000,"bri":253.00000,"sat":0.00000,"xy":[0.00000,0.00000],"ct":500,"alert":"none","effect":"none","colormode":"hs","reachable":true}},"3":{"type":"Extended color light","name":"Hue LightStrips 3","modelid":"LST001","state":{"on":false,"hue":0.00000,"bri":253.00000,"sat":0.00000,"xy":[0.00000,0.00000],"ct":500,"alert":"none","effect":"none","colormode":"hs","reachable":true}},"4":{"type":"Extended color light","name":"Hue LightStrips 4","modelid":"LST001","state":{"on":false,"hue":0.00000,"bri":253.00000,"sat":0.00000,"xy":[0.00000,0.00000],"ct":500,"alert":"none","effect":"none","colormode":"hs","reachable":true}},"5":{"type":"Extended color light","name":"Hue LightStrips 5","modelid":"LST001","state":{"on":false,"hue":0.00000,"bri":253.00000,"sat":0.00000,"xy":[0.00000,0.00000],"ct":500,"alert":"none","effect":"none","colormode":"hs","reachable":true}},"6":{"type":"Extended color light","name":"Hue LightStrips 6","modelid":"LST001","state":{"on":false,"hue":0.00000,"bri":253.00000,"sat":0.00000,"xy":[0.00000,0.00000],"ct":500,"alert":"none","effect":"none","colormode":"hs","reachable":true}},"7":{"type":"Extended color light","name":"Hue LightStrips 7","modelid":"LST001","state":{"on":false,"hue":0.00000,"bri":253.00000,"sat":0.00000,"xy":[0.00000,0.00000],"ct":500,"alert":"none","effect":"none","colormode":"hs","reachable":true}},"8":{"type":"Extended
278152
[/code]
I can also ping the module (and it stops responding to pings for a handful of seconds when reset). So clearly I have it on the net and the clients are triggering some kind of response. If I close the Chroma app, the serial monitor goes silent.
Can you give a hint as how to connect the client and control some lights? Thanks!