4

I'm a web developer with 10 years' experience who just started looking into home automation.

I'm trying to figure out how to shorten the feedback loop while setting up my system. Currently, the best thing I got for updating is rebooting my Raspberry with sudo shutdown -r now.

I have tried calling the service homeassistant/reload_core_config, but nothing seems to happen, when I for example add an option to this input:

input_select:
  lullaby:
    name: Lullaby
    options:
      - Rain
      - Babbling Brook
      - None
    initial: None
    icon: mdi:weather-rainy

You are suppose to be able to restart the system with this: sudo systemctl stop home-assistant@pi but I get this error: Failed to stop [email protected]: Unit [email protected] not loaded.

My ideal solution would be to trigger an update every time I upload a file over SSL to the server to the /.homeassistant folder.

4
  • 1
    Do you get better answers from raspberrypi.stackexchange.com ?
    – mico
    May 29, 2017 at 17:57
  • 1
    @mico you think so?
    – Himmators
    May 29, 2017 at 18:18
  • 1
    There people are more code oriented.
    – mico
    May 29, 2017 at 18:30
  • 1
    Your question seems too code / config oriented compared to those that get answers here. I would suggest repost.
    – mico
    May 29, 2017 at 18:32

2 Answers 2

6

Your command seems to be out of sync with the rest.

sudo systemctl stop home-assistant@pi

First it seems incomplete at the end at best and moreover why are you using stop to restart? Why not use restart.

sudo systemctl restart [email protected]
2

Apperently this is the systemctl that was being used by raspbian

[email protected]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.