Turn on a plug wifi with this program?
-
Is there a way to know what is the percentage of the laptop battery? I want to make a wifi socket turn on when the laptop battery is at 10%, I want to connect the charger to that socket and when the battery is at 100% it turns off. is this possible with this program? or does anyone know how i could do it?
-
@JAIME-FLORES, I found this batch file that can tell you your remaining battery life:
http://www.robvanderwoude.com/files/battstat_xp.txt
I'm not sure you'd need TRIGGERcmd for this, but you could probably schedule a script to run every minute or so that checks your battery life, then if it's at 10 percent, call an API to turn on the wifi plug.
-
Thank you very much Russ
. I will try it. Have an excellent day -
Hello. Work this integration? Why is the update's?
Thanks -
@SAMUEL-KRAMER-SCHWIDERKE, are you asking if this works?
When I answered @JAIME-FLORES before, I hadn't actually tried it. Just now I tried that script and it didn't work for me. So I'm sorry about that.
I like @JAIME-FLORES's idea - to save electricity by leaving his laptop disconnected from power until the battery gets low.
I found another way to detect your battery laptop's battery charge. You could use Nirsoft's batteryinfoview tool to read your battery's remaining life with a command like this:
batteryinfoview /scomma c:\stuff\battery.txtThen when the battery gets low you could call an IFTTT webhook event that turns your wemo plug on.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login