Send solar power to iDM heat pump using TCP Modbus and Python

Robert Diers
Aug 7, 2022


New dockerized solution:

I realized a small Python module to send my actual solar energy generation every 30 sec to iDM AERO SLM 6–17 heat pump. Pump will automatically fill my hot water storage and rooms when sun energy is available.

In iDM you need to configure PV signal as “Gebäudeleittechnik / Smartfox” (Sorry I just have the German wording in my iDM GUI)

Here’s the code:

You just need to know the IP and port (typically 502) to send the information.

IdmPump.writeandread(your_ip, 502, your_value)