Extract data from Autarco Solar panels

Hi Willem1, can you share your code? How did you get this working?
For me, it seams that I either did not yet get the firmware update yet, or that I have newer firmware in which they repaired it, because for me the fields are not empty. This is what I see:

1802040237060188;F0003B;204;35.1;640;1.000000;19;NO;

Thanks!

Hello is this integration working right now? I want to try to add my Autarco to Homeassitant once again. If i can be of any assistance, please let me know!

Hi everyone,

I’m looking for some help to get my energy dashboard working properly. I have everything set up, but I’m not receiving any data in the dashboard. Interestingly, the data from my solar panels is coming through just fine.

I’ve seen that other users have experienced similar issues. I’ve gone through this forum and tried a few suggested solutions, but nothing has worked so far. Any advice or guidance would be greatly appreciated!

i made a helper, but i can’t select it in my energy dashboard:

My Code

  customize:
    sensor.pv_now:
      friendly_name: "Current Solar Production"
      device_class: energy
      state_class: total_increasing      
      last_reset: "1970-01-01T00:00:00+00:00"      
    sensor.pv_today:
      friendly_name: "Solar Production Today"
      device_class: energy
      state_class: measurement
      last_reset: "1970-01-01T00:00:00+00:00"
    sensor.pv_month:
      friendly_name: "Solar Production This Month"
      last_reset: "2023-07-01T00:00:00+00:00"
      device_class: energy
      state_class: total_increasing
    sensor.pv_to_date:
      friendly_name: "Total Solar Production To Date"
      device_class: energy
      state_class: total_increasing
rest:
  - authentication: basic
    username: !secret autarco_username
    password: !secret autarco_password
    scan_interval: 60
    resource: https://my.autarco.com/api/m1/site/xxxxx/power
    sensor:
      - name: "pv_now"
        value_template: "{{ value_json.stats.kpis.pv_now / 1000 }}"
        unit_of_measurement: "kWh"
        device_class: energy
  - authentication: basic
    username: !secret autarco_username
    password: !secret autarco_password
    scan_interval: 60
    resource: https://my.autarco.com/api/m1/site/xxxxx/energy
    sensor:
      - name: "pv_today"
        value_template: "{{ value_json.stats.kpis.pv_today }}"
        unit_of_measurement: "kWh"
        device_class: energy
        state_class: measurement
      - name: "pv_month"
        value_template: "{{ value_json.stats.kpis.pv_month }}"
        unit_of_measurement: "kWh"
        device_class: energy
        state_class: total_increasing
      - name: "pv_to_date"
        value_template: "{{ value_json.stats.kpis.pv_to_date }}"
        unit_of_measurement: "kWh"
        device_class: energy
        state_class: total_increasing

edit:
just got pv_to_date working, but as you can see the data doesn’t add up. What do i have to do to get pv_today also working?

Good news! There will be a core integration of Autarco, in fact this has just been merged. This means that the integration will be in the August release (2024.8) of Home Assistant :partying_face:

Thanks to @Dennis0162 for making it possible to test with the API.

./Klaas

Currently I’m working on the possibility to add battery information from the API to the Home Assistant integration, I could use some help with that because there are a lot of data attributes and the question is sometimes what do they mean and which unit belongs to them.

There is a separate issue that can contribute to:

Tried this integration, but for me it doesn’t work. Probably because we have 3 different locations in one “my Autarco” account. Maybe an idea to be able to select a location when available after filling in your credentials?

Olav

What exactly isn’t working? Because it will create everything per site that it encounters in your Autarco account. I think it’s a good idea to extend the config flow and be able to choose which site you want to add.

./Klaas

Hi. I have exactly the same problem. Automation says my current address is failed.

Which version of Home Assistant are you using? Otherwise please great an issue to get this checked/solved.

./Klaas

Hi, I just added your integration, but encountered another issue. It might have to do with that an inverter is offline?

Hello! Thank you for fast reply. I usually update software on time. My home assistance core is 2025.10.1. Hardaware is home assistance Green.

Both problems are actually issues with the Python package and are caused by how the response data is parsed. This is probably easy to fix, but I’d need to know exactly what the response data looks like for certain API endpoints.

What I have in log details file.

Logger: homeassistant.components.autarco
Source: helpers/update_coordinator.py:392
integration: Autarco (documentation, issues)
First occurred: 5 October 2025 at 16:57:21 (2917 occurrences)
Last logged: 10:09:38

Unexpected error fetching autarco data
Traceback (most recent call last):
File “”, line 24, in mashumaro_from_json
File “”, line 13, in mashumaro_from_dict_json
mashumaro.exceptions.MissingField: Field “zip_code” of type str is missing in Address instance

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py”, line 392, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/autarco/coordinator.py”, line 64, in _async_update_data
site = await self.client.get_site(self.account_site.public_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/autarco/autarco.py”, line 242, in get_site
return Site.from_json(response)
~~~~~~~~~~~~~~^^^^^^^^^^
File “”, line 4, in mashumaro_from_json
File “”, line 26, in mashumaro_from_json
mashumaro.exceptions.InvalidFieldValue: Field “address” of type Address in Site has invalid value {‘address_line_1’: 'XXXXXX, ‘city’: ‘XXXXXX, XXXXXX’, ‘state’: ‘Harjumaa’, ‘country’: ‘Estonia’}

Thanks for the error log. I also see where the problem lies and that it’s already been fixed in the Python package. I just need to bump the package version in the integration, on my todo list for today :wink:

./Klaas

My log looks like:

Logger: homeassistant.components.autarco
Bron: helpers/update_coordinator.py:392
integratie: Autarco (documentatie, problemen)
Eerst voorgekomen: 08:30:32 (8 gebeurtenissen)
Laatst gelogd: 08:34:11

Unexpected error fetching autarco data

Traceback (most recent call last): File “”, line 15, in mashumaro_from_dict_json TypeError: int() argument must be a string, a bytes-like object or a real number, not ‘NoneType’ During handling of the above exception, another exception occurred: Traceback (most recent call last): File “”, line 9, in mashumaro_from_json File “”, line 17, in mashumaro_from_dict_json mashumaro.exceptions.InvalidFieldValue: Field “out_ac_power” of type int in Inverter has invalid value None During handling of the above exception, another exception occurred: Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py”, line 392, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/components/autarco/coordinator.py”, line 66, in _async_update_data inverters = await self.client.get_inverters(self.account_site.public_key) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.13/site-packages/autarco/autarco.py”, line 174, in get_inverters return PowerResponse.from_json(response).inverters ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File “”, line 11, in mashumaro_from_json mashumaro.exceptions.InvalidFieldValue: Field “inverters” of type dict[str, Inverter] in PowerResponse has invalid value {‘154E11204090001’: {‘sn’: ‘154E11204090001’, ‘dt_latest_msg’: ‘2025-04-12T11:32:36+00:00’, ‘out_ac_power’: 1112, ‘out_ac_energy_total’: 5322, ‘error’: None, ‘grid_turned_off’: False, ‘health’: ‘SILENT’}, ‘842115020686’: {‘sn’: ‘842115020686’, ‘dt_latest_msg’: ‘2023-08-10T09:47:01+00:00’, ‘out_ac_power’: 225, ‘out_ac_energy_total’: 948, ‘error’: None, ‘grid_turned_off’: False, ‘health’: ‘SILENT’}, ‘842115020667’: {‘sn’: ‘842115020667’, ‘dt_latest_msg’: None, ‘out_ac_power’: None, ‘out_ac_energy_total’: None, ‘error’: None, ‘grid_turned_off’: False, ‘health’: ‘SILENT’}}

I have not seen a new version, am I correct?

As of today it is not possible anymore to connect to the autarco servers. Not in HA and not via their app. I a search I found out that they are bankrupt, so I do not think the connection to their server is coming online anymore.

I can still log on to my.autarco... But I already read that they were bankrupt, so as an alternative I 'hacked' the modbus link, and get my data straight from the inverter. Updates as often as I want instead of every 5 mins.

It might be a good idea to ask Autarco for the modbus documentation for your inverter - they provided mine right away - hopefully there is still someone attending their email.

1 Like