Replies: 3 comments 10 replies
-
Hi @nathan026, if you don't have modbus rtu protocol from the manufacturer the simplest proly would be to create your custom profile (empty for the start) in And then use bult-in services trough Developer Tools > ACTIONS > Solarman Read 0x3 and 0x4 and start probing registers. But I would try to ask your manufacturer if they are not maybe willing to provide you with documentation on the modbus protocol. 😉 |
Beta Was this translation helpful? Give feedback.
-
@davidrapan, I'm building the configuration for the Hinen H5000 based on the documentation attached to this issue. The For example, Reading them, I get The value, according to the Solarman site is 346kWh, which matches the values above. However, when decoding with rule 1 or 3, I get a very high number: If I pick only the L register, I get 120kWh: This is the configuration: - name: "Total Battery Charge"
class: "energy"
state_class: "total_increasing"
uom: "kWh"
scale: 0.1
rule: 1
registers: [278,279]
# registers: [279]
icon: "mdi:battery-plus"
validation:
min: 0.1 Do you have any advice for me to get the same value as the actions query is reporting? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
Meanwhile, here's what I've got so far parameters:
- group: solar
items:
- name: "Total Production"
class: "energy"
state_class: "total_increasing"
uom: "kWh"
scale: 0.1
rule: 1
registers: [253,252]
icon: 'mdi:solar-power'
- name: "Total Power"
class: "power"
state_class: "measurement"
uom: "W"
scale: 0.1
rule: 1
registers: [2,1]
icon: 'mdi:home-lightning-bolt'
- name: "Total Production PV1"
class: "energy"
state_class: "total_increasing"
uom: "kWh"
scale: 0.1
rule: 1
registers: [259,258]
icon: 'mdi:solar-panel'
- group: Battery
items:
- name: "Total Battery Charge"
class: "energy"
state_class: "total_increasing"
uom: "kWh"
scale: 0.1
rule: 1
registers: [279,278]
icon: 'mdi:battery-plus'
- name: "Total Battery Discharge"
class: "energy"
state_class: "total_increasing"
uom: "kWh"
scale: 0.1
rule: 1
registers: [283,282]
icon: 'mdi:battery-minus'
- name: "Battery Discharge Power"
class: "power"
state_class: "measurement"
uom: "W"
scale: 0.1
rule: 3
registers: [103,102]
icon: 'mdi:battery'
- name: "Battery Charge Power"
class: "power"
state_class: "measurement"
uom: "W"
scale: 0.1
rule: 3
registers: [105,104]
icon: 'mdi:battery'
- name: "Battery SOC"
class: "battery"
state_class: "measurement"
uom: "%"
scale: 1
rule: 1
registers: [128]
icon: 'mdi:battery'
- name: "Battery Priority"
scale: 1
rule: 1
registers: [125]
isstr: true
icon: 'mdi:fuel-cell'
lookup:
- key: 0
value: "Load priority"
- key: 1
value: "Battery priority"
- key: 2
value: "Grid priority"
- group: Inverter
items:
- name: "Running Status"
class: ""
state_class: ""
uom: ""
scale: 1
rule: 1
registers: [0]
isstr: true
lookup:
- key: 0
value: "Stand-by"
- key: 1
value: "Grid-connected"
- key: 2
value: "Off-grid"
- key: 3
value: "FAULT"
- key: 4
value: "Update mode"
- key: 5
value: "Charging"
- key: 6
value: "Discharging"
- key: 7
value: "Bypass"
icon: 'mdi:home-lightning-bolt'
- name: "Backflow power limit"
class: "power"
state_class: "measurement"
uom: "%"
rule: 1
registers: [75]
icon: 'mdi:home-lightning-bolt'
- name: "Load-first charge rate"
class: "power"
state_class: "measurement"
uom: "%"
rule: 1
registers: [136]
icon: 'mdi:battery' |
Beta Was this translation helpful? Give feedback.
-
Is there any documentation on getting started with creating a new inverter profile? I have a Hinen H5000 inverter and have tried all of the current profiles without any luck.
Beta Was this translation helpful? Give feedback.
All reactions