- Required python modules:
sudo apt install python-pip
git clone https://github.com/ganehag/pyMeterBus
cd pyMeterBus && sudo python setup.py install && cd ..
sudo pip install paho-mqtt
- Then clone this repo:
git clone https://github.com/packom/mbus_master_hat_mqtt.git
- Adjust settings in user_config.py and run the script
cd mbus_master_hat_mqtt
python mbus_master_hat_mqtt
Further comments in mbus_master_hat_mqtt.py