Skip to content

Deye logger serial number outside of expected range #659

Description

@testsrv78

Issue related to

Sunsynk / mbusd Home Assistant Add-On

Describe the issue/bug

My Deye inverter is model SUN-10K-SG02LP1-EU-AM3; the serial number of the logger is: D25831234020
When I configure it in the "Sunsynk or Deye Inverter add-on (multi)" i receive the following error:
ValueError: Error loading config: invalid value for type, expected int @ $.inverters[0].dongle_serial_number

If I leave the "D" out, configuring it as 25831235010, i got the following error:
File "/.venv/lib/python3.13/site-packages/pysolarmanv5/pysolarmanv5.py", line 115, in init
self.v5_loggerserial = struct.pack("<I", self.serial)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
struct.error: 'I' format requires 0 <= number <= 4294967295

Expected behavior A clear and concise description of what you expected to happen.

Serial of the logger should be recognized.

Your environment

  • Home Assistant version: 2026.7.3
  • Addon:
    • Name: sunsynk-multi 0.10.1
    • Version: 2026-01-11
  • Inverter:
    • Make: Deye
    • Model: __ SUN-10K-SG02LP1-EU-AM3
    • Firmware: __ 0301 B029-1727
  • Adaptor details:
    • RS485/RS232/solarman
    • RS485/RS232 brand

Your configuration

Paste your add-on YAML between the two lines below (replace the placeholder line). Keep the
first line (three backticks and yaml) and the last line (three backticks only) so GitHub formats
it as a code block.

# replace this line with your full configuration

Logs

Same idea for logs: paste between the fences (replace the placeholder). Use the most recent lines
that show the error.

# replace this line with relevant log lines

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions