LukasGrebe / ha-addons

Addons for Home Assistant
GNU General Public License v3.0
37 stars 42 forks source link

Add-On is not installing #101

Closed sebska closed 5 months ago

sebska commented 5 months ago

Hi, i am using

Home Assistant
Core
2024.1.2
Supervisor
2023.12.0
Operating System
11.3
Frontend
20240104.0

but the add-on ist not installing. I already tried to restart everything. My supervisor.Log shows:

24-01-07 12:32:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
24-01-07 12:32:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
24-01-07 12:32:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
24-01-07 12:32:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
24-01-07 12:32:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
24-01-07 12:32:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
24-01-07 12:32:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
24-01-07 12:32:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
24-01-07 12:32:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
24-01-07 12:32:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
24-01-07 12:32:48 INFO (MainThread) [supervisor.resolution.check] System checks complete
24-01-07 12:32:48 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
24-01-07 12:32:48 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-01-07 12:32:48 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
24-01-07 12:32:48 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
24-01-07 12:34:54 INFO (MainThread) [supervisor.host.info] Updating local host information
24-01-07 12:34:55 INFO (MainThread) [supervisor.host.services] Updating service information
24-01-07 12:34:55 INFO (MainThread) [supervisor.host.network] Updating local network information
24-01-07 12:34:55 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
24-01-07 12:34:55 INFO (MainThread) [supervisor.host.manager] Host information reload completed
24-01-07 12:34:59 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
24-01-07 12:36:47 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqttuser'
24-01-07 12:36:47 INFO (MainThread) [supervisor.auth] Successful login for 'mqttuser'
24-01-07 13:04:59 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
24-01-07 13:32:48 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
24-01-07 13:32:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
24-01-07 13:32:48 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
24-01-07 13:32:49 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
24-01-07 13:32:49 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
24-01-07 13:32:49 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
24-01-07 13:32:49 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
24-01-07 13:32:49 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
24-01-07 13:32:49 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
24-01-07 13:32:49 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
24-01-07 13:32:49 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
24-01-07 13:32:49 INFO (MainThread) [supervisor.resolution.check] System checks complete
24-01-07 13:32:49 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
24-01-07 13:32:49 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-01-07 13:32:49 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
24-01-07 13:32:49 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
24-01-07 13:34:46 INFO (MainThread) [supervisor.backups.manager] Found 5 backup files
24-01-07 13:34:47 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
24-01-07 13:35:00 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
24-01-07 14:05:00 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
24-01-07 14:08:52 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqttuser'
24-01-07 14:08:52 INFO (MainThread) [supervisor.auth] Successful login for 'mqttuser'
24-01-07 14:32:49 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
24-01-07 14:32:49 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
24-01-07 14:32:49 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
24-01-07 14:32:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
24-01-07 14:32:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
24-01-07 14:32:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
24-01-07 14:32:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
24-01-07 14:32:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
24-01-07 14:32:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
24-01-07 14:32:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
24-01-07 14:32:50 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
24-01-07 14:32:50 INFO (MainThread) [supervisor.resolution.check] System checks complete
24-01-07 14:32:50 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
24-01-07 14:32:50 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-01-07 14:32:50 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
24-01-07 14:32:50 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
24-01-07 14:34:57 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
24-01-07 14:34:57 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/LukasGrebe/ha-addons/ repository
24-01-07 14:34:57 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
24-01-07 14:34:57 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/GollumDom/addon-repository repository
24-01-07 14:34:57 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
24-01-07 14:34:59 INFO (MainThread) [supervisor.store] Loading add-ons from store: 75 all - 0 new - 0 remove
24-01-07 14:34:59 INFO (MainThread) [supervisor.store] Loading add-ons from store: 75 all - 0 new - 0 remove
24-01-07 14:35:00 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
24-01-07 14:35:52 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/lukasgrebe/ha-addon-ebusd-aarch64 with version 23.2.3
24-01-07 14:35:57 INFO (SyncWorker_1) [supervisor.docker.manager] Stopping addon_2ad9b828_ebusd application
24-01-07 14:36:01 INFO (SyncWorker_1) [supervisor.docker.manager] Cleaning addon_2ad9b828_ebusd application
24-01-07 14:40:03 INFO (SyncWorker_4) [supervisor.docker.manager] Restarting homeassistant
24-01-07 14:40:21 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
24-01-07 14:40:26 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
24-01-07 14:40:27 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-01-07 14:40:32 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to NOT_RUNNING
24-01-07 14:40:32 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
24-01-07 14:40:32 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
24-01-07 14:40:32 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/LukasGrebe/ha-addons/ repository
24-01-07 14:40:32 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
24-01-07 14:40:32 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/GollumDom/addon-repository repository
24-01-07 14:40:32 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
24-01-07 14:40:34 INFO (MainThread) [supervisor.store] Loading add-ons from store: 75 all - 0 new - 0 remove
24-01-07 14:40:34 INFO (MainThread) [supervisor.store] Loading add-ons from store: 75 all - 0 new - 0 remove
24-01-07 14:40:38 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'homeassistant'
24-01-07 14:40:38 INFO (MainThread) [supervisor.auth] Home Assistant not running, checking cache
24-01-07 14:41:08 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to RUNNING
24-01-07 14:41:08 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
24-01-07 14:41:35 INFO (MainThread) [supervisor.host.info] Updating local host information
24-01-07 14:41:36 INFO (MainThread) [supervisor.host.services] Updating service information
24-01-07 14:41:36 INFO (MainThread) [supervisor.host.network] Updating local network information
24-01-07 14:41:36 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
24-01-07 14:41:36 INFO (MainThread) [supervisor.host.manager] Host information reload completed
24-01-07 14:46:27 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/lukasgrebe/ha-addon-ebusd-aarch64 with version 23.2.3
24-01-07 14:46:32 INFO (SyncWorker_3) [supervisor.docker.manager] Stopping addon_2ad9b828_ebusd application
24-01-07 14:46:36 INFO (SyncWorker_3) [supervisor.docker.manager] Cleaning addon_2ad9b828_ebusd application
24-01-07 14:49:03 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqttuser'
24-01-07 14:49:04 INFO (MainThread) [supervisor.auth] Successful login for 'mqttuser'

What is wrong? It seems that he is trying (14:46:27) but is stopping immediately (14:46:32)

Sebastian

sebska commented 5 months ago

Now i got a log

Logger: homeassistant.setup
Source: setup.py:332
First occurred: 14:40:40 (1 occurrences)
Last logged: 14:40:40

Error during setup of component ebusd
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/ebusdpy/ebusdpy.py", line 14, in init
    sock.connect(address)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 332, in _async_setup_component
    result = await task
             ^^^^^^^^^^
  File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/ebusd/__init__.py", line 69, in setup
    ebusdpy.init(server_address)
  File "/usr/local/lib/python3.11/site-packages/ebusdpy/ebusdpy.py", line 18, in init
    raise EBusError(socket.error)
ebusdpy.ebusdpy.EBusError: <class 'OSError'>
sebska commented 5 months ago
2024-01-07 14:40:40.714 ERROR (MainThread) [homeassistant.setup] Error during setup of component ebusd
File "/usr/local/lib/python3.11/site-packages/ebusdpy/ebusdpy.py", line 14, in init
File "/usr/src/homeassistant/homeassistant/components/ebusd/__init__.py", line 69, in setup
ebusdpy.init(server_address)
File "/usr/local/lib/python3.11/site-packages/ebusdpy/ebusdpy.py", line 18, in init
ebusdpy.ebusdpy.EBusError: <class 'OSError'>
LukasGrebe commented 5 months ago

Hi, Thanks for the logs! It looks like you may be trying to use the ebusd integration from home assistant with the addon? I'm assuming this because the last two logs report ebusd.py - but this addon does not use python at all. See you integrations setup in homeassistant, and remove ebusd there. You won't need it with this addon as all data is sent to ha via MQTT.

As for why the addon immediately terminates (first log at minute 46) after starting the addon, click into the 3rd tab to see the logs of the addon. You'll most likely see an error there.

sebska commented 5 months ago

Hi, yes i tried some things. I put the ebus into the configuration.yaml (like in https://www.home-assistant.io/integrations/ebusd). Now i have undone everything (configuration.yaml and addon deinstalled) and my PI 4 is reebooting. So: I only have to install the addon? I will try it...

sebska commented 5 months ago

Here is my new Supervisor-log:

24-01-08 09:08:19 INFO (MainThread) [supervisor.store] Loading add-ons from store: 75 all - 75 new - 0 remove
24-01-08 09:08:19 INFO (MainThread) [supervisor.addons.manager] Found 6 installed add-ons
24-01-08 09:08:19 INFO (MainThread) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-configurator with version 5.7.0
24-01-08 09:08:19 INFO (MainThread) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-ssh with version 9.8.1
24-01-08 09:08:19 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/esphome/esphome-hassio with version 2023.12.5
24-01-08 09:08:19 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/influxdb/aarch64 with version 5.0.0
24-01-08 09:08:19 INFO (MainThread) [supervisor.docker.interface] Attaching to smeagolworms4/mqtt-explorer with version browser-1.0.3
24-01-08 09:08:19 INFO (MainThread) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-mosquitto with version 6.4.0
24-01-08 09:08:19 INFO (MainThread) [supervisor.backups.manager] Found 6 backup files
24-01-08 09:08:19 INFO (MainThread) [supervisor.discovery] Loaded 2 messages
24-01-08 09:08:19 INFO (MainThread) [supervisor.ingress] Loaded 2 ingress sessions
24-01-08 09:08:19 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state setup
24-01-08 09:08:19 INFO (MainThread) [supervisor.resolution.check] System checks complete
24-01-08 09:08:19 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state setup
24-01-08 09:08:19 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-01-08 09:08:19 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not running - setup
24-01-08 09:08:19 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state setup
24-01-08 09:08:19 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-01-08 09:08:19 INFO (MainThread) [__main__] Running Supervisor
24-01-08 09:08:19 INFO (MainThread) [supervisor.os.manager] Rauc: B - marked slot kernel.1 as good
24-01-08 09:08:19 INFO (MainThread) [supervisor.addons.manager] Phase 'initialize' starting 0 add-ons
24-01-08 09:08:19 INFO (MainThread) [supervisor.addons.manager] Phase 'system' starting 1 add-ons
24-01-08 09:08:20 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-mosquitto with version 6.4.0
24-01-08 09:08:25 INFO (MainThread) [supervisor.addons.manager] Phase 'services' starting 3 add-ons
24-01-08 09:08:26 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-ssh with version 9.8.1
24-01-08 09:08:28 INFO (MainThread) [supervisor.services.modules.mqtt] Set core_mosquitto as service provider for mqtt
24-01-08 09:08:28 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/esphome/esphome-hassio with version 2023.12.5
24-01-08 09:08:30 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/influxdb/aarch64 with version 5.0.0
24-01-08 09:08:35 INFO (MainThread) [supervisor.core] Start Home Assistant Core
24-01-08 09:08:35 INFO (SyncWorker_2) [supervisor.docker.manager] Starting homeassistant
24-01-08 09:08:35 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
24-01-08 09:08:37 INFO (MainThread) [supervisor.api.middleware.security] /dns/info access from a0d7b954_influxdb
24-01-08 09:08:46 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqttuser'
24-01-08 09:08:46 INFO (MainThread) [supervisor.auth] Home Assistant not running, checking cache
24-01-08 09:08:48 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state startup
24-01-08 09:08:48 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-01-08 09:08:49 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
24-01-08 09:08:49 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/LukasGrebe/ha-addons/ repository
24-01-08 09:08:49 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
24-01-08 09:08:49 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/GollumDom/addon-repository repository
24-01-08 09:08:49 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
24-01-08 09:08:49 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
24-01-08 09:08:53 INFO (MainThread) [supervisor.store] Loading add-ons from store: 75 all - 0 new - 0 remove
24-01-08 09:08:53 INFO (MainThread) [supervisor.store] Loading add-ons from store: 75 all - 0 new - 0 remove
24-01-08 09:08:58 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
24-01-08 09:08:58 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to NOT_RUNNING
24-01-08 09:09:09 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'homeassistant'
24-01-08 09:09:10 INFO (MainThread) [supervisor.auth] Home Assistant not running, checking cache
24-01-08 09:09:38 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to RUNNING
24-01-08 09:09:38 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
24-01-08 09:09:38 INFO (MainThread) [supervisor.addons.manager] Phase 'application' starting 2 add-ons
24-01-08 09:09:39 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-configurator with version 5.7.0
24-01-08 09:09:41 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on smeagolworms4/mqtt-explorer with version browser-1.0.3
24-01-08 09:10:10 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
24-01-08 09:10:10 INFO (MainThread) [supervisor.core] Supervisor is up and running
24-01-08 09:10:10 INFO (MainThread) [supervisor.host.info] Updating local host information
24-01-08 09:10:10 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.check] System checks complete
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
24-01-08 09:10:10 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
24-01-08 09:10:11 INFO (MainThread) [supervisor.host.services] Updating service information
24-01-08 09:10:11 INFO (MainThread) [supervisor.host.network] Updating local network information
24-01-08 09:10:11 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
24-01-08 09:10:11 INFO (MainThread) [supervisor.host.manager] Host information reload completed
24-01-08 09:17:46 INFO (MainThread) [supervisor.addons.addon] Creating Home Assistant add-on data folder /data/addons/data/2ad9b828_ebusd
24-01-08 09:17:46 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/lukasgrebe/ha-addon-ebusd-aarch64 with tag 23.2.3.
24-01-08 09:17:48 INFO (MainThread) [supervisor.addons.manager] Add-on '2ad9b828_ebusd' successfully installed
24-01-08 09:18:03 INFO (SyncWorker_1) [supervisor.docker.manager] Restarting homeassistant
24-01-08 09:18:20 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
24-01-08 09:18:26 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
24-01-08 09:18:26 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-01-08 09:18:27 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/LukasGrebe/ha-addons/ repository
24-01-08 09:18:27 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
24-01-08 09:18:27 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/GollumDom/addon-repository repository
24-01-08 09:18:27 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
24-01-08 09:18:27 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
24-01-08 09:18:28 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
24-01-08 09:18:30 INFO (MainThread) [supervisor.store] Loading add-ons from store: 75 all - 0 new - 0 remove
24-01-08 09:18:30 INFO (MainThread) [supervisor.store] Loading add-ons from store: 75 all - 0 new - 0 remove
24-01-08 09:18:32 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to NOT_RUNNING
24-01-08 09:18:37 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'homeassistant'
24-01-08 09:18:37 INFO (MainThread) [supervisor.auth] Home Assistant not running, checking cache
24-01-08 09:19:03 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to RUNNING
24-01-08 09:19:03 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
24-01-08 09:20:49 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/lukasgrebe/ha-addon-ebusd-aarch64 with version 23.2.3
24-01-08 09:20:55 INFO (SyncWorker_4) [supervisor.docker.manager] Stopping addon_2ad9b828_ebusd application
24-01-08 09:20:58 INFO (SyncWorker_4) [supervisor.docker.manager] Cleaning addon_2ad9b828_ebusd application

There are no logs in the ebusd-Area...

sebska commented 5 months ago

I am using my Pi4 without Monitor/Keyboard so i can only see the HA-Websites.

LukasGrebe commented 5 months ago

You need to go to the addon page and click "logs" there (on desktop this tab is at the top) image

Or when you are in system-logs, you need to select ebusd in the dropdown at the top right. image

LukasGrebe commented 5 months ago

In addition please post the addon configuration as yaml. This is found in the configuration tab of the addon and then "view as yaml"

sebska commented 5 months ago

Hi, both logs are empty....

This is the configuration:

scanconfig: true
loglevel_all: notice
mqtttopic: ebusd
mqttint: /etc/ebusd/mqtt-hassio.cfg
mqttjson: true

It seems to me that it is not starting (for what reason)

LukasGrebe commented 5 months ago

Looks like you skipped step 2 in the documentation (see the "Documentation" tab in the addon):

Define either a USB or network device. Seperate configuration entries are available via the UI or can be configured manually using device: /dev/ttyAMA0 or network_device: enh:192.158.0.7:9999

your config has no device to connect to.

Edit:

logs are empty

after starting the addon you have ~5 to 10 seconds to click on the "logs" tab, before the addon is shut down due to configuration error

24-01-08 09:20:**49** INFO … Starting Docker add-on ghcr.io/lukasgrebe/ha-addon-ebusd…
24-01-08 09:20:**58** INFO … Cleaning addon_2ad9b828_ebusd 

so click start then click logs and keep hitting refresh

sebska commented 5 months ago

I put my device in the yaml:

scanconfig: true
loglevel_all: notice
mqtttopic: ebusd
mqttint: /etc/ebusd/mqtt-hassio.cfg
mqttjson: true
network_device: ens:192.168.7.130:9999

I started the addon, this is the 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
> ebusd --foreground --mqtthost=core-mosquitto --mqttport=1883 --mqttuser=addons --mqttpass=che8Guas3ooza2eeGipei2MavajiWei7isoh0waung1eechohduk2bahz4efeipu --scanconfig --mqttjson --mqttint=/etc/ebusd/mqtt-hassio.cfg --mqtttopic=ebusd --device=ens:192.168.7.130:9999 --log=all:notice
2024-01-08 10:14:32.181 [main notice] ebusd 23.2.p20230716 started with auto scan on device: 192.168.7.130:9999, enhanced
2024-01-08 10:14:32.848 [bus notice] device status: resetting
2024-01-08 10:14:32.849 [bus notice] bus started with own address 31/36
2024-01-08 10:14:33.134 [bus notice] device status: reset, supports info
2024-01-08 10:14:33.216 [bus notice] device status: extra info: firmware 1.1[3c17].1[3c17], jumpers 0x0f
2024-01-08 10:14:33.828 [mqtt notice] connection established
2024-01-08 10:16:43.009 [main notice] update check: version 23.3 available, device firmware 1[4106] available

My Device is a eBUSd Adapter Version 5 I have not connected is yet to the ebus of my Vaillant ecoTEC plus..

sebska commented 5 months ago

Ah, now it is running....

LukasGrebe commented 5 months ago

this looks great! the addon is starting

ebusd 23.2.p20230716 started with auto scan on device: 192.168.7.130:9999

and connecting to the device and bus:

bus started with own address 31/36

connection established

you can update your adapter (I don't have this hardware so I can't help you there)

device firmware 1[4106] available

glad to see it worked 😊