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

Need some help #10

Open
larrybell opened this issue Jun 26, 2018 · 6 comments
Open

Need some help #10

larrybell opened this issue Jun 26, 2018 · 6 comments

Comments

@larrybell
Copy link

can you explain how to use an inject node to get the current state of an HS200? for now assume the output is connected to a debug node.

Thank you.

@mental-os
Copy link

Once connected if you inject a string of getInfoEvents the node will ask for them every x ms as specified in it's settings (Event poll interval).

@larrybell
Copy link
Author

When I manually trigger the inject node I don't see anything in the debug window. I set the debug windows to show complete msg.

@larrybell
Copy link
Author

I do see info if I send boolean true or false.

@mental-os
Copy link

Redeploy the flow and inject the string, then wait a few seconds to see the events in the debug tab.
The manual method of doing this is sending a getInfo payload as string.

@larrybell
Copy link
Author

I got the manual method to work. However getInfo seems to turn off the light.

@larrybell
Copy link
Author

nevermind its working as expected. Thank you for your help.

hcebke pushed a commit to hcebke/node-red-contrib-tplink-smarthome that referenced this issue Apr 18, 2020
hcebke pushed a commit to hcebke/node-red-contrib-tplink-smarthome that referenced this issue Apr 18, 2020
Reflected @juggledad bugfix from felixls#10  into the nodes.
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

2 participants