Commit Graph

3 Commits

Author SHA1 Message Date
David Haguenauer
61f68c8ea9 Add support for HS105 protocol
Compared to the HS100 and HS110, where messages sent and received
begin with a four-byte header that can be safely ignored (and set to
zero in the existing code), the HS105 mini-plug requires queries to
have a correct length header matching the message length.

This changeset provides such a header when sending queries. We still
ignore the header when receiving responses from the smart plug.
2017-12-29 23:13:44 -05:00
David Haguenauer
953f429f84 Remove trailing whitespace 2017-12-29 23:11:36 -05:00
softScheck GmbH
244b0f9b62 Initial commit 2016-07-28 13:52:52 +02:00