solax: Suddenly not able to connect

I noticed this morning that all of a sudden HA can’t communicate with my Solax Inverter (X1-Boost-3.6). It’s been working find for the last week without a problem.

Today it suddenly stopped and all identities are unavailable. I tried rebooting everything, reloading the integration and deleting/reinstalling it. No change. I’ve not even upgraded HA to the latest version.

This is the error in the logs.

`Logger: homeassistant.components.solax.config_flow Source: components/solax/config_flow.py:36 Integration: SolaX Power (documentation, issues) First occurred: 11:05:01 (1 occurrences) Last logged: 11:05:01

Unexpected exception Traceback (most recent call last): File “/usr/local/lib/python3.10/site-packages/solax/inverter.py”, line 37, in get_data data = await self.make_request( File “/usr/local/lib/python3.10/site-packages/solax/inverter.py”, line 183, in make_request response = cls.schema()(json_response) File “/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py”, line 272, in call return self._compiled([], data) File “/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py”, line 595, in validate_dict return base_validate(path, iteritems(data), out) File “/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py”, line 433, in validate_mapping raise er.MultipleInvalid(errors) voluptuous.error.MultipleInvalid: required key not provided @ data[‘SN’]

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/solax/config_flow.py”, line 52, in async_step_user serial_number = await validate_api(user_input) File “/usr/src/homeassistant/homeassistant/components/solax/config_flow.py”, line 36, in validate_api response = await api.get_data() File “/usr/local/lib/python3.10/site-packages/solax/init.py”, line 51, in get_data return await rt_request(self.inverter, File “/usr/local/lib/python3.10/site-packages/solax/init.py”, line 26, in rt_request return await inv.get_data() File “/usr/local/lib/python3.10/site-packages/solax/inverter.py”, line 48, in get_data raise InverterError(msg, str(self.class.name)) from ex solax.inverter.InverterError: (‘Received malformed JSON from inverter’, ‘XHybrid’)`

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

Perhaps the firmware has been updated remotely? But I think you have tried all the requests the library makes, via curl. You could try reading though some of the other issues?

Ill come back here if I can think of anything, please reply if you solve it too