Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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

MIT - License file

Obtained inspiration from

Metadata

Release files for raspimonitor 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for raspimonitor 0.0.2
File Size Uploaded
raspimonitor-0.0.2.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for raspimonitor 0.0.2
File Interpreter ABI Platform
raspimonitor-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / raspimonitor-0.0.2.tar.gz

Download URL raspimonitor-0.0.2.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3543b9abf0657e1dcd7bee73825f817bcb7f61885f3056d08418d1d3480342b8
BLAKE2b-256 checksum
How to use checksums
eb998c25aa68ace2a2f58a2db44daaf66bf6cc312f4fdb084938ad56656c978a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.19

Release files / raspimonitor-0.0.2-py3-none-any.whl

Download URL raspimonitor-0.0.2-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
766eeaaae27874be9e8c799006c5a2c566b2fe1ab1ecfa655874f6f3b10e247e
BLAKE2b-256 checksum
How to use checksums
c790c1f723907381fbefa5ebf298d30e75d709a667fea4ba35275b6503a522d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page