I usually turn off my wifi if i don't need it (e.g over night).
I have a 433mhz Remote and a 433mhz receiver lying around and want to use them for turning the wifi on/off. If I click the off button on the remote, it sends a signal to the Pi which should trigger the script.
The script must do following things:
- Open the Webpage for the Router webinterface
- Type in the Username and Password and click login
- Go to the Wifi tab and click Wifi off button
- Click submit and then log out of the webinterface
Can i do this with a python or bash script, If yes how?
Thanks for your help.
-Luke
Aucun commentaire:
Enregistrer un commentaire