Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON Request for Requesting current data from SmartPlug #25

Open
Idefix0496 opened this issue May 20, 2020 · 3 comments
Open

JSON Request for Requesting current data from SmartPlug #25

Idefix0496 opened this issue May 20, 2020 · 3 comments

Comments

@Idefix0496
Copy link

Hi,
I would really like to know how on Earth I can Request the Current Values (Voltage, Current, etc.) from my SmartPlug. In node Red the Plug is configured and working but I'm only getting real time Values if I have the App open. With {"set":true, "dps": 1} and {"set":false, "dps": 1} I can switch the Plug On an Off.
So my question is what the JSON Request for Requesting all or just a particular set of Data looks like.

@subzero79
Copy link
Owner

Not all smart plugs report power usage. If is not coming out on normal usage when is on and on load I think it doesn’t have capability.

@Idefix0496
Copy link
Author

Idefix0496 commented May 20, 2020

Hi,
thanks for the fast Reply. The PowerPlug is perfectly capable of Measuring these Values. As I have stated earlier, If I have the App open and the Powermeter of the SmartPlug selected, NodeRed is Displaying all the Data under Payload in the Debug Screen.
My Problem is to How to Request these messages manually.

EDIT: I've fidlled around with Commands like "get" and "schema" but I'm always getting a JSON Error in the Injection Node.

@subzero79
Copy link
Owner

If i am not mistaken just sent a payload with a string "request".

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

No branches or pull requests

2 participants