Nico
send air qaulity status to discord.
Installation
install the requirements
python -m pip install -r requirements.txt
make a secrets.json
file with in main.py dir
then put your configs in it.
{
"TOKEN": "your-api.waqi.info-token",
"WEBHOOKS": []
}
next move the services into /etc/systemd/system/
like this:
mv services/* /etc/systemd/system/
modify your nico.service file and your are good to go.
systemctl start nico.timer
systemctl enable nico.timer