Skip to content

Broadlink WiFi plug automation repository for laptop charging

Notifications You must be signed in to change notification settings

enderbas/autoplug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Broadlink WiFi Plug PC Charge Automation

Repo contains two script file:

  • autoplug.py script controls wifi plug according to battery charge rate. Closes plug when the rate is lower than %21 and opens plug when the rate is higher than %85.
  • start-autoplug.vbs is autoplug.py script runner script. You can copy this to windows start applications folder to start this application at start-up.

Requirements

  • Python 3.10 (not tested for different versions)
  • broadlink library for python
    • pip3 install broadlink
  • logging library for python

Note:

  • In autoplug.py file set your wifi name and password for initialiasation. After first run, you can comment this line.
  • If you want to seperate python and starter script locations, you should set 5. line in start-autoplug.vbs file with autoplug.py path.

About

Broadlink WiFi plug automation repository for laptop charging

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages