-
Notifications
You must be signed in to change notification settings - Fork 25
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
[Feature Request] Turn off charging when batt hits 95% #4
Comments
Jay Fornow on on Facebook says: The amount of minutes to set in timer = (Y - Z) x 22.5 seconds /60 seconds Y=Desired Percentage For example: If I want to stop charging the battery at 96% and current charge is 40%. (96-40)x 22.5/60= 21 minutes |
Looks like we can connect to Kasa via IFTTT.com, too bad Kasa can't just take an intent |
Hmm also the protocol used for the smart plug been reversed engineered https://github.com/softScheck/tplink-smartplug/blob/master/tddp-client/tddp-client.py - so there is the possibility of adding a shared preference option of "if battery level gets to 100% tell smart plug at 192.168.86.20 to turn off". That being said, connecting into IFTTT would open it up to their services and broader triggers etc. Might be a bit of work to getting the OW app added as a "service", a workflow that would work would be creating a custom notification of battery % and use the IFTTT "android device" service & "Notification received from a specific app" -> "Filter by notification keyword". |
via Kasa (TP-Link) or ?
The text was updated successfully, but these errors were encountered: