Skip to content

[Beta] DC Charger Start Stop Crash #215

@evski

Description

@evski

Integration version

1.1.9

Describe the bug

Trying to use the DC charger start stop switch causes the integration to crash and error, see logs. Appreciate you may not have this unit so am open to guidance and happy to try fix and test.

Logs

2025-09-18 12:40:38.868 WARNING (MainThread) [custom_components.sigen.modbus] Modbus write error for 192.168.1.10:502@1 (address 41000): ExceptionResponse(dev_id=1, function_code=134, exception_code=2). Marking connection as closed.
2025-09-18 12:40:38.868 ERROR (MainThread) [custom_components.sigen.modbus] Failed to write dc_charger parameter 'dc_charger_start_stop' (device: Sigen Inverter): Error writing register: Error writing register at address 41000: ExceptionResponse(dev_id=1, function_code=134, exception_code=2)
2025-09-18 12:40:38.868 ERROR (MainThread) [custom_components.sigen.coordinator] Failed to write parameter dc_charger_start_stop to dc_charger 'Sigen Inverter': Error writing register: Error writing register at address 41000: ExceptionResponse(dev_id=1, function_code=134, exception_code=2)
2025-09-18 12:40:38.870 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547332744480] Error during service call to switch.turn_on: Error writing register: Error writing register at address 41000: ExceptionResponse(dev_id=1, function_code=134, exception_code=2)

Diagnostics file

No response

Checklist

  • I searched existing issues and discussions.
  • I attached logs and/or diagnostics.
  • This is not a support request; it describes a reproducible bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions