/nico

send air qaulity status to discord.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

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