Huawei: fix baudrate and register address and rs485 (#3062)
This commit is contained in:
parent
0420779115
commit
3f57f4483e
3 changed files with 6 additions and 4 deletions
|
|
@ -1,14 +1,16 @@
|
|||
template: huawei-sun2000-8ktl
|
||||
template: huawei-sun2000-rs485
|
||||
covers:
|
||||
- huawei-sun2000-8ktl
|
||||
products:
|
||||
- brand: Huawei
|
||||
description:
|
||||
generic: SUN2000-8KTL
|
||||
generic: SUN2000 via RS485 Modbus
|
||||
params:
|
||||
- name: usage
|
||||
choice: ["pv"]
|
||||
- name: modbus
|
||||
choice: ["rs485"]
|
||||
baudrate: 19200
|
||||
baudrate: 9600
|
||||
render: |
|
||||
type: custom
|
||||
power:
|
||||
|
|
@ -16,6 +18,6 @@ render: |
|
|||
{{include "modbus" . | indent 2}}
|
||||
# register details
|
||||
register:
|
||||
address: 40525
|
||||
address: 32080 # Active generation power AC
|
||||
type: holding
|
||||
decode: int32
|
||||
Loading…
Add table
Add a link
Reference in a new issue