Python MQTT CPU RAM Usage
sudo apt install python3
sudo apt install python3-pip
pip install psutil
pip install paho-mqtt
git clone https://github.com/gzsierra/musical-enigma.git
By default, the client will send the information every second
./pyClient.py
To change the default sending rate go in the file pyClient.py and change interval=1
by interval=[YOUR_NEW_RATE]
Please check my other repo PyTT to see on how to configure your server to listen on the client. Also, if you don't know on how to configure a OpenHAB server, here you will find a simple script that does everything for you!
MIT