I’m trying to set up zones in Hassio. I see the home-location on the map and I see the trackers from OwnTracks, but not the zones. What am I doing wrong?
only the zone.home is appearing (and working correctly on the map). The two above are not.
In config it looks 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)
elevation: 0
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: CET
zone.home is appearing on the dev-state page and on the map. The work and gym are not appearing on any of the pages.
EDIT: I have no idea why, but the zones just appeared on the map after two days. I fixed some other error and now it is working. Don’t know how the two are related, but it seems like they were.
Easy. If you have a configuration error, it can load everything up to that point and stop. Sometimes it will still run Home Assistant and not tell you of the problem.
are you placing the zones in the zone section? Outside the homeassistant section?
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)
elevation: 0
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: CET
zone:
- name: work
latitude: xx
longitude: xx
radius: 100
icon: mdi:briefcase-outline
- name: gym
latitude: xx
longitude: xx
radius: 100
icon: mdi:dumbbell