EOS_connect icon indicating copy to clipboard operation
EOS_connect copied to clipboard

After latest Dev-Update (to 0.3.41.372) the App doesn't start anymore

Open tepebox opened this issue 1 month ago • 1 comments

Hi, when I try to start the app I get these errors in the log: /package/admin/s6-overlay/libexec/preinit: info: container permissions: uid=0 (root), euid=0, gid=0 (root), egid=0 /package/admin/s6-overlay/libexec/preinit: info: /run permissions: uid=0 (root), gid=0 (root), perms=oxorgxgruxuwur s6-rc-compile: warning: source /etc/s6-overlay/s6-rc.d is empty s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service fix-attrs: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services successfully started 2026-10-25 23:52:06 INFO [Main] Starting eos_connect - version: 0.3.41.372-develop 2026-10-25 23:52:06 INFO [Config] No config.yaml found (HA addon mode) - using defaults 2026-10-25 23:52:06 INFO [Config] Applied HA addon bootstrap values: ['time_zone', 'log_level'] 2026-10-26 00:52:06 DEBUG [Main] Memory log handler initialized successfully 2026-10-26 00:52:06 INFO [Main] set user defined time zone to Europe/Berlin and loglevel to DEBUG 2026-10-26 00:52:06 INFO [ConfigStore] Opened database: /data/eos_connect.db 2026-10-26 00:52:06 DEBUG [Migration] Store already has data — skipping HA options migration 2026-10-26 00:52:06 DEBUG [Migration] Store already has data — skipping migration 2026-10-26 00:52:06 DEBUG [Migration] Skipping clear_deprecated_overrides (already migrated) 2026-10-26 00:52:06 DEBUG [ConfigWeb] Data directory is persistent — /data is persisted by the Home Assistant Supervisor 2026-10-26 00:52:06 INFO [ConfigWeb] DB ready — 183 fields in schema, DB at /data/eos_connect.db 2026-10-26 00:52:06 INFO [OPT-EOS] Getting EOS version: 0.3.0.dev2610201560628681 2026-10-26 00:52:06 WARNING [OPT-EOS] Detected EOS version >= 0.1.0 - config updated with : {'algorithm': 'GENETIC', 'genetic': {'interval_sec': 3600, 'horizon_hours': 24, 'individuals': 300, 'generations': 400, 'seed': None, 'fitness_cache_max_entries': None, 'workers': None, 'pin_workers': True, 'measurement_max_age_seconds': 300, 'tail_horizon_hours': 48, 'terminal_value_mode': 'AUTO', 'terminal_value_euro_per_kwh': 0.0, 'terminal_value_window_hours': 24, 'penalties': {'ev_soc_miss': 10, 'ac_charge_break_even': 1.0}, 'horizon': 24}, 'genetic0': {'horizon_hours': 48, 'individuals': 300, 'generations': 400, 'seed': None, 'penalties': {'ev_soc_miss': 10, 'ac_charge_break_even': 1.0}, 'interval_sec': 3600, 'horizon': 48}, 'self_consumption_interpolator': 'scipy', 'algorithms': ['GENETIC', 'GENETIC0'], 'keys': ['battery1_fault_op_factor', 'battery1_fault_op_mode', 'battery1_forced_charge_op_factor', 'battery1_forced_charge_op_mode', 'battery1_forced_discharge_op_factor', 'battery1_forced_discharge_op_mode', 'battery1_frequency_regulation_op_factor', 'battery1_frequency_regulation_op_mode', 'battery1_grid_support_export_op_factor', 'battery1_grid_support_export_op_mode', 'battery1_grid_support_import_op_factor', 'battery1_grid_support_import_op_mode', 'battery1_idle_op_factor', 'battery1_idle_op_mode', 'battery1_non_export_op_factor', 'battery1_non_export_op_mode', 'battery1_outage_supply_op_factor', 'battery1_outage_supply_op_mode', 'battery1_peak_shaving_op_factor', 'battery1_peak_shaving_op_mode', 'battery1_ramp_rate_control_op_factor', 'battery1_ramp_rate_control_op_mode', 'battery1_reserve_backup_op_factor', 'battery1_reserve_backup_op_mode', 'battery1_self_consumption_op_factor', 'battery1_self_consumption_op_mode', 'battery1_soc_factor', 'costs_amt', 'date_time', 'dishwasher1_energy_wh', 'dishwasher1_off_op_factor', 'dishwasher1_off_op_mode', 'dishwasher1_run_op_factor', 'dishwasher1_run_op_mode', 'ev11_fault_op_factor', 'ev11_fault_op_mode', 'ev11_forced_charge_op_factor', 'ev11_forced_charge_op_mode', 'ev11_forced_discharge_op_factor', 'ev11_forced_discharge_op_mode', 'ev11_frequency_regulation_op_factor', 'ev11_frequency_regulation_op_mode', 'ev11_grid_support_export_op_factor', 'ev11_grid_support_export_op_mode', 'ev11_grid_support_import_op_factor', 'ev11_grid_support_import_op_mode', 'ev11_idle_op_factor', 'ev11_idle_op_mode', 'ev11_non_export_op_factor', 'ev11_non_export_op_mode', 'ev11_outage_supply_op_factor', 'ev11_outage_supply_op_mode', 'ev11_peak_shaving_op_factor', 'ev11_peak_shaving_op_mode', 'ev11_ramp_rate_control_op_factor', 'ev11_ramp_rate_control_op_mode', 'ev11_reserve_backup_op_factor', 'ev11_reserve_backup_op_mode', 'ev11_self_consumption_op_factor', 'ev11_self_consumption_op_mode', 'ev11_soc_factor', 'genetic_ac_charge_factor', 'genetic_battery_grid_export_allowed_factor', 'genetic_dc_charge_factor', 'genetic_discharge_allowed_factor', 'genetic_ev_charge_factor', 'grid_consumption_energy_wh', 'grid_feedin_energy_wh', 'load_energy_wh', 'losses_energy_wh', 'revenue_amt'], 'horizon_hours': 48} 2026-10-26 00:52:06 ERROR [Factory] Failed to create optimization_interface (critical=True): Failed to load optimizer configuration: 0 Traceback (most recent call last): File "/app/src/interface_factory.py", line 538, in _create_interface interface = creator_func() File "/app/src/interface_factory.py", line 496, in creator_func=lambda: self._import_and_create( ~~~~~~~~~~~~~~~~~~~~~~~^ "interfaces.optimization_interface", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<5 lines>... inverter_max_pv_charge_rate_w=inverter_max_pv_charge_rate_w, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ), ^ File "/app/src/interface_factory.py", line 701, in _import_and_create return cls(*args, **kwargs) File "/app/src/interfaces/optimization_interface.py", line 137, in init self.backend = EOSBackend( ~~~~~~~~~~^ self.base_url, self.time_frame_base, self.time_zone ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/app/src/interfaces/optimization_backends/optimization_backend_eos.py", line 73, in init elif "charge_rates" not in config_devices[0]: ~~~~~~~~~~~~~~^^^ KeyError: 0 2026-10-26 00:52:06 ERROR [optimization_interface] Optimizer backend failed to initialize: Failed to load optimizer configuration: 0 | Config: #eos | ACTION REQUIRED Traceback (most recent call last): File "/app/src/eos_connect.py", line 194, in eos_interface = interface_factory.create_optimization_interface( config=config_manager.config["eos"], ...<8 lines>... ), ) File "/app/src/interface_factory.py", line 489, in create_optimization_interface return self._create_interface( ~~~~~~~~~~~~~~~~~~~~~~^ component_name="optimization_interface", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<13 lines>... ), ^^ ) ^ File "/app/src/interface_factory.py", line 538, in _create_interface interface = creator_func() File "/app/src/interface_factory.py", line 496, in creator_func=lambda: self._import_and_create( ~~~~~~~~~~~~~~~~~~~~~~~^ "interfaces.optimization_interface", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<5 lines>... inverter_max_pv_charge_rate_w=inverter_max_pv_charge_rate_w, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ), ^ File "/app/src/interface_factory.py", line 701, in _import_and_create return cls(*args, **kwargs) File "/app/src/interfaces/optimization_interface.py", line 137, in init self.backend = EOSBackend( ~~~~~~~~~~^ self.base_url, self.time_frame_base, self.time_zone ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/app/src/interfaces/optimization_backends/optimization_backend_eos.py", line 73, in init elif "charge_rates" not in config_devices[0]: ~~~~~~~~~~~~~~^^^ KeyError: 0 s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service s6rc-oneshot-runner is marked as essential, not stopping it s6-rc: info: service fix-attrs successfully stopped

Unfortunately, this leads to the whole configuration to be not available anymore. No idea what I should check...

tepebox avatar Oct 25 '26 23:10 tepebox

change on eos side ... check latest develop

ohAnd avatar Oct 26 '26 08:10 ohAnd