dcb7f0f9d38666eeb6dbb9882b33339cd4737de1
Using os.system the script sets a shutdown time, the bot will then inform users for the impending shutdown.
solar_bot
Description
Small python script that reads a V.E Direct data stream (over usb/serial) and composes a mastodon post and then sends it every hour.
Hardware
- Linux System (currently used on a OrangePi5 which hosts the solarcene.community Mastodon instance)
- Victron Energy VE.Direct to USB interface
- Victron MPPT Charge Controller
Software
- Python3
- vedirect - https://github.com/karioja/vedirect
- mastdon.py - https://github.com/halcy/Mastodon.py
- apscheduler - https://github.com/agronholm/apscheduler
- redis.py - https://github.com/redis/redis-py
- Redis
Demo
Languages
Python
100%