Metadata-Version: 2.1
Name: cbpi4-system
Version: 0.0.9rc1
Summary: CraftBeerPi4 Plugin for system fucntions
Home-page: https://github.com/PiBrewing/cbpi4-system
Author: Alexander Vollkopf
Author-email: avollkopf@web.de
License: UNKNOWN
Keywords: globalsettings
Platform: UNKNOWN
Description-Content-Type: text/markdown
License-File: LICENSE

# CraftBeerPi4 System Functions Plugin

### Functions:

- Plugin has capability to reboot Pi every day at a time that can be specified in the settings.

![Auto Reboot](https://github.com/avollkopf/cbpi4-system/blob/main/AutoReboot.png?raw=true)

### Sensors	

Plugin will add system 'sensors' to monitor some system parameters. The psutil package is currently used for that purpose:
	
- CPU Load: 		CPU load in % (psutil: cpu_perc)
- Available Memory:	Available system memory in Mb (psutil: vitrual_memory -> available)
- Used memory:		Used memory in percent (psutil: vitrual_memory -> percent)
- CPU Temp:		CPU temperature (psutil: sensors_temperatures -> cpu_thermal)

Each parameter has to be added as individual sensor.
	
![Sensor Config](https://github.com/avollkopf/cbpi4-system/blob/main/SystemSensor.png?raw=true)

### Installation: 
- sudo pip3 install cbpi4-system
- or install from repo: sudo pip3 install https://github.com/avollkopf/cbpi4-system/archive/main.zip
	
### Usage:

- Add Hardware under Sensor and choose SystemSensor as Type
- Configure Autoreboot in settings (Default is 'No') and specify time of day (0-23 -> Full hour)

### Changelog:

- 02.06.23: (0.0.9.rc1) add cbpi4 version requirements
- 16.04.23: (0.0.9.a6) fixed bug with creation of parameters
- 05.04.23: (0.0.9.a5) test for gloabl plugin settings selection branch
- 08.01.23: (0.0.8) updated requirements
- 16.01.22: (0.0.5) Adaption for cbpi 4.0.1.2
- 12.01.22: (0.0.4) Reduced amount of mqtt traffic
- 27.11.21: (0.0.3) New Readme file and link to plugin included in setup.py
- 02.09.21: (0.0.2) Remove Actor to reboot / shutdown system. Add automatic reboot and add system sensors
- 18.06.21: (0.0.1) Initial commit with Actor to shutdown/reboot system


