Skip to content

Commit

Permalink
Huawei: fix baudrate and register address and rs485 (#3062)
Browse files Browse the repository at this point in the history
  • Loading branch information
RTTTC committed Apr 3, 2022
1 parent 0420779 commit 3f57f44
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
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:
source: modbus
{{include "modbus" . | indent 2}}
# register details
register:
address: 40525
address: 32080 # Active generation power AC
type: holding
decode: int32

0 comments on commit 3f57f44

Please sign in to comment.