Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 802 Bytes

README.md

File metadata and controls

29 lines (16 loc) · 802 Bytes

IVT_Rego_290AW

This is the code I use to monitor my heatpump and publish its values via MQTT. In my case, I have Home Assistant which is listening to the MQTT topic and receiving the data.

Hardware:

I have connected a H1-interface from Husdata (www.husdata.se) to a Raspberry Pi Zero Wireless, which runs the code.

Service

The service is installed as /lib/systemd/system/heatMon.service and requires "screen" to be installed. In this way, I can always attach to my service and monitor what it does. I connect to the service with "screen -r heatMon"

[Unit]

Description=HomeMate heatMon

After=multi-user.target

[Service]

Type=forking

User=pi

ExecStart=/usr/bin/screen -dmS heatMon /user/bin/python3 /home/pi/Python/heatMon/heatMon.py

[Install]

WantedBy=multi-user.target