An open API service indexing awesome lists of open source software.

https://github.com/andypiper/pistate

A Python-based MQTT publisher for data about the state of a Raspberry Pi and GPIO connected devices.
https://github.com/andypiper/pistate

python raspberry-pi rpi

Last synced: 10 months ago
JSON representation

A Python-based MQTT publisher for data about the state of a Raspberry Pi and GPIO connected devices.

Awesome Lists containing this project

README

          

PiState
=======

A Python-based MQTT publisher for data about the state of a Raspberry Pi and GPIO connected devices.

### Requirements

* python-mosquitto MQTT client library
* RPi.GPIO library for access to Raspberry Pi GPIO pins

### Current state

Currently works and publishes RPi host information along with onboard CPU and GPU temp.

Preliminary support for controlling BerryClip attached on the GPIO pins.

### TODO

* proper Python class
* error handling around CPU/GPU etc
* looping temperature update
* check for root access
* exit handler
* daemonize
* config files