yeti0815
(Yeti0815)
November 15, 2023, 9:56pm
62
Hi All,
I just managed to solve my problem recently:
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.
[image]
my scripts.yaml looks like this:
idm_update_pv_values:
alias: Update Photovoltaik values to IDM Headpump
sequence:
- service: mod…
Problem was to get the water source pump to start and stop via modbus… in the docu there were no hints which message to send to the modbus register…
Solution was “1” for start and “-1” for stop sounds quite easy
here my current working scripts.yaml:
#########################################
idm_start_brunnenpumpe:
alias: idm_start_brunnenpumpe
sequence:
- service: modbus.write_register
data:
hub: idm_wp
unit: 1
address: 1714
data_template:
value: >
[ {{ unpack(pack("1" |float, ">f"), ">B", offset=2) }},
{{ unpack(pack("1" |float, ">f"), ">B") }} ]
mode: single
idm_stop_brunnenpumpe:
alias: idm_stop_brunnenpumpe
sequence:
- service: modbus.write_register
data:
hub: idm_wp
unit: 1
address: 1714
data_template:
value: >
[ {{ unpack(pack("-1" |float, ">f"), ">B", offset=2) }},
{{ unpack(pack("-1" |float, ">f"), ">B") }} ]
mode: single
dubtec
November 16, 2023, 9:10pm
63
Thanks, @yeti0815 , that’s interesting. I have managed to instruct my IDM heatpump to use PV surplus, too. For now at least by the help of a similar script. But, my plan is to automate this either through HA or alternatives (evcc, openWB).
I see that You’re using a {{ unpack(pack("-1" |float, ">f"), ">B", offset=2) }}, {{ unpack(pack("-1" |float, ">f"), ">B") }}
in order to set the array, which my scripts currently are setting with hard-coded values, which in turn were manually determined by the help of some online calculators.
Assuming that this is working the same way (conversion of decimal value to a hex-based float32) is there no simpler way to determine the array’s tuples or the array itself?
BerndK
March 9, 2024, 3:42pm
64
Hi to all IDM users,
I created a post with quite detailed infos here:
IDM Heatpump Modbus integration
I like to share my integration of the IDM AERO 12 Heatpump. The concepts shared here, should also work with other IDM heatpumps.
General thoughts
A lot of terms used here are in German, hope this is OK, as long as I expect that IDM-Heatpumps are mainly sold in Austria, Switzerland and Germany.
Warranty
This is a hobby project, so there is no gurantee, support or warranty at all. You are responsible if you use parts of this project.
Prepare IDM Heatpump to …
I bet there is something interesting for you.
Bernd.
Hezi89
(Mathias Hezner)
August 8, 2024, 6:41pm
65
Hallo BombusAlpinus,
ist es möglich, dass du die config.yaml files zur Verfügung stellst. Irgendwie komme ich nicht weiter… Danke im Voraus.
Mfg