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

Deamon stuck at activating/start after Restart/Powerloss #52

Open
maulenski opened this issue Oct 17, 2023 · 4 comments
Open

Deamon stuck at activating/start after Restart/Powerloss #52

maulenski opened this issue Oct 17, 2023 · 4 comments

Comments

@maulenski
Copy link

maulenski commented Oct 17, 2023

Hey,

first of all Thank you for the great Script. This is a perfect solution for the horrible App from MCZ. I use it in combination with ioBroker and now i can control the oven even in Homekit.

But i have a Problem using the Deamon on Raspberry Pi OS. After a Powerloss or Restart the daemon wont come up correctly, it is stuck at "activating/start".
As soon as i restart the deamon using "sudo systemctl restart maestro.service" the deamon will come up immediately.

Any suggestions what could have go wrong here? Perhaps it is starting too early or something like this?

Thanks

@VoetenK
Copy link

VoetenK commented Oct 17, 2023

In Home Assistant Supervisor, I did this:
Crontab -e
Then completed with the following:
@reboot (sleep 500 && sudo docker-compose up --detach)

@reboot (sleep 700 && sudo docker-compose stop)
@reboot (sleep 1000 && sudo docker-compose start)

Is this what you are looking for?

@maulenski
Copy link
Author

Hey,

I dont use Docker, i installed the script as deamon, therefore this is not my solution.

But Thank you

@VoetenK
Copy link

VoetenK commented Oct 19, 2023

I think you can use this one for that.
@reboot (sleep 300 && sudo service maestro start)

@maulenski
Copy link
Author

Hey, ok now i understand.
i will give it a try, but this is only a workaround and it would be cleaner if the deamon would startup correctly.
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants