File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -202,12 +202,16 @@ async def pair_plus_device(self, mac: str) -> bool:
202202
203203 According to https://roheve.wordpress.com/author/roheve/page/2/
204204 The pairing process should look like:
205- 0001 - 0002 ( - 0003) : StickNetworkInfoRequest - StickNetworkInfoResponse - (PlugwiseQueryCirclePlusEndResponse - @SevenW) ,
206- 000A - 0011: StickInitRequest - StickInitResponse,
205+ 0001 - 0002 - 0003: StickNetworkInfoRequest - StickNetworkInfoResponse - NodeSpecificResponse ,
206+ 000A - 0011: StickInitRequest - StickInitShortResponse/ StickInitResponse,
207207 0004 - 0005: CirclePlusConnectRequest - CirclePlusConnectResponse,
208208 the Plus-device will then send a NodeRejoinResponse (0061).
209209
210- Todo(?): Does this need repeating until pairing is successful?
210+ In the first occurrence of this process a 0004 0001 .... message is sent.
211+ A StickInitShortResponse is received indicating the network is offline.
212+ In the second occurrence of this process a 0004 0101 .... message is sent.
213+ Again a StickInitShortResponse is received.
214+ In the third occurrence only 000A is sent and a StickInitResponse indicating the network is online, is received.
211215 """
212216 _LOGGER .debug ("Pair Plus-device with mac: %s" , mac )
213217 if not validate_mac (mac ):
You can’t perform that action at this time.
0 commit comments