Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Manual press HS100 button does not send status to debug node (node red) #12

Open
877dev opened this issue May 29, 2019 · 0 comments
Open

Comments

@877dev
Copy link

877dev commented May 29, 2019

Firstly I should say thanks for the nodes!

A question on usage:
I would like that when the manual button on the front of the HS100 smart plug is pressed, that it updates my MQTT server with the state.

I have injected getInfo and getInfoEvents, which I can use to get the states. Is the only way to get the status by injecting getInfoEvents and set it to poll every e.g. 1000ms ?

Actually, I have found that by polling I can use the response as a 'heartbeat' which is pretty handy..

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant