Yep, remote access is enabled.
Asking the real questions here! To be honest, no idea, doesn’t make sense now that you point it out. A rookie mistake I suppose. Fixed it by deleting the ios.yaml and just added ios: to configuration.yaml
Unfortunately its still not working…
I’ve reset the IOS app and before reconnecting Ive removed all Mobile App integrations in Ha. Then I connected the app to HA again.
In HA I now see 1 entity called device_tracker.yellowghost. When I use that entity for a badge and click on it I see this:
However, location is not updated, I’ve had this configured for a few hours now and moved between few zones during that time. Location is still set to ‘home’.
I’ve cleared my known_devices.yaml, since having anything there causes the source type on the image to change to ‘-’ instead of gps.
my known_devices. yaml looked like this;
yellowghost:
hide_if_away: false
icon:
mac: <MAC ADDRESS>
name: Martijn
picture: /local/martijn.jpg
track: true
I’ve still have the nmap tracker commented out in my configuration.yaml.
Other than that I have all other requirements I think… What am I still missing?
Here’s my configuration.yaml
homeassistant:
name: Home
latitude: xxx
longitude: xxx
elevation: -2
unit_system: metric
time_zone: Europe/Amsterdam
config:
updater:
default_config:
### DNS SETUP ###
# Duck Dns
http:
base_url: xxx
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
### BAD NEST
badnest:
issue_token: "XXX"
cookie: "XXX"
weather:
- platform: darksky
api_key: xxx
mode: daily
mqtt:
broker: core-mosquitto
username: xxx
password: !secret mqtt_password
hacs:
token: XXX
cloud:
cast:
view: "status"
tts:
- platform: google_translate
cache: true
cache_dir: /tmp/tts
time_memory: 300
service_name: google_say
# Includes Frontend (Themes)
frontend: !include frontend.yaml
# Includes Automations
automation: !include automations.yaml
# Includes Cameras
camera: !include camera.yaml
# Enables ios
ios:
# Enables tplink
tplink:
#Enables Streaming
stream:
#Enables Map on sidebar
map:
### Device Trackers ###
#Enables Mobile App tracking
mobile_app:
# device_tracker:
# - platform: nmap_tracker
# hosts:
# - 192.168.1.225
# - 192.168.1.227
# - 192.168.1.216
# home_interval: 10
### ZONES ###
# Zones shown on map
zone:
- name: Work
latitude: xxx
longitude: xxx
radius: 100
icon: mdi:office-building
- name: Work2
latitude: xxx
longitude: xxx
radius: 100
icon: mdi:office-building
- name: Daycare
latitude: xxx
longitude: xxx
radius: 100
icon: mdi:emoticon-poop
- name: Home
latitude: xxx
longitude: xxx
radius: 100
icon: mdi:home-outline
- name: Dad
latitude: xxx
longitude: xxx
radius: 100
icon: mdi:home-city-outline
- name: Dad2
latitude: xxx
longitude: xxx
radius: 100
icon: mdi:home-city-outline
- name: Grandma
latitude: xxx
longitude: xxx
radius: 100
icon: mdi:home-city-outline
### SENSORS ###
sensor:
- platform: template
sensors:
woonkamer_temperatuur:
friendly_name: "Woonkamer Temperatuur"
entity_id: climate.woonkamer_thermostat
unit_of_measurement: '°C'
value_template: "{{ state_attr('climate.woonkamer_thermostat', 'current_temperature') }}"
# Sensors Batterij Status
- platform: template
sensors:
zoldertrap_motion_battery:
friendly_name: 'Zoldertrap Motion Batterij'
value_template: '{{ state_attr("binary_sensor.wyzesense_777feee1","battery_level") }}'
unit_of_measurement: '%'
- platform: template
sensors:
frontdoor_sensor_battery:
friendly_name: 'Voordeur Sensor Batterij'
value_template: '{{ state_attr("binary_sensor.wyzesense_7784c7dc","battery_level") }}'
unit_of_measurement: '%'
- platform: template
sensors:
backdoor_sensor_battery:
friendly_name: 'Achterdeur Sensor Batterij'
value_template: '{{ state_attr("binary_sensor.wyzesense_7784c80b","battery_level") }}'
unit_of_measurement: '%'
- platform: template
sensors:
toilet_motion_battery:
friendly_name: 'Toilet Sensor Batterij'
value_template: '{{ state_attr("binary_sensor.hue_motion_sensor_1_motion","battery_level") }}'
unit_of_measurement: '%'
# RbPi Systeem monitor
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: /
- type: memory_free
- type: processor_use
- type: memory_use_percent
- type: ipv4_address
arg: eth0
# Garbage Collection
- platform: garbage_collection
name: "Plastic" # Bi-weekly (odd weeks) on Friday. Between January and December
frequency: "odd-weeks"
first_month: "jan"
last_month: "dec"
collection_days: "fri"
verbose_state: true
- platform: garbage_collection
name: "Papier" # Bi-weekly (even weeks) on Thursday. Between January and December
frequency: "even-weeks"
first_month: "jan"
last_month: "dec"
collection_days: "thu"
verbose_state: true
- platform: garbage_collection
name: "Rest" # Bi-weekly (odd weeks) on Friday. Between January and December
frequency: "even-weeks"
first_month: "jan"
last_month: "dec"
collection_days: "fri"
verbose_state: true
- platform: garbage_collection
name: "Waste not on Holidays" # No collection on Christmas
frequency: "weekly"
collection_days:
- wed
exclude_dates:
- '2019-12-26'
# Time Date
- platform: time_date
display_options:
- 'time'
- 'date'
- 'date_time'
- 'date_time_iso'
- 'time_date'
- 'time_utc'
- 'beat'
# Sun Angle
- platform: template
sensors:
solar_angle:
friendly_name: "Sun Angle"
unit_of_measurement: '°'
value_template: "{{ '%+.1f'|format(state_attr('sun.sun', 'elevation')) }}"
# Energie Beheer Wasdroger
- platform: template
sensors:
wasdroger_amps:
friendly_name_template: "{{ states.switch.wasdroger.name}} Current"
value_template: '{{ states.switch.wasdroger.attributes["current_a"] | float }}'
unit_of_measurement: 'A'
wasdroger_watts:
friendly_name_template: "{{ states.switch.wasdroger.name}} Huidig Verbruik"
value_template: '{{ states.switch.wasdroger.attributes["current_power_w"] | float }}'
unit_of_measurement: 'W'
wasdroger_total_kwh:
friendly_name_template: "{{ states.switch.wasdroger.name}} Verbruik Totaal"
value_template: '{{ states.switch.wasdroger.attributes["total_energy_kwh"] | float }}'
unit_of_measurement: 'kWh'
wasdroger_volts:
friendly_name_template: "{{ states.switch.wasdroger.name}} Voltage"
value_template: '{{ states.switch.wasdroger.attributes["voltage"] | float }}'
unit_of_measurement: 'V'
wasdroger_today_kwh:
friendly_name_template: "{{ states.switch.wasdroger.name}} Verbruik Vandaag"
value_template: '{{ states.switch.wasdroger.attributes["today_energy_kwh"] | float }}'
unit_of_measurement: 'kWh'
# Energie Beheer Wasmachine
- platform: template
sensors:
wasmachine_amps:
friendly_name_template: "{{ states.switch.wasmachine.name}} Current"
value_template: '{{ states.switch.wasmachine.attributes["current_a"] | float }}'
unit_of_measurement: 'A'
wasmachine_watts:
friendly_name_template: "{{ states.switch.wasmachine.name}} Huidig Verbruik"
value_template: '{{ states.switch.wasmachine.attributes["current_power_w"] | float }}'
unit_of_measurement: 'W'
wasmachine_total_kwh:
friendly_name_template: "{{ states.switch.wasmachine.name}} Verbruik Totaal"
value_template: '{{ states.switch.wasmachine.attributes["total_energy_kwh"] | float }}'
unit_of_measurement: 'kWh'
wasmachine_volts:
friendly_name_template: "{{ states.switch.wasmachine.name}} Voltage"
value_template: '{{ states.switch.wasmachine.attributes["voltage"] | float }}'
unit_of_measurement: 'V'
wasmachine_today_kwh:
friendly_name_template: "{{ states.switch.wasmachine.name}} Verbruik Vandaag"
value_template: '{{ states.switch.wasmachine.attributes["today_energy_kwh"] | float }}'
unit_of_measurement: 'kWh'
# Totaalverbruik
totaal_verbruik_watts:
value_template: '{%- if not is_state("sensor.wasdroger_watts","unknown") -%} {{ ((states.sensor.wasdroger_watts.state | float) + (states.sensor.wasmachine_watts.state | float))| round(2) }} {%- endif -%}}'
friendly_name: 'Totaal Verbruik'
unit_of_measurement: 'W'
totaal_verbruik_kwh:
value_template: '{%- if not is_state("sensor.wasdroger_total_kwh","unknown") -%} {{ ((states.sensor.wasdroger_total_kwh.state | float) + (states.sensor.wasmachine_total_kwh.state | float))| round(2) }} {%- endif -%}}'
friendly_name: 'kWh verbruik Totaal'
unit_of_measurement: 'kWh'
vandaag_verbruik_kwh:
value_template: '{%- if not is_state("sensor.wasdroger_today_kwh","unknown") -%} {{ ((states.sensor.wasdroger_today_kwh.state | float) + (states.sensor.wasmachine_today_kwh.state | float))| round(2) }} {%- endif -%}}'
friendly_name: 'kWh verbruik Vandaag'
unit_of_measurement: 'kWh'
- platform: badnest
climate:
- platform: badnest
scan_interval: 10
### BINARY SENSORS ###
binary_sensor:
# Wyze
- platform: wyzesense
device: "/dev/hidraw0"
# Workday sensor
- platform: workday
country: NL
workdays: [mon, tue, wed, thu, fri]
excludes: [sat, sun, holiday]
add_holidays:
- '2019-12-26'
- '2019-12-31'