doudz / homeassistant-zigate

zigate component for Home Assistant
MIT License
48 stars 15 forks source link

OSRAM smartplug not pairing #17

Closed jalme closed 5 years ago

jalme commented 5 years ago

Hi,

After pluging the OSRAM plug and calling permit join it will not pair to pair to ZiGate.

Is there any other step that I need to execute?

Thanks, João

doudz commented 5 years ago

Could you provide some log ?

jalme commented 5 years ago

Sure.

2018-12-20 11:32:49 DEBUG (SyncWorker_2) [zigate] REQUEST : 0x0049 FFFC1E00
2018-12-20 11:32:49 DEBUG (SyncWorker_2) [zigate] Msg to send b'0049000450fffc1e00'
2018-12-20 11:32:49 DEBUG (SyncWorker_2) [zigate] Encoded Msg to send b'010210490210021450fffc1e021003'
2018-12-20 11:32:49 DEBUG (SyncWorker_2) [zigate] Waiting for status message for command 0x0049
2018-12-20 11:32:49 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-20 11:32:49 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'001c0049'
2018-12-20 11:32:49 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:28, packet_type:73, error:b'', rssi:0
2018-12-20 11:32:49 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-20 11:32:49 DEBUG (SyncWorker_2) [zigate] STATUS code to command 0x0049:0

That is the reply to the request for pairing.

I then press the plug button for 10 seconds and it will turn off and then on but nothing else is reported on log.

doudz commented 5 years ago

According to https://zigate.fr/osram-lightify-prise-pilotee/ you should press the button for 5 seconds

After that you should see a device announce (RESPONSE 0x004D)

jalme commented 5 years ago

Ok got it to work it by paring it closer to ZiGate.

Do you know if this Osram smartplugs will act as extenders so hopefully I can cover my entire house?

doudz commented 5 years ago

Do you know if this Osram smartplugs will act as extenders so hopefully I can cover my entire house?

Really don't know, bulbs and plugs often act as router but I can't confirm