Struggling with setup

I cannot get the basic setup to work as I expect it should. I’m running hassos_rpi3-1.9.img on a Pi 3B+.

I can get the Pi to boot and the first time I go to hassio.local:8123 it will load. Thereafter it will not (i get the progress bar stopped at about 25%). Going to the IP:8123 DOES load HA.

I enabled the SMB and am editing the config file with Atom on a Mac. I have made changes ONLY to the first section:

homeassistant:

Name of the location where Home Assistant is running

name: HAClarence

Location required to calculate the time the sun rises and sets

latitude: 35.NNNNNN
longitude: 79.NNNNNN

Impacts weather/sunrise data (altitude above sea level in meters)

elevation: 0

metric for Metric, imperial for Imperial

unit_system: imperial

Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones

time_zone: EDT

Customization file

customize: !include customize.yaml

When I check the config file using ‘Configuration validation’ the check seems to loop with the indicator constantly rotating. Been over a day now…

On timezones, the link to wikipedia is unhelpful: there is little information as to what value to use:

I have tried all variations of the +4 field and non seem to work.

I entered my location (the NNNNNN are replacing the real value in the paste above) and that seems to have no effect: the location show the sun rising at times that make no sense and the wx is from Norway!

Any clues, I’m not a programmer but reasonably familiar with Pi and Linux.

Cheers

post your modified config, use the </> for the code

For the time_zone, you’d want something like “America/Detroit”

1 Like
homeassistant:

Name of the location where Home Assistant is running

name: HAClarence

Location required to calculate the time the sun rises and sets

latitude: 35.828702
longitude: -79.131318

Impacts weather/sunrise data (altitude above sea level in meters)

elevation: 170

metric for Metric, imperial for Imperial

unit_system: imperial

Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones

time_zone: America/New_York

Customization file

customize: !include customize.yaml

Doesn’t look like you posted your configuration.yaml correctly. Before you post, check the preview post window and see if your copy+paste is formatted correctly. Paste your code in the post window, highlight it with your mouse, then click the “</>” button to format it like this:

homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: !secret home_latitude
  longitude: !secret home_longitude
  # Impacts weather/sunrise data (altitude above sea level in meters)f
  elevation: 26
  # metric for Metric, imperial for Imperial
  unit_system: imperial
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: America/Los_Angeles
  # Customization file
  customize: !include customize.yaml
  packages: !include_dir_named packages

Look through the home-assistant.log, see if there are any major errors. You should try to figure out the issue on your own first (honestly this is the best way to learn HA), and then post here if you’re still stuck.

If you have extra time, I would reflash your SD card with the HassOS image and start from scratch again. Don’t edit the configuration.yaml or anything else until you know HA can boot successfully. After that, make small, iterative changes to the .yaml files so you can test and narrow down the source of your errors. Running the ‘Check Config’ button found in Configuration >> General helps to check against accidental typos and spaces. Good luck!

you likely have an extra space somewhere or not indented properly
try below. lat/long below is made up

homeassistant:

  name: HAClarence

  unit_system: imperial

  ### from: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones ###
  time_zone: America/New_York

  customize: !include customize.yaml

  latitude: 22.216609
  longitude: -98.992317
  elevation: 24

EDIT
also when you post code use the </> in text box so it looks like above and we can see spacing/tab errors
dont use tab in config also. can result in random errors

1 Like