Hi everybody!
I would very much like to integrate my Stiebel Eltron Heat pump WPC 10 into home assistant.
I do have Home assistant (hassio) running on a pi.
I also do have the Stiebel Eltron ISP with modbus running.
I do have access via web portal and I am also getting some hex numbers by reading out the modbus registers 500 with a windows client software.
But I am struggling getting the pi reading out the modbus registers.
As a first start I just tried to read out via the modbus platform integrated in home assistant.
My configuration.yaml:
modbus:
type: tcp
host: 192.168.2.130
port: 502
timeout: 30
delay_between_queries: 30
My sensors (placed in separate modbus.yaml file):
I tried to “play” with different parameters to check which might work:
- platform: modbus
scan_interval: 20
registers:
- name: isttem501
unit_of_measurement: °C
slave: 1
register: 501
count: 1
precision: 1
scale: 0.1
- name: isttem502
unit_of_measurement: °C
slave: 1
register: 502
count: 1
# precision: 1
scale: 0.1
- name: isttem503
unit_of_measurement: °C
slave: 1
register: 503
count: 2
# precision: 1
scale: 0.1
- name: Laufzeit535
unit_of_measurement: h
slave: 1
register: 535
count: 1
- name: Laufzeit536
unit_of_measurement: h
slave: 1
register: 536
count: 1
data_typ: float
But the pi can’t read any values:
No response from modbus slave 1, register 503
11:34 PM components/sensor/modbus.py (ERROR)
No response from modbus slave 1, register 503
11:33 PM components/sensor/modbus.py (ERROR)
No response from modbus slave 1, register 503
11:33 PM components/sensor/modbus.py (ERROR)
Modbus read failed
11:33 PM custom_components/climate/stiebel_eltron.py (WARNING)
No response from modbus slave 1, register 503
11:33 PM components/sensor/modbus.py (ERROR)
2019-02-21 08:52:32 WARNING (MainThread) [homeassistant.loader] You are using a custom component for climate.stiebel_eltron which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-02-21 08:53:27 WARNING (SyncWorker_18) [custom_components.climate.stiebel_eltron] Modbus read failed
2019-02-21 08:53:28 ERROR (SyncWorker_1) [homeassistant.components.sensor.modbus] No response from modbus slave 1, register 501
2019-02-21 08:53:28 ERROR (SyncWorker_12) [homeassistant.components.sensor.modbus] No response from modbus slave 1, register 535
2019-02-21 08:53:28 ERROR (SyncWorker_15) [homeassistant.components.sensor.modbus] No response from modbus slave 1, register 536
2019-02-21 08:53:28 ERROR (SyncWorker_9) [homeassistant.components.sensor.modbus] No response from modbus slave 1, register 502
2019-02-21 08:53:28 ERROR (SyncWorker_17) [homeassistant.components.sensor.modbus] No response from modbus slave 1, register 503
2019-02-21 08:53:28 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
I managed to load stiebel_eltron.py but I am subsequently getting no values.
Just the sensor does show up:
climate.wpc10 Notbetrieb
current_temperature: 0
min_temp: 10
max_temp: 30
temperature: 0
target_temp_step: 0.1
operation_mode: Notbetrieb
operation_list: auto,idle,Warmwasserbetrieb
filter_alarm: false
friendly_name: wpc10
supported_features: 129
Up to now I did not manage to load pystiebeleltron.py because of its dependancies (hassio did not install by the script; I need to do it manually but need to figure out how).
So long story.
Does anybody has a hint how I should proceed from here. There seems to be a very basic problem.
Thanks!
fregatte