You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Urko 857aec79e3
fix: remove test line
2 weeks ago
cfg feat: add missing Bin on config 3 weeks ago
internal/switcher fix bug missing " 2 weeks ago
pkg/switcher feat: refactor code 2 weeks ago
.gitignore fix: load .env file when ENV is not prod 3 weeks ago
LICENSE feat: add license 3 weeks ago
Makefile feat: add build for raspi 2 weeks ago
README.md feat: add README 3 weeks ago
go.mod feat: init repo 3 weeks ago
go.sum feat: init repo 3 weeks ago
main.go fix: remove test line 2 weeks ago

README.md

go-wifi-switcher

Huawei B2368-66

This software will turn wifi on/off based on current state.

Example: If wifi is on then it will turn off.

How does it works

It uses web-scrapping thanks to amazing go-rod web scrapper

How to use

You must build it using the go build command that better fits with the OS where this software will be consumed.

I'm using it on debian OS so I've created some build commands inside Makefile

You can build and copy into your OS in /usr/local/bin for example, then create a cron task to automatically run this binary.

Result

You can configure to switch off during night and on at morning. So you can get free of radiation while you sleep and don't have to manually switch on :)

How to install and how to use

TODO

Tests

TODO