fablab-luenen / McLighting

The ESP8266 based multi-client lighting gadget
MIT License
218 stars 30 forks source link

IP address output #39

Closed viktor6 closed 5 years ago

viktor6 commented 5 years ago

Draw the IP address that the wi-fi detected in Mqtt This is necessary for the ripening of a smart home in a smart home

bpohvoodoo commented 5 years ago

Can you please explain exactly what you mean?

viktor6 commented 5 years ago

To display information about IP address in this topic home/McLighting1_ha/state/out for example {"state": "ON","ip": "192.168.2.123","color": {"r": 255,"g": 0,"b": 0,"w": 0,"r2": 0,"g2": 255,"b2": 0,"w2": 0,"r3": 0,"g3": 0,"b3": 255,"w3": 0},"brightness": 200,"color_temp": 327,"speed": 60,"effect": "AUTO"}

bpohvoodoo commented 5 years ago

I do not see why you should need this.

viktor6 commented 5 years ago

It’s hard to explain, but believe me, this is useful for others.

viktor6 commented 5 years ago

IP definition does not work { "state" : "ON", "ip" : true, "color" : { "r" : 255, "g" : 0, "b" : 0, "w" : 0, "r2" : 0, "g2" : 255, "b2" : 0, "w2" : 0, "r3" : 0, "g3" : 0, "b3" : 255, "w3" : 0 }, "brightness" : 126, "color_temp" : 327, "speed" : 122, "effect" : "Color Wipe" }

bpohvoodoo commented 5 years ago

I will have a look

viktor6 commented 5 years ago

Everything is working