Skip to content

Disconnect every few days and then "No ECU found at this IP-address or ECU is recovering from restart" #24

@kjroberts03

Description

@kjroberts03

Requirements for submitting a bug

Help us by sharing us the relevant home-assistant.log part.

`Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 380, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 281, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/apsystems_ecu_reader/__init__.py", line 151, in do_ecu_update
    return await ecu.update(
           ^^^^^^^^^^^^^^^^^
    ...<3 lines>...
    )
    ^
  File "/config/custom_components/apsystems_ecu_reader/__init__.py", line 112, in update
    data = await self.ecu.query_ecu(port_retries, show_graphs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/apsystems_ecu_reader/ecu_api.py", line 145, in query_ecu
    _LOGGER.debug("Inverter raw data: %s", self.inverter_raw_data.hex())
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'hex'`

Expected Behavior

System should be running

Current Behavior

Every few days it disconnects like this, I have to log into manager app and connect to the device then it seems to work. The ECU is never not able to be accessed through the EMA App.

PV-hardware (Environment)

System is in basement (one story house) but never loses connection via app.

  • ECU-B

  • [X ] ECU-R (2160 series)

  • ECU-R-Pro (2162 series)

  • ECU-C

  • ECU-3

  • DS3 series

  • QS series

  • QT series

  • YC series

2.3.0 installed

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