Skip to content

Commit 1d52b5e

Browse files
committed
Update a few registers for the sungrow SH5k-20 for testing multi-byte reads.
1 parent d3af54e commit 1d52b5e

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

modbus4mqtt/Sungrow_SH5k_20.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ update_rate: 5
44
address_offset: 0
55
variant: sungrow
66
scan_batching: 100
7+
word_order: lowhigh
78
registers:
89
- pub_topic: "ems/EMS_MODE"
910
set_topic: "ems/EMS_MODE/set"
@@ -258,7 +259,7 @@ registers:
258259
scale: 0.1
259260
- pub_topic: "solar"
260261
json_key: total_pv_energy_10
261-
type: uint16
262+
type: uint32
262263
address: 13002
263264
table: input
264265
pub_only_on_change: false
@@ -272,7 +273,7 @@ registers:
272273
scale: 0.1
273274
- pub_topic: "solar"
274275
json_key: total_export_energy_10
275-
type: uint16
276+
type: uint32
276277
address: 13005
277278
table: input
278279
pub_only_on_change: false
@@ -311,7 +312,7 @@ registers:
311312
scale: 0.1
312313
- pub_topic: "solar"
313314
json_key: co2_emission_reduction
314-
type: uint16
315+
type: uint32
315316
address: 13014
316317
table: input
317318
pub_only_on_change: false
@@ -325,7 +326,7 @@ registers:
325326
scale: 0.1
326327
- pub_topic: "solar"
327328
json_key: total_use_energy_10
328-
type: uint16
329+
type: uint32
329330
address: 13017
330331
table: input
331332
pub_only_on_change: false

0 commit comments

Comments
 (0)