Closed NosIreland closed 1 month ago
Found the issue. Apparently the max Daily production cannot be greater than 100kWh. In my case it was 104kWh
Querying [514 - 558] failed with exception [ValueError: Invalidate complete dataset (Daily Production ~ 104.0)]
Had to change the limit in deye_sg04lp3.yaml
Found the issue. Apparently the max Daily production cannot be greater than 100kWh. In my case it was 104kWh
Querying [514 - 558] failed with exception [ValueError: Invalidate complete dataset (Daily Production ~ 104.0)]
Had to change the limit indeye_sg04lp3.yaml
Hey there,
Im faced with the same issue now on my Solarman integration, not sure why its happening now .
2 Questions - Where can i find the logs (running HA on Virtual box) for Solarman to try and isolate the problem.
2nd - What did you change your limit to?
Found the issue. Apparently the max Daily production cannot be greater than 100kWh. In my case it was 104kWh
Querying [514 - 558] failed with exception [ValueError: Invalidate complete dataset (Daily Production ~ 104.0)]
Had to change the limit indeye_sg04lp3.yaml
Hey there,
Im faced with the same issue now on my Solarman integration, not sure why its happening now .
2 Questions - Where can i find the logs (running HA on Virtual box) for Solarman to try and isolate the problem.
2nd - What did you change your limit to?
Second option:
Enabled debug logging on Solarman Integration
Then tail HA logs tail -f /config/home-assistant.log
your path will be different depending where/how your HA.
This option lets you see logs as they happening.
deye_sg04lp3.yaml
. The files are located in /config/custom_components/solarman/inverter_definitions
again the path depends where your HA is installed.
In the definition file there are some limits defined and if the values are out of bounds then integration assume that the values are no valid and thus shows then as Unknown
. In my case it was
- name: "Daily Production"
class: "energy"
state_class: "total_increasing"
uom: "kWh"
scale: 0.1
rule: 1
registers: [0x0211]
icon: 'mdi:solar-power'
validation:
max: 100
invalidate_all:
I've changed the max value to 150 saved changes and restarted HA. After that all started working.
Aah found it, thank you. This is the error im getting:
2024-05-09 13:20:37.844 DEBUG (MainThread) [custom_components.solarman] __init__.py:async_unload_entry({'entry_id': '24d74e25db56ffc51f735478d50b3ae4', 'version': 1, 'minor_version': 1, 'domain': 'solarman', 'title': '192.168.10.197', 'data': {'name': 'Solarman', 'inverter_host': '192.168.10.197', 'inverter_serial': 2711484655, 'inverter_port': 8899, 'inverter_mb_slaveid': 1, 'lookup_file': 'deye_hybrid.yaml'}, 'options': {'name': 'Solarman', 'inverter_host': '192.168.10.197', 'inverter_serial': 2711484655, 'inverter_port': 8899, 'inverter_mb_slaveid': 1, 'lookup_file': 'deye_hybrid.yaml'}, 'pref_disable_new_entities': False, 'pref_disable_polling': False, 'source': 'user', 'unique_id': None, 'disabled_by': None}) 2024-05-09 13:20:37.875 WARNING (MainThread) [homeassistant.components.energy.sensor] Found unexpected state_class None for sensor.solarman_daily_load_consumption 2024-05-09 13:20:37.905 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry 192.168.10.** for solarman Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 772, in async_unload result = await component.async_unload_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/solarman/__init__.py", line 28, in async_unload_entry hass.data[DOMAIN].pop(entry.entry_id) ~~~~~~~~~^^^^^^^^ KeyError: 'solarman'
If it fails just on solarman_daily_load_consumption
try to comment it out and see if it can pull other ones.
Hi, After couple months of work the integration suddenly stooped working today. Looking at the logs the communication is working but it seem that the data cannot be decoded? All entities went into Unknown state status_connection showing as disconnected
Inverter serial: 23** Inverter model: 12K-SG04LP3-EU Logger firmware: LSW3_32U5406_1.06