Skip to content

Commit

Permalink
Merge pull request #15 from maslyankov/bugfix/deye-single-phase-fix-t…
Browse files Browse the repository at this point in the history
…emp-definition

Update battery temperature sensor offset to 0 for Deye single phase inverter compatibility
  • Loading branch information
maslyankov authored Dec 29, 2024
2 parents 8d2db61 + 6388613 commit dc1ff2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sunsynk/definitions/single_phase.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
# Battery
##########
SENSORS += (
TempSensor(182, "Battery temperature", CELSIUS, 0.1, offset=1000),
# Changed offset to 0 to match the temperature of the Deye inverter, regardless of
# the offset in the docs as per https://github.com/kellerza/sunsynk/issues/353
TempSensor(182, "Battery temperature", CELSIUS, 0.1, offset=0),
Sensor(183, "Battery voltage", VOLT, 0.01),
Sensor(184, "Battery SOC", "%"),
Sensor(190, "Battery power", WATT, -1),
Expand Down

0 comments on commit dc1ff2b

Please sign in to comment.