QuentinCG / Milight-Wifi-Bridge-3.0-Python-Library

[Done] Milight 3.0 python library (LimitlessLED Wifi Bridge v6.0): Control milight wireless lights with wifi (Python and shell library, multi-platform)
MIT License
16 stars 7 forks source link

What can I check ? #6

Closed howi42 closed 4 years ago

howi42 commented 4 years ago

I am using an Ibox2, it works fine from the app.

Through a PC I get this 👍 ` pi@raspberrypi:~ $ python3 MilightWifiBridge.py --ip 10.0.0.50 --zone 1 --turnOff Ip: 10.0.0.50 Zone: 1 Timeout: 5.0 Port: 5987 DEBUG:root:UDP connection initialized with ip 10.0.0.50 and port 5987 DEBUG:root:Milight bridge connection initialized with ip 10.0.0.50:5987 : True DEBUG:root:Sending frame 'b'200000001602623ad5eda301ae082d466141a7f6dcafd3e600001e'' to 10.0.0.50:5987 DEBUG:root:Start session (mac address: f0:fe:6b:72:b8:fa, session ID 1: 9, session ID 2: 0) DEBUG:root:Sending request with command 'b'310000080402000000'' with session ID 1 '9', session ID 2 '0' and sequence number '1' DEBUG:root:Received valid response for previously sent request DEBUG:root:Turn off zone 1: True Turn off zone 1: True

` From what I can see, that looks good.

But no result !

Is there more I can check ?

QuentinCG commented 4 years ago

Your output means the PC can communicate with the bridge.

I'm pretty sure the "link" is not the same between your app and the pc... I got this issue on some bridge.... Please try to also link the bridge with your pc (light on the bulbs max 3sec before calling this command): python3 MilightWifiBridge.py --ip 10.0.0.50 --zone 1 --link

howi42 commented 4 years ago

Thanks a lot, I forgot this.

On Fri, Sep 25, 2020, 15:06 Quentin Comte-Gaz notifications@github.com wrote:

I'm pretty sure the "link" is not the same between the app and the pc... I got this issue on some bridge.... Please try to link the bridge with your pc: python3 MilightWifiBridge.py --ip 10.0.0.50 --zone 1 --link

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/QuentinCG/Milight-Wifi-Bridge-3.0-Python-Library/issues/6#issuecomment-698917332, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACC3MNGTSAVDMHZONKEND6DSHSIWLANCNFSM4RZJIJEA .