Closed Aadityajoshi151 closed 1 year ago
Hi @Aadityajoshi151 ! Thanks for the nice note and please do share any scripts you think others will find helpful. Some answers:
Hi @jasonacox Thank you for your reply. I guess for now I'll just uninstall the app but keep the cloud project in case I have to re-pair it in future. Regarding the script that I mentioned, I am writing just a simple script to start laptop charging (turn plug on) if battery percent is below certain level and stop charging (turn plug off) once it is above certain percent.
It might be slightly off-place here but nonetheless, I will still share it here and close the issue. Thank You.
As promised, I have completed my script. I know it's very basic but just sharing it here just in case you or someone else needs it. https://github.com/Aadityajoshi151/Auto-Laptop-Charging Again, thank you for your help. Closing this issue for now. (It was never was an "issue")
Nice job @Aadityajoshi151 ! Thanks for sharing.
Hi @jasonacox I recently purchased a smart plug and for controlling it through python, I am using your library. I followed the steps mentioned, got the local key and everything is working as expected. I had a couple of questions that I think you can answer:
**1. Would the local key and device id change if I connect my plug to a different network? (just like IP address changes) or would it be constant no matter where I go?
I also thank you for creating this library which is useful to me. I might post the my completed script that I am working on here once its done. Thank You