Also want to add a comment to the ‘tricky’ magic to build the float values when writing (introduced by Simon). I had issues to write negtive values, so I chenged the code a bit. I changed “>h” to “>H” to have an unsigned int and also removed ‘|abs’
Hint: please check the sensor name, I used different name in my setup!
Thank you, I will try and update the repo. I also have contacted the guy who created the repo for the HACS plugin for helping to update the values. Then everything will be still in one project.
After some updates of my home assistant i now also get this error:
2023-06-21 08:45:00.191 ERROR (SyncWorker_1) [homeassistant.components.modbus.modbus] Pymodbus: idm_heatpump: Modbus Error: [Connection] ModbusTcpClient(10.10.10.94:502): Connection unexpectedly closed 1.3589859008789062e-05 seconds into read of 8 bytes without response from unit before it closed connection
Is there anyone out with have already collected details to this error?
The calculation of “PV geschätzte Produktion” is the default plugin for getting forecast values of my geo data. There is a webservice who tells me how long and how strong the sun will shine for my geo data. So nothing important for transfer the PV values between the IDM and your PV inverter.
Does anyone of you guy have a updated modbus tcp register dokumentation? I need to send room temp and humidity from knx to the idm modbus to get cooling working. The Tapko SIM-KNX isnt working…
Hi Community…
I just implemented the IDM Integration of @SimowN in Homeassistant with my idm SWM6-17
Everything up and working, great job @SimowN
I read data (e.g. temperatures) and also write the PV values via modbus.write_register
My problem:
I want to trigger the source pump seperatly via modbus…via adress 1714… and it did not work up to now.
So source pump can be started via script “idm_start_brunnenpumpe” but cannot be stopped with “idm_stop_brunnenpumpe” … I assume it has something to do with datatypes and values… it was trial and error so far, I dont know much about modbus protocoll and data types and pack and unpack
Thanks a lot for your implementation @SimowN - I recently updated to the newest release of HA 2023.10.0 and this breaks the modbus - solution is to remove the count: 2 from the configuration file.
@KVS Tanks for the info. Works for me to! Just trying to integrate my 7 years old IDM TERRA ML 6-8 into homeassistant. Any help for the modbus registers is appreciated… to be honest… i have no clue about modbus and querying it
hi ,
i’m currently trying to get values from my idm heatpump with navigator 1.7 via modbus into ha.
works quite ok but with one address i have a “problem” with the reported values
heres the config:
I assume the data type is wrong. But also wanted to share that if you divide 1028 / 257 that equals 4 (and 257 / 257 = 1). If You see that Kühlen equals 517, I guess you could also create a template sensor, which You may want to do anyway to have the String display rather than the numeric value.
hey, thanks for the reply… in the meantime i’ve already created a template displaying a string based on the “wrong” values. but the hint for dividing by 257 is interesting. unfortunately we are only using Off (0), Heizen (1/257), Vorrang (4/1028) so i’m not able to verify your assumption regarding the values for Kühlen (2) and Abtauen (8).
the other sensors which are providing values between 0 and 4 are working fine with the data_type uint16:
I understand You’re also an owner of a IDM Terra heatpump running Navigator v1.7.
Are You also interested in passing excess energy from a photovoltaic system into the heatpump (PV-Überschuss für Überhöhung der Wärmepump)? If yes, I’d be interested in what the Modbus registers are, which You’re accessing for this.
Actually, now that I think about it, the question goes to anybody reading this:
What are the Modbus registers incase of Navigator 1.7 to read / set excess energy from PV? I read something of 74, 78 and / or 4122, but I seemingly don’t get values from that.
there is also the possibility that my config is incorrect… /me “no modbus expert”
i scheduled a system maintenance (last was several years ago) with an technician on november the 9th which also includes updating to the latest firmware if there is any. they could do it remotely but they prefer it on-site in case something breaks. the support also told me that the newer 1.7 versions improved the heatpump - pv cooperation.
Same here… no way near an expert for Modbus. Trying my best to compile a configuration that works. So far just a couple of sensors - just for having them.
Now, things get more serious with actually having a PV system on the roof. For this, I want to achieve the benefit of properly combined heatpump and PV system.
I‘ve been researching quite a lot recently. Specifically the openwb-forums indicate that that software orchestrates chargers, heatpumps and other high-wattage devices. According to a couple of posts I see that IDM heatpumps with Navigator v1.7 are supported. Unfortunately, I can’t get openWB to run on my existing Raspberries.
Attaching a screenshot of my firmware version, which was installed in September '22:
Keep me posted on the outcomes of the firmware update. I have just sent a request to IDM to enable Modbus in the „Fachmannebene“. I assume You already have that, right?
mine was installed in the beginning of 2017 and as far as i can remember there was no update of the fw in the meantime. my version:
as far as i know activating of modbus by idm support is mandatory for using modbus tcp with the idm heatpump and yes i’ve done this when my pv got installed in spring this year.
IDM has updated my heatpump to allow for ModBus connectivity. I can read values now on 4122. Over the course of the weekend and if the weather permits, I will try to tinker with the other register to set the PV surplus.
Any updates on your end, @BombusAlpinus? Did the update happen? Do You now make use of the PV surplus?