wills106 / homeassistant-solax-modbus

SolaX Power Modbus custom_component for Home Assistant (Supports some Ginlong Solis, Growatt, Sofar Solar, TIGO TSI & Qcells Q.Volt Hyb)
312 stars 96 forks source link

Cannot lower control setpoint value when using autorepeat, Active Power lower entity not changing. #492

Closed frank8the9tank closed 1 year ago

frank8the9tank commented 1 year ago

Describe the bug Unable to lower the control setpoint when auto repeat function is running.

I use my inverter as charger/discharger, I read my energy meter using DSMR, and based on those values i set the control point for charging and discharger, using the auto repeat function with battery control selected. Range trough automation can be set to -3000 (discharge the battery), and 8000 (charger the battery) ( i have other inverter that generate the energy) So basicly i read my energy meter and set every 5 seconds what needs to happens on the inverter. (it changes the control point value) But sinds 2 day is can no longer lower the charging value for this control loop. when i press the auto repeat button and have a control point value of -1000 for an 3600 seconds and then update the value for control point to -2000 it does not ge updated to the inverter. Then i switch to disable and enable it again it working fine at -2000. Strange thing is that i increase it to -1500 and inverter switches to -1500 and to -1000 and inverter to -1000 But never lower again. so -1000 to -2000 no longer works. On positive side to looks to be working fine. (so charging the battery). increasing and decreasing looks fine.

My setup was stable running for 2 months at least. No changes made to automations or inverter. I only update the solax integration when a update is available.

it almost looks like that is an internal cap on the control range when i press the autorepeat functions. And this limit can only increase. so from -1000 to -500 but never back down. is looks like to stick to the highest value is set in the negative range. Before my bug i could increase and decrease the control setpoint with what every is in between -3000 and 8000.

Things i have tried.

Mandatory details

  1. Integration Version: 2023.08.3
  2. HA Version: 2023.8.2
  3. Inverter Brand: Solax hybrid x3 gen 4
  4. Plugin Used: homeassistant-solax-modbus
  5. First 6 digits of Serial: H34A10
  6. Connection Method: waveshare modbus tcp

Detailed Error Log 2023-08-14 08:23:15.645 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration solax_modbus which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-08-14 08:23:27.883 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'home_connect', 'nibe', 'min_max', 'switch', 'version', 'stream', 'file_upload', 'solaredge', 'entsoe', 'pi_hole', 'person', 'sensor', 'github', 'local_calendar', 'image_upload', 'stookalert', 'solaredgeoptimizers', 'frank_energie', 'timer', 'my', 'onvif', 'bmw_connected_drive', 'cert_expiry', 'system_health', 'whois', 'analytics', 'telegram_bot', 'zone', 'uptime', 'input_number', 'plex', 'hacs', 'knmi', 'google_translate', 'onboarding', 'roomba', 'forecast_solar', 'persistent_notification', 'homeassistant_alerts', 'default_config', 'template', 'wellbeing', 'auth', 'mqtt', 'application_credentials', 'schedule', 'config', 'season', 'script', 'esphome', 'daikin', 'input_text', 'lametric', 'dlna_dms', 'synology_dsm', 'openuv', 'openexchangerates', 'counter', 'dlna_dmr', 'input_select', 'zodiac', 'dsmr', 'conversation', 'zha', 'utility_meter', 'xbox', 'history', 'assist_pipeline', 'solaredge_modbus_multi', 'diagnostics', 'webostv', 'solax_modbus', 'shelly', 'input_boolean', 'stt', 'electrolux_status', 'media_source', 'wake_on_lan', 'sun', 'tag', 'mobile_app', 'group', 'repairs', 'search', 'unifi', 'sql', 'workday', 'device_automation', 'map', 'hardware', 'blueprint', 'husqvarna_automower', 'input_button', 'local_ip', 'ffmpeg', 'automation', 'buienradar', 'scene', 'co2signal', 'xiaomi_miio', 'moon', 'brother', 'media_player', 'lovelace', 'trace', 'tts', 'nibe_heatpump', 'energy', 'jellyfin', 'tasmota', 'radio_browser', 'logbook', 'input_datetime', 'comfoconnect', 'notify', 'zwave_js', 'dnsip', 'luftdaten'} 2023-08-14 08:23:34.421 INFO (MainThread) [homeassistant.setup] Setting up solax_modbus 2023-08-14 08:23:34.421 INFO (MainThread) [homeassistant.setup] Setup of domain solax_modbus took 0.0 seconds 2023-08-14 08:23:34.435 INFO (MainThread) [custom_components.solax_modbus.config_flow] detected HA core version 2023 8 2023-08-14 08:23:34.435 INFO (MainThread) [custom_components.solax_modbus.config_flow] starting configflow - domain = solax_modbus 2023-08-14 08:23:34.435 INFO (MainThread) [custom_components.solax_modbus] trying to load plugin - plugin_name: solax 2023-08-14 08:23:34.446 INFO (MainThread) [custom_components.solax_modbus.plugin_solax] SolaX: trying to determine inverter type 2023-08-14 08:23:34.457 INFO (MainThread) [custom_components.solax_modbus.plugin_solax] Read SolaX 0x0 serial number before potential swap: H34A10IA506142 2023-08-14 08:23:42.974 INFO (MainThread) [homeassistant.components.button] Setting up button.solax_modbus 2023-08-14 08:23:42.976 INFO (MainThread) [homeassistant.components.number] Setting up number.solax_modbus 2023-08-14 08:23:42.976 INFO (MainThread) [custom_components.solax_modbus.button] hub.wakeuButton: SolaxModbusButtonEntityDescription(key='battery_awaken', device_class=None, entity_category=None, entity_registry_enabled_default=True, entity_registry_visible_default=True, force_update=False, icon='mdi:battery-clock', has_entity_name=False, name='Battery Awaken', translation_key=None, unit_of_measurement=None, allowedtypes=0, register=86, command=1, blacklist=None, write_method=1, value_function=None, autorepeat=None) 2023-08-14 08:23:42.998 INFO (MainThread) [homeassistant.components.select] Setting up select.solax_modbus 2023-08-14 08:23:43.032 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.solax_modbus 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x0 seriesnumber to block with start 0x0 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] Starting new block at 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x7d firmwareversion_invertermaster to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x81 firmwareversion_modbustcp_major to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x82 firmwareversion_modbustcp_minor to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x83 firmwareversion_manager to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x84 bootloader_version to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x85 rtc to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x8b charger_use_mode to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x8c manual_mode to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x8d battery_type to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x8e battery_charge_float_voltage to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x8f battery_discharge_cut_off_voltage to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x90 battery_charge_max_current to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x91 battery_discharge_max_current to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x94 selfuse_nightcharge_upper_soc to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x97 charger_start_time_1 to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x98 charger_end_time_1 to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x99 discharger_start_time_1 to block with start 0x7d 2023-08-14 08:23:43.049 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x9a discharger_end_time_1 to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x9b charge_period2_enable to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x9c charger_start_time_2 to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x9d charger_end_time_2 to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x9e discharger_start_time_2 to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x9f discharger_end_time_2 to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xa1 hotstandby to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xa2 extend_bms_setting to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xa3 battery_heating to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xa4 battery_heating_start_time_1 to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xa5 battery_heating_end_time_1 to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xa6 battery_heating_start_time_2 to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xa7 battery_heating_end_time_2 to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xaa registration_code_pocket to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xb2 pgrid_bias to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xb5 export_control_factory_limit to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xb6 export_control_user_limit to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xb7 eps_mute to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xba inverter_rate_power to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xbb language to block with start 0x7d 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] Starting new block at 0x102 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x102 drm_function_enable to block with start 0x102 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x103 ct_type to block with start 0x102 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x104 shadow_fix_enable to block with start 0x102 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x105 machine_type to block with start 0x102 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x106 phase_power_balance_x3 to block with start 0x102 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x107 machine_style to block with start 0x102 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x108 meter_function to block with start 0x102 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x109 meter_1_id to block with start 0x102 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x10a meter_2_id to block with start 0x102 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x111 disch_cut_off_point_different to block with start 0x102 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x113 disch_cut_off_voltage_grid_mode to block with start 0x102 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x115 ct_meter_setting to block with start 0x102 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x116 fvrt_function to block with start 0x102 2023-08-14 08:23:43.050 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x117 fvrt_vac_upper to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x118 fvrt_vac_lower to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x11b pv_connection_mode to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x11c shutdown to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x11d microgrid to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x11e selfuse_mode_backup to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x11f selfuse_backup_soc to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x120 lease_mode to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x121 device_lock to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x122 manual_mode_control to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x123 feedin_on_power to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x124 switch_on_soc to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x125 consume_off_power to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x126 switch_off_soc to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x127 minimum_per_on_signal to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x128 maximum_per_day_on to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x129 schedule to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x12f dry_contact_mode to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x130 parallel_setting to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x131 external_generation to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x132 external_generation_max_charge to block with start 0x102 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x0 inverter_voltage to block with start 0x0 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x1 inverter_current to block with start 0x0 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x2 inverter_load to block with start 0x0 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x3 pv_voltage_1 to block with start 0x0 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x4 pv_voltage_2 to block with start 0x0 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x5 pv_current_1 to block with start 0x0 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x6 pv_current_2 to block with start 0x0 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x7 grid_frequency to block with start 0x0 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x8 inverter_temperature to block with start 0x0 2023-08-14 08:23:43.051 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x9 run_mode to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xa pv_power_1 to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xb pv_power_2 to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x13 time_count_down to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x14 battery_voltage_charge to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x15 battery_current_charge to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x16 battery_power_charge to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x17 bms_connect_state to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x18 battery_temperature to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x1a grid_status to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x1c battery_capacity_charge to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x1d output_energy_charge to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x20 output_energy_charge_today to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x21 input_energy_charge to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x23 input_energy_charge_today to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x24 bms_charge_max_current to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x25 bms_discharge_max_current to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x26 bms_battery_capacity to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x46 measured_power to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x48 grid_export_total to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x4a grid_import_total to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x4f eps_frequency to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x50 today_yield to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x52 total_yield to block with start 0x0 2023-08-14 08:23:43.052 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x54 lock_state to block with start 0x0 2023-08-14 08:23:43.053 INFO (MainThread) [custom_components.solax_modbus.sensor] Starting new block at 0x66 2023-08-14 08:23:43.053 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x66 bus_volt to block with start 0x66 2023-08-14 08:23:43.053 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x67 dc_fault_val to block with start 0x66 2023-08-14 08:23:43.053 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x68 overload_fault_val to block with start 0x66 2023-08-14 08:23:43.053 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x69 battery_volt_fault_val to block with start 0x66 2023-08-14 08:23:43.053 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x6a grid_voltage_l1 to block with start 0x66 2023-08-14 08:23:43.053 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x6b grid_current_l1 to block with start 0x66 2023-08-14 08:23:43.053 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x6c grid_power_l1 to block with start 0x66 2023-08-14 08:23:43.053 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x6d grid_frequency_l1 to block with start 0x66 2023-08-14 08:23:43.053 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x6e grid_voltage_l2 to block with start 0x66 2023-08-14 08:23:43.053 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x6f grid_current_l2 to block with start 0x66 2023-08-14 08:23:43.064 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x70 grid_power_l2 to block with start 0x66 2023-08-14 08:23:43.064 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x71 grid_frequency_l2 to block with start 0x66 2023-08-14 08:23:43.064 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x72 grid_voltage_l3 to block with start 0x66 2023-08-14 08:23:43.064 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x73 grid_current_l3 to block with start 0x66 2023-08-14 08:23:43.064 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x74 grid_power_l3 to block with start 0x66 2023-08-14 08:23:43.064 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x75 grid_frequency_l3 to block with start 0x66 2023-08-14 08:23:43.064 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x76 eps_voltage_l1 to block with start 0x66 2023-08-14 08:23:43.064 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x77 eps_current_l1 to block with start 0x66 2023-08-14 08:23:43.064 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x78 eps_power_active_l1 to block with start 0x66 2023-08-14 08:23:43.064 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x79 eps_power_l1 to block with start 0x66 2023-08-14 08:23:43.064 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x7a eps_voltage_l2 to block with start 0x66 2023-08-14 08:23:43.064 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x7b eps_current_l2 to block with start 0x66 2023-08-14 08:23:43.064 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x7c eps_power_active_l2 to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x7d eps_power_l2 to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x7e eps_voltage_l3 to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x7f eps_current_l3 to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x80 eps_power_active_l3 to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x81 eps_power_l3 to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x82 measured_power_l1 to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x84 measured_power_l2 to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x86 measured_power_l3 to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x88 grid_mode_runtime to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x8a eps_mode_runtime to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x8e eps_yield_total to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x90 eps_yield_today to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x91 e_charge_today to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x92 e_charge_total to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x94 solar_energy_total to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x96 solar_energy_today to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x98 export_energy_today to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x9a import_energy_today to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xa8 meter_2_measured_power to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xaa meter_2_export_total to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xac meter_2_import_total to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xae meter_2_export_today to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xb0 meter_2_import_today to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xb2 meter_2_measured_power_l1 to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xb4 meter_2_measured_power_l2 to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xb6 meter_2_measured_power_l3 to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xb8 meter_1_communication_state to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xb9 meter_2_communication_state to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xc8 grid_frequency_meter to block with start 0x66 2023-08-14 08:23:43.065 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xc9 grid_voltage_meter to block with start 0x66 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xca grid_voltage_meter_l1 to block with start 0x66 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] Starting new block at 0xcb 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xcb grid_voltage_meter_l2 to block with start 0xcb 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0xcc grid_voltage_meter_l3 to block with start 0xcb 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x100 modbus_power_control to block with start 0xcb 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x101 target_finish_flag to block with start 0xcb 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x102 active_power_target to block with start 0xcb 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x104 reactive_power_target to block with start 0xcb 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x106 active_power_real to block with start 0xcb 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x108 reactive_power_real to block with start 0xcb 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x10a active_power_upper to block with start 0xcb 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x10c active_power_lower to block with start 0xcb 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x10e reactive_power_upper to block with start 0xcb 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x110 reactive_power_lower to block with start 0xcb 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] adding register 0x114 charge_discharge_power to block with start 0xcb 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] SolaX returning holding block: 0x0 0x7 [0] 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] SolaX returning holding block: 0x7d 0xbc [125, 129, 130, 131, 132, 133, 139, 140, 141, 142, 143, 144, 145, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 161, 162, 163, 164, 165, 166, 167, 170, 178, 181, 182, 183, 186, 187] 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] SolaX returning holding block: 0x102 0x133 [258, 259, 260, 261, 262, 263, 264, 265, 266, 273, 275, 277, 278, 279, 280, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 303, 304, 305, 306] 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] SolaX returning input block: 0x0 0x55 [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 19, 20, 21, 22, 23, 24, 26, 28, 29, 32, 33, 35, 36, 37, 38, 70, 72, 74, 79, 80, 82, 84] 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] SolaX returning input block: 0x66 0xcb [102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 132, 134, 136, 138, 142, 144, 145, 146, 148, 150, 152, 154, 168, 170, 172, 174, 176, 178, 180, 182, 184, 185, 200, 201, 202] 2023-08-14 08:23:43.066 INFO (MainThread) [custom_components.solax_modbus.sensor] SolaX returning input block: 0xcb 0x116 [203, 204, 256, 257, 258, 260, 262, 264, 266, 268, 270, 272, 276] 2023-08-14 08:23:43.072 INFO (MainThread) [custom_components.solax_modbus.sensor] computedRegs: {'grid_export': SolaXModbusSensorEntityDescription(key='grid_export', device_class=<SensorDeviceClass.POWER: 'power'>, entity_category=None, entity_registry_enabled_default=True, entity_registry_visible_default=True, force_update=False, icon='mdi:home-export-outline', has_entity_name=False, name='Grid Export', translation_key=None, unit_of_measurement=None, last_reset=None, native_unit_of_measurement=<UnitOfPower.WATT: 'W'>, options=None, state_class=<SensorStateClass.MEASUREMENT: 'measurement'>, suggested_display_precision=None, suggested_unit_of_measurement=None, allowedtypes=14, scale=1, read_scale_exceptions=None, read_scale=1, blacklist=None, register=-1, rounding=1, register_type=1, unit='_uint16', newblock=False, value_function=<function value_function_grid_export at 0x7fcb4a763100>, wordcount=None, sleepmode=1, ignore_readerror=False), 'grid_import': SolaXModbusSensorEntityDescription(key='grid_import', device_class=<SensorDeviceClass.POWER: 'power'>, entity_category=None, entity_registry_enabled_default=True, entity_registry_visible_default=True, force_update=False, icon='mdi:home-import-outline', has_entity_name=False, name='Grid Import', translation_key=None, unit_of_measurement=None, last_reset=None, native_unit_of_measurement=<UnitOfPower.WATT: 'W'>, options=None, state_class=<SensorStateClass.MEASUREMENT: 'measurement'>, suggested_display_precision=None, suggested_unit_of_measurement=None, allowedtypes=14, scale=1, read_scale_exceptions=None, read_scale=1, blacklist=None, register=-1, rounding=1, register_type=1, unit='_uint16', newblock=False, value_function=<function value_function_grid_import at 0x7fcb4a763060>, wordcount=None, sleepmode=1, ignore_readerror=False), 'house_load': SolaXModbusSensorEntityDescription(key='house_load', device_class=<SensorDeviceClass.POWER: 'power'>, entity_category=None, entity_registry_enabled_default=True, entity_registry_visible_default=True, force_update=False, icon='mdi:home', has_entity_name=False, name='House Load', translation_key=None, unit_of_measurement=None, last_reset=None, native_unit_of_measurement=<UnitOfPower.WATT: 'W'>, options=None, state_class=<SensorStateClass.MEASUREMENT: 'measurement'>, suggested_display_precision=None, suggested_unit_of_measurement=None, allowedtypes=14, scale=1, read_scale_exceptions=None, read_scale=1, blacklist=None, register=-1, rounding=1, register_type=1, unit='_uint16', newblock=False, value_function=<function value_function_house_load at 0x7fcb4a7631a0>, wordcount=None, sleepmode=1, ignore_readerror=False), 'house_load_alt': SolaXModbusSensorEntityDescription(key='house_load_alt', device_class=<SensorDeviceClass.POWER: 'power'>, entity_category=None, entity_registry_enabled_default=False, entity_registry_visible_default=True, force_update=False, icon='mdi:home', has_entity_name=False, name='House Load Alt', translation_key=None, unit_of_measurement=None, last_reset=None, native_unit_of_measurement=<UnitOfPower.WATT: 'W'>, options=None, state_class=<SensorStateClass.MEASUREMENT: 'measurement'>, suggested_display_precision=None, suggested_unit_of_measurement=None, allowedtypes=14, scale=1, read_scale_exceptions=None, read_scale=1, blacklist=None, register=-1, rounding=1, register_type=1, unit='_uint16', newblock=False, value_function=<function value_function_house_load_alt at 0x7fcb4a763240>, wordcount=None, sleepmode=1, ignore_readerror=False), 'pv_power_total': SolaXModbusSensorEntityDescription(key='pv_power_total', device_class=<SensorDeviceClass.POWER: 'power'>, entity_category=None, entity_registry_enabled_default=True, entity_registry_visible_default=True, force_update=False, icon='mdi:solar-power-variant', has_entity_name=False, name='PV Power Total', translation_key=None, unit_of_measurement=None, last_reset=None, native_unit_of_measurement=<UnitOfPower.WATT: 'W'>, options=None, state_class=<SensorStateClass.MEASUREMENT: 'measurement'>, suggested_display_precision=None, suggested_unit_of_measurement=None, allowedtypes=5120, scale=1, read_scale_exceptions=None, read_scale=1, blacklist=None, register=-1, rounding=1, register_type=1, unit='_uint16', newblock=False, value_function=<function value_function_pv_power_total at 0x7fcb4a762d40>, wordcount=None, sleepmode=1, ignore_readerror=False), 'remotecontrol_autorepeat_remaining': SolaXModbusSensorEntityDescription(key='remotecontrol_autorepeat_remaining', device_class=None, entity_category=None, entity_registry_enabled_default=True, entity_registry_visible_default=True, force_update=False, icon='mdi:home-clock', has_entity_name=False, name='Remotecontrol Autorepeat Remaining', translation_key=None, unit_of_measurement=None, last_reset=None, native_unit_of_measurement=<UnitOfTime.SECONDS: 's'>, options=None, state_class=<SensorStateClass.MEASUREMENT: 'measurement'>, suggested_display_precision=None, suggested_unit_of_measurement=None, allowedtypes=8, scale=1, read_scale_exceptions=None, read_scale=1, blacklist=None, register=-1, rounding=1, register_type=1, unit='_uint16', newblock=False, value_function=<function value_function_remotecontrol_autorepeat_remaining at 0x7fcb4a5b93a0>, wordcount=None, sleepmode=1, ignore_readerror=False)} 2023-08-14 08:23:48.714 INFO (MainThread) [custom_components.solax_modbus.plugin_solax] local data update callback 2023-08-14 08:24:38.809 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.solax_control_setpoint (<class 'homeassistant.components.template.sensor.SensorTemplate'>) is using native unit of measurement 'W' which is not a valid unit for the device class ('energy') it is using; expected one of ['Wh', 'kWh', 'MJ', 'GJ', 'MWh']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+template%22 2023-08-14 08:24:38.810 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.solax_battery_power_charge_inverted (<class 'homeassistant.components.template.sensor.SensorTemplate'>) is using native unit of measurement 'kW' which is not a valid unit for the device class ('energy') it is using; expected one of ['Wh', 'kWh', 'MJ', 'GJ', 'MWh']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+template%22 2023-08-14 08:39:39.122 INFO (MainThread) [homeassistant.components.analytics] Submitted analytics to Home Assistant servers. Information submitted includes {'uuid': 'c4bff89eb4974f028234818a58f819bf', 'version': '2023.8.2', 'installation_type': 'Home Assistant OS', 'supervisor': {'healthy': True, 'supported': True, 'arch': 'amd64'}, 'operating_system': {'board': 'ova', 'version': '10.4'}, 'certificate': False, 'integrations': ['home_connect', 'hassio', 'min_max', 'switch', 'version', 'solaredge', 'person', 'pi_hole', 'sensor', 'github', 'local_calendar', 'stookalert', 'timer', 'onvif', 'cert_expiry', 'whois', 'telegram_bot', 'zone', 'uptime', 'input_number', 'plex', 'google_translate', 'roomba', 'forecast_solar', 'logger', 'default_config', 'template', 'mqtt', 'season', 'script', 'esphome', 'daikin', 'lametric', 'dlna_dms', 'synology_dsm', 'openuv', 'openexchangerates', 'dlna_dmr', 'zodiac', 'dsmr', 'zha', 'xbox', 'utility_meter', 'webostv', 'shelly', 'input_boolean', 'wake_on_lan', 'sun', 'bluetooth', 'mobile_app', 'group', 'unifi', 'sql', 'workday', 'input_button', 'local_ip', 'ffmpeg', 'automation', 'buienradar', 'homeassistant', 'co2signal', 'scene', 'xiaomi_miio', 'http', 'moon', 'frontend', 'brother', 'media_player', 'tts', 'nibe_heatpump', 'energy', 'dnsip', 'jellyfin', 'tasmota', 'radio_browser', 'recorder', 'notify', 'zwave_js', 'bmw_connected_drive', 'luftdaten'], 'custom_integrations': [{'domain': 'nibe', 'version': <AwesomeVersion SemVer '1.5.9'>}, {'domain': 'entsoe', 'version': <AwesomeVersion SemVer '0.0.1'>}, {'domain': 'solaredgeoptimizers', 'version': <AwesomeVersion SemVer '1.2.2'>}, {'domain': 'frank_energie', 'version': <AwesomeVersion SemVer '2.5.0'>}, {'domain': 'hacs', 'version': <AwesomeVersion SemVer '1.32.1'>}, {'domain': 'knmi', 'version': <AwesomeVersion SemVer '1.5.0'>}, {'domain': 'wellbeing', 'version': <AwesomeVersion SemVer '0.0.0'>}, {'domain': 'solaredge_modbus_multi', 'version': <AwesomeVersion SemVer '2.4.1'>}, {'domain': 'solax_modbus', 'version': <AwesomeVersion CalVer '2023.07.3'>}, {'domain': 'electrolux_status', 'version': <AwesomeVersion SemVer '1.2.0'>}, {'domain': 'husqvarna_automower', 'version': <AwesomeVersion CalVer '2023.8.0'>}, {'domain': 'comfoconnect', 'version': <AwesomeVersion SemVer '0.1.8'>}], 'addons': [{'slug': 'a0d7b954_vscode', 'protected': True, 'version': '5.10.0', 'auto_update': True}, {'slug': 'core_samba', 'protected': True, 'version': '10.0.2', 'auto_update': True}, {'slug': 'a0d7b954_nodered', 'protected': True, 'version': '14.4.4', 'auto_update': True}, {'slug': 'core_ssh', 'protected': True, 'version': '9.7.1', 'auto_update': True}, {'slug': 'core_zwave_js', 'protected': True, 'version': '0.1.85', 'auto_update': False}, {'slug': 'core_rpc_shutdown', 'protected': True, 'version': '2.4', 'auto_update': False}, {'slug': '5c53de3b_esphome', 'protected': True, 'version': '2023.7.1', 'auto_update': False}, {'slug': 'core_mariadb', 'protected': True, 'version': '2.6.1', 'auto_update': False}, {'slug': 'a0d7b954_phpmyadmin', 'protected': True, 'version': '0.8.7', 'auto_update': False}, {'slug': '15d21743_samba_backup', 'protected': True, 'version': '5.2.0', 'auto_update': True}, {'slug': 'core_mosquitto', 'protected': True, 'version': '6.2.1', 'auto_update': False}, {'slug': 'a0d7b954_grafana', 'protected': True, 'version': '9.0.3', 'auto_update': False}, {'slug': '5b918bf2_emhass', 'protected': True, 'version': '0.3.15', 'auto_update': False}, {'slug': 'ccab4aaf_frigate', 'protected': True, 'version': '0.12.1', 'auto_update': False}], 'energy': {'configured': True}, 'recorder': {'engine': 'mysql', 'version': <AwesomeVersion SimpleVer '10.6.12'>}, 'state_count': 2409, 'automation_count': 96, 'integration_count': 80, 'addon_count': 14, 'user_count': 4} 2023-08-14 08:52:58.970 INFO (MainThread) [custom_components.solax_modbus.number] *** local data written remotecontrol_active_power: -1000.0 2023-08-14 08:53:00.690 INFO (MainThread) [custom_components.solax_modbus] saved modified persistent date: {'_version': 1, 'remotecontrol_active_power': -1000.0, 'remotecontrol_reactive_power': 0, 'remotecontrol_duration': 10.0, 'remotecontrol_autorepeat_duration': 3600.0, 'remotecontrol_import_limit': 20000, 'config_export_control_limit_readscale': None, 'config_max_export': None, 'remotecontrol_power_control': 'Enabled Battery Control', 'remotecontrol_set_type': 'Set'} 2023-08-14 08:53:00.690 INFO (MainThread) [custom_components.solax_modbus.plugin_solax] local data update callback 2023-08-14 09:46:44.725 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Running pre installation steps 2023-08-14 09:46:44.725 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Pre installation steps completed 2023-08-14 09:46:44.725 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Running installation steps 2023-08-14 09:46:46.415 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of manifest.json completed 2023-08-14 09:46:46.427 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of button.py completed 2023-08-14 09:46:46.437 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of plugin_growatt.py completed 2023-08-14 09:46:46.441 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of plugin_sofar.py completed 2023-08-14 09:46:46.443 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of plugin_sofar_old.py completed 2023-08-14 09:46:46.456 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of config_flow.py completed 2023-08-14 09:46:46.457 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of init.py completed 2023-08-14 09:46:46.467 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of number.py completed 2023-08-14 09:46:46.471 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of const.py completed 2023-08-14 09:46:46.493 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of plugin_solax.py completed 2023-08-14 09:46:47.582 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of plugin_solax_ev_charger.py completed 2023-08-14 09:46:47.594 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of plugin_solis.py completed 2023-08-14 09:46:47.611 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of plugin_solis_old.py completed 2023-08-14 09:46:47.616 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of select.py completed 2023-08-14 09:46:47.621 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of sensor.py completed 2023-08-14 09:46:47.625 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of de.json completed 2023-08-14 09:46:47.642 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of en.json completed 2023-08-14 09:46:47.657 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of se.json completed 2023-08-14 09:46:47.727 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of strings.json completed 2023-08-14 09:46:47.926 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Download of nl.json completed 2023-08-14 09:46:48.929 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Installation steps completed 2023-08-14 09:46:48.929 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Running post installation steps 2023-08-14 09:46:48.940 INFO (SyncWorker_3) [homeassistant.loader] Loaded solax_modbus from custom_components.solax_modbus 2023-08-14 09:46:48.940 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration solax_modbus which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-08-14 09:46:48.955 INFO (MainThread) [custom_components.hacs] <Integration wills106/homeassistant-solax-modbus> Post installation steps completed

Additional context A other thing i see is the following. My whole system is in decimal and dot notation. So a decimal comma and a dot for every 1000's. like we have in the netherlands. My laptop is this, my home assisitant is this. but i see this in the integration: afbeelding The control setpoint has a dot instead of a comma. and the seconds also have this. Don;t known is this is releated

Frank,

frank8the9tank commented 1 year ago

looking trough the documentation i found:

1: remotecontrol_active_power: The target active power level. The current implementation will automatically limit the specified value into the range determined by the modbus registers active_power_lower and active_power_upper (readonly sensors that are updated by the inverter continuously).

2: When remotecontrol_power_control = Enabled Battery Control is chosen, the target value refers to the battery interface where positive values mean charge, negative values mean discharge. If target is set to zero, excess PV power will be sent to the grid.

So the control value is in between registers active_power_lower and active_power_upper.

But when i looks at those now in home assistant, they have strange values for the last 2 days: image

Looking at this i see: When the control loop is disabled, i see the active power lower being updated by the inverter, But when i enable the loop it stops updating.

So could this be the reason why i cannot lower the control loop value?, As it has to be in between the lower and upper, But lower never lowered again.

infradom commented 1 year ago

I wonder if this is not related to a recent solax update. There is a similar bug report involving the remotecontrol power. See issue #488 Which firmware versions are you running ? I hesitate to upgrade my inverter as I am running on remotecontrol almost all the time ...

frank8the9tank commented 1 year ago

i have made a video about the problem, My firmware is the following: DSP: 2.07, ARM 2.03 But i didn't update the firmware on my inverter, nor did i notice this. Can solax do that without me knowing that?

https://github.com/wills106/homeassistant-solax-modbus/assets/84384888/408d42dd-3c40-480d-a6ba-bddbe4c41ccf

frank8the9tank commented 1 year ago

The same for me, i run on remote control 24/7.

I think that the lower limit is the problem, image until august the 12th its fine, after that, problems.

infradom commented 1 year ago

Could you also have a look at these version variables (maybe disabled by default):

image

If your system is connected to the cloud, Solax may have updated this without notice

infradom commented 1 year ago

I now also noticed you remark about the comma / dot This is strange ... but this one is expressed in kW instead of Watt

infradom commented 1 year ago

I cannot find a variable named control_setpoint Did you rename this? what was the original name ?

frank8the9tank commented 1 year ago

yes firmware updated: .... without me known about it. image

frank8the9tank commented 1 year ago

That control setpoint is something from my own Ha installation. That is the number that i calculate based on my meter readings and other inverters, and that copies to the control setpoint from the solax integration. It could be that the number are off by watt or kilowatt, i think i already was messing with thing be for i noticed the real problem. But still that wrong dot/comma notation is there

frank8the9tank commented 1 year ago

image

infradom commented 1 year ago

Thanks, we could remove the limiting done by the remotecontrol loop, and hope that solax limits itself to reasonable values. But I feel unsure about this. Maybe Solax will issue a bug correction. I will try to contact them, but as I have a bad flue these days, not sure when. ...

         ('remotecontrol_active_power',   max(min(ap_up, ap_target),   ap_lo), ),
frank8the9tank commented 1 year ago

I think at least we should remove our own limit on that value, so we can see that the control value still gets accepted by the inverter, maybe as a beta? Can you do this?

infradom commented 1 year ago

I find this dangerous, so I would not dare to test this on my inverter, unless solax declares it is fine.

infradom commented 1 year ago

But if you are willing to take the risk: following line must be modfied in plugin_sollax.py:

     ('remotecontrol_active_power',   max(min(ap_up, ap_target),   ap_lo), ),

into

     ('remotecontrol_active_power',  min(ap_up, ap_target), ),
frank8the9tank commented 1 year ago

in the mean time i have, changed it to('remotecontrol_active_power', ap_target, ), for testing. And what i see now that i can use the control loop as before. so increasing and decreasing works again this way in the negative range, so charging the battery.

And what i also see is then when i go from -1000 to -2000, then the value for the limit get updated afterwards . So it looks like the integration has to change that is first set the new negative setpoint and than get a new limit from the inverter and it needs to round/limit to that. (instead of now check first for within limit and set new value).

I known for sure that are limit within the invert is self. example: I also ways charge with 8kw to my battery to 100% But the last 5% the inverter ramps this value down in steps when it gets closer to 100%, no matter what i set the charge value. So i presume that do that also for the negative range (discharging)

And for safety when i copy my calculated setpoint from automation i round it with -3000 to 8000.

service: number.set_value data: value: >- {{ ([-3000, (states('sensor.solax_control_setpoint')|float ), 8000]|sort)[1] }} target: entity_id: number.solax_remotecontrol_active_power

infradom commented 1 year ago

Thanks for testing this ! This makes me feel more at ease. I am still a bit sick these days, so once I feel better I will probably adapt the code

frank8the9tank commented 1 year ago

okay, will keep you updated.

frank8the9tank commented 1 year ago

Check my system this morning, but looks like all is back to normal as before. So removing that limiting factor from the integration helped. I don't see any other changes made by the software update.

frank8the9tank commented 1 year ago

@wills106 What is the status on this? is this going to be fixed in coming updates? asking nicely.

wills106 commented 1 year ago

This should have been corrected in 2023.09.1?

frank8the9tank commented 1 year ago

I have updated to the latest version, and indeed this is fixed, Many thanks!