mariusmotea / diyHue

Philips Hue emulator that is able to control multiple types of lights
Other
627 stars 107 forks source link

Device ID in milight configuration #180

Closed francescofact closed 6 years ago

francescofact commented 6 years ago

Where can i find the Device id of my bulbs? I have successfully paired them to my MiLight Hub

mariusmotea commented 6 years ago

Device id is remote id. With milight hub you can emulate any remote id. To pair the bulb you need to put there a remote id (any), the add that id in hue-emulator

francescofact commented 6 years ago

Ok, i paired the bulb with the MiLight bridge v6 pressing link in the app when the bulb turned on. Now i can control it with my MiLight app. to make it appear in the Philips Hue app i went to http://{my_rasp_IP}/milight I wrote my milight hub ip in the first input, than i wrote 0x1234 (used the tip), selected the RGB+CCT, but in the app the bulb is not online.

The v6 hub doesn't use anymore the syntax /gateways/device_id/type/zone, but it use different api based on udp http://www.limitlessled.com/dev/

mariusmotea commented 6 years ago

Milight hub is not reachable from hue emulator,or ip was typed wrong. Try to ping or check the output of the hue emulator script.

francescofact commented 6 years ago

I can ping it from my raspberry and the ip is correct. Are you sure that your software support the v6 protocol? The v6 hub doesn't use anymore the syntax /gateways/device_id/type/zone, but it use different api based on udp http://www.limitlessled.com/dev/

mariusmotea commented 6 years ago

But are you using the milight hub? I believe you are using the official gateway. That is not supported. This is the reason why device id is unknown. If you will use the milight hub for sure you will know it.

francescofact commented 6 years ago

Can you link me the official gateway? I don’t know what are you talking about

Francesco Fattori

Il giorno 22 feb 2018, alle ore 19:32, Motea Marius notifications@github.com ha scritto:

But are you using the milight hub? I believe you are using the official gateway. That is not supported. This is the reason why device id is unknown. If you will use the milight hub for sure you will know it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

mariusmotea commented 6 years ago

This is the supported device https://github.com/sidoh/esp8266_milight_hub

Did you build it?

francescofact commented 6 years ago

oh thanks, i will try to build it. Why you don't support the native udp protocol? it would be a lot easier

mariusmotea commented 6 years ago

Usually to add support for a device i need to have it. For me is not worth to buy any new hardware as i already have smart lights in my entire house. Is not too easy to play with udp protocol also.

francescofact commented 6 years ago

So are these product ok for the built? http://amzn.to/2CeFGqq http://amzn.to/2oqvIc0

mariusmotea commented 6 years ago

Hi,

Must work. Any NRF24L01+ is good. Be aware that these are very cheep and low quality, i spent a few hours to debug the circuit, in the end i found the antenna (removable) worked only when was pressed a little bit.

Marius.

lazerlabs commented 6 years ago

Just to clarify: the only supported way for the BridgeEmulator to communicate with miLights is to build that circuit, right? If I use a milight official wifi hub (i.e. iBox2) it won't work, correct?

mariusmotea commented 6 years ago

True, you need to build that circuit.