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

Ability to read the power usage? #104

Open
GenerallyClumsy opened this issue Jan 12, 2024 · 1 comment
Open

Ability to read the power usage? #104

GenerallyClumsy opened this issue Jan 12, 2024 · 1 comment

Comments

@GenerallyClumsy
Copy link

Is there any way to use this script to read the current power usage? I've got a KP115 and would like to turn off the switch when power usage drops below a threshold.

@grayerbeard
Copy link

grayerbeard commented Jan 13, 2024

I have written Python scripts that do all sorts of control actions over WiFi using tplink and Tuya devices. Some persistence is needed to crawl up the learning curve but it can be done.

You can see my efforts on my GitHub repository. I run these scripts on R Pi 3 or 4 but they could run on an R Pi Zero W and could be tested or run on a PC.

I suggest you start by running on a PC as it can be easier.

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