Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add-on Fails to Start on HA restart #164

Open
LukasGrebe opened this issue Jan 12, 2025 · 1 comment
Open

Add-on Fails to Start on HA restart #164

LukasGrebe opened this issue Jan 12, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@LukasGrebe
Copy link
Owner

Whenever im restarting HA i get the Repair Message

Home Assistant Supervisor
Warning ⸱ Reported by Home Assistant Supervisor
Add-on eBUSd is set to start at boot but failed to start. Usually this occurs when the configuration is incorrect or the same port is used in multiple add-ons. Check the configuration as well as logs for eBUSd and Supervisor.

Use Start to try again or Disable to turn off the start at boot option.

checking the logs i see invalid mqtthost and Service not enabled

[17:54:08] ERROR: Got unexpected response from the API: Service not enabled
> ebusd --foreground --mqtthost= --mqttport= --mqttuser= --mqttpass= --scanconfig --mqttjson --configpath=https://ebus.github.io/next/ --pollinterval=30 --mqttint=/etc/ebusd/mqtt-hassio.cfg --mqtttopic=ebusd --device=/dev/ttyUSB0 --log=all:notice
invalid mqtthost
2025-01-11 17:54:09.550 [main error] invalid arguments

i think we may need to change startup to application

startup: services

services will start before Home Assistant, while application is started afterwards.

via https://developers.home-assistant.io/docs/add-ons/configuration/

@LukasGrebe LukasGrebe added the bug Something isn't working label Jan 12, 2025
@tjorim
Copy link
Collaborator

tjorim commented Jan 12, 2025

It's for this reason we already changed it from system to services last year. Since the MQTT add-on is set as system I expect it starts before ebus. Nevertheless, i think it's safe to change it to application (so just removing the key because it's default).
Just to confirm: you have an mqtt add-on installed and set to start at boot? 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants