EOS_connect icon indicating copy to clipboard operation
EOS_connect copied to clipboard

EOS Connect starting and immediatly shuts down again in Home Assistant

Open alien0matic opened this issue 1 year ago • 5 comments

I installed the Add-On and EOS Connect as mentioned in the documentation. The EOS Add-On starts and I can connect to the dashboard. The EOS Connect Add-On starts and shuts down immediatly after starting. Any help is appreciated.

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started Warning! Library version information error. The HDF5 library version information are not consistent in its source code. This is NOT a fatal error but should be corrected. Setting the environment variable 'HDF5_DISABLE_VERSION_CHECK' to a value of 1 will suppress this warning. Library version information are: H5_VERS_MAJOR=1, H5_VERS_MINOR=14, H5_VERS_RELEASE=4, H5_VERS_SUBRELEASE=2, H5_VERS_INFO=HDF5 library version: 1.14.4 2025-08-19 08:23:48 INFO [Main] Starting eos_connect - version: 0.1.22 2025-08-19 10:23:49 INFO [Main] set user defined time zone to Europe/Berlin and loglevel to INFO 2025-08-19 10:23:49 INFO [EOS] Getting EOS version: >=2025-04-09 2025-08-19 10:23:49 INFO [BASE_CTRL] Update service started. 2025-08-19 10:23:49 INFO [Inverter] Inverter type default - no external connection. Changing to show only mode. 2025-08-19 10:23:49 INFO [MQTT] MQTT is disabled, skipping initialization. 2025-08-19 10:23:49 INFO [EVCC] URL is not set. Assuming no evcc connection is needed. 2025-08-19 10:23:49 INFO [EVCC] Not configured. Update service not started. 2025-08-19 10:23:49 INFO [BATTERY-IF] Update service started. 2025-08-19 10:23:49 ERROR [PRICE-IF] Access token is required for Tibber source but not provided. Usiung default price source. 2025-08-19 10:23:49 INFO [PRICE-IF] Initialized with source: default, feed_in_tariff_price: 0.0747, negative_price_switch: False 2025-08-19 10:23:49 INFO [PV-IF] Initialized 2025-08-19 10:23:49 INFO [PV-IF] Update service started. 2025-08-19 10:23:49 INFO [Main] Waiting 4 seconds for interfaces to initialize 2025-08-19 10:23:49 INFO [BATTERY-IF] Max dynamic charge power changed to 4000 W 2025-08-19 10:23:49 INFO [PV-IF] PV and Temperature updated 2025-08-19 10:23:53 INFO [Main] start new run 2025-08-19 10:23:53 INFO [OPTIMIZATION] Update service started. 2025-08-19 10:23:53 INFO [OPTIMIZATION] Update service 2 started. 2025-08-19 10:23:53 INFO [Main] Cleanup complete. Exiting. s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

alien0matic avatar Aug 19 '25 09:08 alien0matic

Can you please switch loglevel in config to debug and post the log again?

Then there are more details. Maybe also your config, so I can test with same config on my dev.

ohAnd avatar Aug 19 '25 19:08 ohAnd

This is the debug log s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started Warning! Library version information error. The HDF5 library version information are not consistent in its source code. This is NOT a fatal error but should be corrected. Setting the environment variable 'HDF5_DISABLE_VERSION_CHECK' to a value of 1 will suppress this warning. Library version information are: H5_VERS_MAJOR=1, H5_VERS_MINOR=14, H5_VERS_RELEASE=4, H5_VERS_SUBRELEASE=2, H5_VERS_INFO=HDF5 library version: 1.14.4 2025-08-20 08:30:36 INFO [Main] Starting eos_connect - version: 0.1.22 2025-08-20 10:30:36 INFO [Main] set user defined time zone to Europe/Berlin and loglevel to DEBUG 2025-08-20 10:30:36 INFO [EOS] Getting EOS version: >=2025-04-09 2025-08-20 10:30:36 INFO [BASE_CTRL] Update service started. 2025-08-20 10:30:36 INFO [Inverter] Inverter type default - no external connection. Changing to show only mode. 2025-08-20 10:30:36 INFO [MQTT] MQTT is disabled, skipping initialization. 2025-08-20 10:30:36 INFO [EVCC] URL is not set. Assuming no evcc connection is needed. 2025-08-20 10:30:36 INFO [EVCC] Not configured. Update service not started. 2025-08-20 10:30:36 DEBUG [LOAD-IF] Config check successful using 'homeassistant' 2025-08-20 10:30:36 INFO [BATTERY-IF] Update service started. 2025-08-20 10:30:36 INFO [PRICE-IF] Initialized with source: default, feed_in_tariff_price: 0.0747, negative_price_switch: False 2025-08-20 10:30:36 DEBUG [PV-IF] Initializing with 1st source: akkudoktor 2025-08-20 10:30:36 DEBUG [PV-IF] Initialize - pv entries found: 1 2025-08-20 10:30:36 DEBUG [PV-IF] Initialize - config entry name: roof_southwest 2025-08-20 10:30:36 INFO [PV-IF] Initialized 2025-08-20 10:30:36 DEBUG [PV-IF] fetching forecast for 'roof_southwest' 2025-08-20 10:30:36 INFO [PV-IF] Update service started. 2025-08-20 10:30:36 INFO [Main] Waiting 4 seconds for interfaces to initialize 2025-08-20 10:30:37 DEBUG [BATTERY-IF] successfully fetched SOC = 31.0 % 2025-08-20 10:30:37 INFO [BATTERY-IF] Max dynamic charge power changed to 4000 W 2025-08-20 10:30:37 DEBUG [PV-IF] PV forecast fetched successfully for roof_southwest 2025-08-20 10:30:37 DEBUG [PV-IF] PV forecast updated successfully 2025-08-20 10:30:37 DEBUG [PV-IF] Temperature forecast fetched successfully 2025-08-20 10:30:37 INFO [PV-IF] PV and Temperature updated 2025-08-20 10:30:40 INFO [Main] start new run 2025-08-20 10:30:40 DEBUG [PRICE-IF] Fetching prices from akkudoktor ... 2025-08-20 10:30:40 INFO [OPTIMIZATION] Update service started. 2025-08-20 10:30:40 DEBUG [PRICE-IF] Requesting prices from akkudoktor: https://api.akkudoktor.net/prices?start=2025-08-20&end=2025-08-21 2025-08-20 10:30:40 INFO [OPTIMIZATION] Update service 2 started. 2025-08-20 10:30:41 INFO [Main] Cleanup complete. Exiting. s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

alien0matic avatar Aug 20 '25 08:08 alien0matic

This is the config, I removed the tokens as well as my location from pv forecast. `load: source: homeassistant url: http://homeassistant.local:8123 access_token: >- mytoken load_sensor: sensor.scb_home_power car_charge_load_sensor: "" additional_load_1_sensor: "" additional_load_1_runtime: 0 additional_load_1_consumption: 0 eos: server: homeassistant.local port: 8503 timeout: 180 price: source: default token: "" fixed_24h_array: "" feed_in_price: 0.0747 negative_price_switch: false battery: source: homeassistant url: http://homeassistant.local:8123 soc_sensor: sensor.scb_battery_soc access_token: >- mytoken capacity_wh: 7680 charge_efficiency: 0.88 discharge_efficiency: 0.88 max_charge_power_w: 4000 min_soc_percentage: 5 max_soc_percentage: 100 price_euro_per_wh_accu: 0.38867188 pv_forecast_source: source: akkudoktor pv_forecast:

  • name: roof_southwest lat: mylat lon: mylong azimuth: 63 tilt: 40 power: 3960 powerInverter: 4200 inverterEfficiency: 0.9 horizon: 10,20,10,15 inverter: type: default address: 192.168.1.12 user: customer password: abc123 max_grid_charge_rate: 5000 max_pv_charge_rate: 5000 evcc: url: http://yourEVCCserver:7070 mqtt: enabled: false broker: localhost port: 1883 user: mqtt_user password: mqtt_password tls: false ha_mqtt_auto_discovery: true ha_mqtt_auto_discovery_prefix: homeassistant refresh_time: 3 time_zone: Europe/Berlin eos_connect_web_port: 8081 log_level: info`

alien0matic avatar Aug 20 '25 08:08 alien0matic

Ok, seems like port 8081 wasn't free, changing it to 8082 seems to do the trick. It might be a good idea to print an error message when the port is already in use.

alien0matic avatar Aug 20 '25 09:08 alien0matic

ah, thanks for the hint. without that info it had took a long time to find out on my side ;-) Good point for checking this at startup. Will use this issue as working item...

ohAnd avatar Aug 20 '25 10:08 ohAnd