go
Go to file
Urko 0933174ea1 fix bug 2023-07-02 23:28:38 +02:00
cfg feat: add missing Bin on config 2023-03-04 21:56:47 +01:00
internal fix bug 2023-07-02 23:28:38 +02:00
pkg/provider feat: handle multiple providers 2023-06-02 03:24:12 +02:00
.gitignore fix: load .env file when ENV is not prod 2023-03-02 18:39:53 +01:00
LICENSE feat: add license 2023-03-01 22:38:21 +01:00
Makefile feat: add build for raspi 2023-03-07 23:07:29 +01:00
README.md feat: add README 2023-03-04 22:00:30 +01:00
go.mod feat: init repo 2023-03-01 22:23:04 +01:00
go.sum feat: init repo 2023-03-01 22:23:04 +01:00
main.go feat add log date 2023-07-02 23:13:30 +02:00

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