Metadata-Version: 2.4
Name: cbpi4-system
Version: 0.1.0
Summary: CraftBeerPi4 Plugin for system fucntions
Home-page: https://github.com/PiBrewing/cbpi4-system
Author: Alexander Vollkopf
Author-email: avollkopf@web.de
Keywords: globalsettings
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: psutil>=5.9.0
Requires-Dist: gpiozero
Requires-Dist: cbpi4>=4.1.10.rc2
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license-file
Dynamic: requires-dist
Dynamic: summary

# 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/PiBrewing/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/PiBrewing/cbpi4-system/blob/main/SystemSensor.png?raw=true)

### Installation:

Please have a look at the [Craftbeerpi4 Documentation](https://openbrewing.gitbook.io/craftbeerpi4_support/readme/plugin-installation)

- Package name: cbpi4-system
- Package link: https://github.com/PiBrewing/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:

- 24.11.25: (0.1.0) Add pyproject.toml to support pip 25.3+
- 10.06.23: (0.0.9) change version to release
- 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
