softScheck / tplink-smartplug

TP-Link WiFi SmartPlug Client and Wireshark Dissector
Apache License 2.0
1.14k stars 296 forks source link

Latest Firmware changes 4 byte prefix #44

Closed mkillock closed 6 years ago

mkillock commented 6 years ago

I bought a H110 UK version plug, ran the firmware update and discovered this no longer works. However, after running a packet capture on my phone, I can see that the four byte prefix is no longer

0x00 0x00 0x00 0x00

but

0x00 0x00 0x00 0x2a

And making that change to the encode function of this https://github.com/EgoManiac/TPlink-PoSH

made it work again.

softScheck commented 6 years ago

Thank you. Implemented this in the current version of the Python script.