Monitoring and alerting for your RaspberryPi
Project description
raspimonitor
Monitoring and alerting to your Discord server for your RaspberryPi
Installation
You will need to set up a Discord server and webhook, see how here. After that, proceed to install the package in your raspberry:
pip3 install raspimonitor
Usage
Direct usage
# raspimonitor YOURHOOKHERE THRESHOLD_TEMP_IN_CELSIUS
# Example
raspimonitor http://your.web.hook.here 45
# Example temp as float:
raspimonitor http://your.web.hook.here 45.6
As a cron job
Add your cron job as a script from above:
# 1. Open cron file
crontab -e
# 2. Add a cron
# Example - run every minute:
* * * * * raspimonitor http://your.web.hook.here 45
# Example - run every 5 minutes
*/5 * * * * raspimonitor http://your.web.hook.here 45
# 3. Reload cron service
sudo service cron reload
Ref. https://superuser.com/questions/232144/how-to-stop-a-currently-running-cron-job
Contributing
Pull requests and issues are welcome.
License
Obtained inspiration from
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file raspimonitor-0.0.2.tar.gz.
File metadata
- Download URL: raspimonitor-0.0.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3543b9abf0657e1dcd7bee73825f817bcb7f61885f3056d08418d1d3480342b8
|
|
| MD5 |
3afcd34d24913ca0f59dcd21399ce0cb
|
|
| BLAKE2b-256 |
eb998c25aa68ace2a2f58a2db44daaf66bf6cc312f4fdb084938ad56656c978a
|
File details
Details for the file raspimonitor-0.0.2-py3-none-any.whl.
File metadata
- Download URL: raspimonitor-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
766eeaaae27874be9e8c799006c5a2c566b2fe1ab1ecfa655874f6f3b10e247e
|
|
| MD5 |
225f9773dba89c329384d3a4cba48894
|
|
| BLAKE2b-256 |
c790c1f723907381fbefa5ebf298d30e75d709a667fea4ba35275b6503a522d1
|