Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105696

Modbus write register failed with Exception Response(134, 6, IllegalAddress)

$
0
0

hi there,

i try to write a modbus restiger to the Huawei SUN2000-10KTL-M1

This is the register as described in the manual:

Now, i have the following sensor:

- name: "modbus_huawei_battery_max_discharge_power"
      data_type: uint32
      slave: 1
      address: 47077
      scan_interval: 30

The sensor works perfectly…

but when i try to write this register with this snippet:

alias: huawei_batterie_max_discharge_0
sequence:
  - service: modbus.write_register
    data:
      address: 47077
      slave: 1
      hub: modbus_huawei
      value: "999"

i get this error in the log:

[homeassistant.components.modbus.modbus] Pymodbus: modbus_huawei: Error: device: 1 address: 47077 -> Exception Response(134, 6, IllegalAddress)

So, reading of 47077 is possible, but not writing… why?

Thanks to all of you guys…

regards
Daniel

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 105696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>