Pirol62
(Jörg Nauen)
July 22, 2019, 11:42am
1
Hi,
I’m getting this result form config check:
log:
.....
variable.notify_device_joerg: [source /tmp/config/customize.yaml:146]
icon: mdi:cellphone-message
variable.notify_device_yvonne: [source /tmp/config/customize.yaml:144]
icon: mdi:cellphone-message
variable.person_count_home: [source /tmp/config/customize.yaml:21]
editable: True
friendly_name: Personen anwesend
icon: mdi:account-multiple
variable.washing_mode: [source /tmp/config/customize.yaml:15]
friendly_name: Waschmaschine
icon: mdi:washing-machine
variable.who_is_first: [source /tmp/config/customize.yaml:138]
friendly_name: Wer wird benachrichtigt
icon: mdi:cellphone-message
elevation: 45
latitude: Geo
longitude: Geo
name: ZuHause
time_zone: Europe/Berlin
unit_system: metric
whitelist_external_dirs: [source /tmp/config/configuration.yaml:9]
- /config
- /share
Successful config (partial)
homeassistant:
The customizings list is even longer in the log.
What is the intension of that log?
Is there any todo for me?
tom_l
July 22, 2019, 12:14pm
2
Yes there is a problem as the config was only partially successful. However you have cut off the actual error so it’s impossible to say what the problem is.
Pirol62
(Jörg Nauen)
July 22, 2019, 1:25pm
3
I did not cut off something.
There is no more info in the log available.
Just the list of customizing entries is longer but always the same content.
tom_l
July 22, 2019, 1:27pm
4
There should be timestamps against each log entry.
Pirol62
(Jörg Nauen)
July 22, 2019, 1:33pm
5
That’s how the log looks like:
Log
friendly_name: nach Köln
sensor.outside_rain: [source /tmp/config/customize.yaml:81]
icon: mdi:weather-rainy
sensor.owm_condition: [source /tmp/config/customize.yaml:148]
friendly_name: Bedingung
sensor.owm_forecast: [source /tmp/config/customize.yaml:150]
friendly_name: Demnächst
sensor.upstairs_light_level: [source /tmp/config/customize.yaml:109]
friendly_name: Helligkeit Treppe oben
icon: mdi:weather-sunny
sensor.yr_forecast_precipitation: [source /tmp/config/customize.yaml:91]
friendly_name: YR Regen 3Std
icon: mdi:weather-rainy
sensor.yr_forecast_symbol: [source /tmp/config/customize.yaml:83]
friendly_name: YR Wetter 3Std
sensor.yr_forecast_temperature: [source /tmp/config/customize.yaml:97]
friendly_name: YR Temperatur 3Std
icon: mdi:thermometer-lines
sensor.yr_forecast_wind_speed: [source /tmp/config/customize.yaml:103]
friendly_name: YR Wind 3Std
icon: mdi:weather-windy
sensor.yr_humidity: [source /tmp/config/customize.yaml:85]
friendly_name: YR Luftfeuchtigkeit
icon: mdi:water-percent
sensor.yr_precipitation: [source /tmp/config/customize.yaml:88]
friendly_name: YR Regen
icon: mdi:weather-rainy
sensor.yr_pressure: [source /tmp/config/customize.yaml:106]
friendly_name: YR Luftdruck
icon: mdi:gauge
sensor.yr_symbol: [source /tmp/config/customize.yaml:152]
friendly_name: Wetter
sensor.yr_temperature: [source /tmp/config/customize.yaml:94]
friendly_name: YR Temperatur
icon: mdi:thermometer-lines
sensor.yr_wind_speed: [source /tmp/config/customize.yaml:100]
friendly_name: YR Wind
icon: mdi:weather-windy
sensor.yvonnes_location: [source /tmp/config/customize.yaml:69]
entity_picture: /local/images/AvatarYS_modified.png
friendly_name: Yvonne
variable.active_scene_gz: [source /tmp/config/customize.yaml:130]
icon: mdi:lightbulb
variable.active_scene_sz: [source /tmp/config/customize.yaml:134]
icon: mdi:lightbulb
variable.active_scene_wz: [source /tmp/config/customize.yaml:132]
icon: mdi:lightbulb
variable.daylight_lx: [source /tmp/config/customize.yaml:124]
icon: mdi:white-balance-sunny
variable.dryer_mode: [source /tmp/config/customize.yaml:18]
friendly_name: Trockner
icon: mdi:washing-machine
variable.familiy_leaving_home: [source /tmp/config/customize.yaml:136]
icon: mdi:account-multiple
variable.housewife_present: [source /tmp/config/customize.yaml:11]
editable: True
entity_picture: /local/images/AvatarDemet.png
friendly_name: Demet
variable.humidifier_set: [source /tmp/config/customize.yaml:128]
icon: mdi:water-percent
variable.last_camera_refresh: [source /tmp/config/customize.yaml:141]
friendly_name: Letztes Bild
icon: mdi:camera-retake
variable.last_general_motion_detected: [source /tmp/config/customize.yaml:121]
friendly_name: Letzte Bewegung
icon: mdi:motion-sensor
variable.last_motion_detected_tr: [source /tmp/config/customize.yaml:118]
friendly_name: Letzte Bew. Treppe
icon: mdi:motion-sensor
variable.last_motion_detected_wz: [source /tmp/config/customize.yaml:115]
friendly_name: Letzte Bew. Wohnzimmer
icon: mdi:motion-sensor
variable.night_lx: [source /tmp/config/customize.yaml:126]
icon: mdi:power-sleep
variable.notify_device_joerg: [source /tmp/config/customize.yaml:146]
icon: mdi:cellphone-message
variable.notify_device_yvonne: [source /tmp/config/customize.yaml:144]
icon: mdi:cellphone-message
variable.person_count_home: [source /tmp/config/customize.yaml:21]
editable: True
friendly_name: Personen anwesend
icon: mdi:account-multiple
variable.washing_mode: [source /tmp/config/customize.yaml:15]
friendly_name: Waschmaschine
icon: mdi:washing-machine
variable.who_is_first: [source /tmp/config/customize.yaml:138]
friendly_name: Wer wird benachrichtigt
icon: mdi:cellphone-message
elevation: 45
latitude: Geo
longitude: Geo
name: ZuHause
time_zone: Europe/Berlin
unit_system: metric
whitelist_external_dirs: [source /tmp/config/configuration.yaml:9]
- /config
- /share
Successful config (partial)
homeassistant:
petro
(Petro)
July 22, 2019, 1:34pm
6
that’s not the ‘log’, those are results of the config checker. The actual log is located in the config folder named homeassistant.log. It will have the errors you seek.
Pirol62
(Jörg Nauen)
July 22, 2019, 1:49pm
7
This one is empty.
I only have some warnings when starting HA regarding starting lasts longer then 10 seconds and
some components. That’s it.
My complete configuration works in 0.95.4
PS: There was an entry in the config check regarding netatmo before. I solved that meanwhile as well as here_custom_component.
Pirol62
(Jörg Nauen)
August 4, 2019, 7:49am
8
I’d like to push my issue again.
I’m still having definately no idea, what’s going wrong with my customization.
I’ve checked everything and have no issues in my logfile.
But I still get these check results when I check my 0.95.4 vs. 0.96.5
Can anybody point me into the right direction?
petro
(Petro)
August 5, 2019, 12:39pm
9
FYI, responding to a thread doesn’t notify anyone in the thread that you responded. Responding and tagging people or using the reply button on a message will give a notification (instead of Blue reply button at bottom).
Anyways, on to your issue. Post your configuration. You’re having a partial configuration load so something is wrong in your configuration. The error appears to be occuring beyond line 150 in your homeassistant section, most likely in your customization section. So please post your entire homeassistant section including the customization section.
Make sure you reply tagging me or using this reply button.
Pirol62
(Jörg Nauen)
August 5, 2019, 3:45pm
10
Hi Petro,
thanks
Enclosed my config:
homeassistant:
name: ZuHause
latitude: xx.xxxxxx
longitude: x.xxxxx
elevation: 45
unit_system: metric
time_zone: Europe/Berlin
whitelist_external_dirs:
- /config
- /share
customize: !include customize.yaml
auth_providers:
- type: homeassistant
- type: trusted_networks
trusted_networks:
- 192.168.178.0/24
- 46.88.232.0/24
- 79.240.7.0/24
- 127.0.0.1
The customize.yaml:
person.jorg:
entity_picture: /local/images/AvatarJN.png
person.yvonne:
entity_picture: /local/images/AvatarYS_modified.png
person.chiara:
entity_picture: /local/images/AvatarChiara.png
person.niklas:
entity_picture: /local/images/AvatarNiklas.png
group.familie:
entity_picture: /local/images/Avatar_Familie.png
media_player.kuche:
icon: mdi:amazon
media_player.wohnzimmer:
icon: mdi:amazon
media_player.gastezimmer:
icon: mdi:amazon
media_player.schlafzimmer:
icon: mdi:amazon
media_player.joerg_s_alexa_apps:
icon: mdi:amazon
media_player.this_device:
icon: mdi:amazon
media_player.pirol62_s_fire_tv:
icon: mdi:amazon
binary_sensor.motion_motion_wohnzimmer:
friendly_name: 'Bewegung Wohnzimmer'
binary_sensor.motion_treppe_motion_oben:
friendly_name: 'Bewegung Treppe oben'
binary_sensor.motion_treppe_motion_unten:
friendly_name: 'Bewegung Treppe unten'
binary_sensor.motion_motion_schlafzimmer:
friendly_name: 'Bewegung Schlafzimmer'
binary_sensor.blink_eingang_motion_detected:
icon: mdi:motion-sensor
friendly_name: 'Bewegung Eingang'
binary_sensor.blink_garten_motion_detected:
icon: mdi:motion-sensor
friendly_name: 'Bewegung Garten'
binary_sensor.workday_sensor:
friendly_name: 'Arbeitstag'
input_boolean.holiday_mode:
icon: mdi:pool
input_boolean.joerg_stays_at_home:
icon: mdi:home-heart
input_boolean.guest_mode:
icon: mdi:glass-cocktail
input_boolean.yvonne_stays_at_home:
icon: mdi:home-heart
sensor.active_harmony_scene:
icon: mdi:monitor-cellphone-star
entity_picture: /local/images/Wohnzimmer_TV_small.png
sensor.joergs_location:
entity_picture: /local/images/AvatarJN.png
friendly_name: 'Jörg'
sensor.yvonnes_location:
entity_picture: /local/images/AvatarYS_modified.png
friendly_name: 'Yvonne'
sensor.bedroom_light_level:
icon: mdi:weather-sunny
friendly_name: 'Helligkeit Schlafzimmer'
sensor.livingroom_light_level:
icon: mdi:weather-sunny
friendly_name: 'Helligkeit Wohnzimmer'
sensor.downstairs_light_level:
icon: mdi:weather-sunny
friendly_name: 'Helligkeit Treppe unten'
sensor.outside_rain:
icon: mdi:weather-rainy
sensor.yr_forecast_symbol:
friendly_name: 'YR Wetter 3Std'
sensor.yr_humidity:
icon: mdi:water-percent
friendly_name: 'YR Luftfeuchtigkeit'
sensor.yr_precipitation:
icon: mdi:weather-rainy
friendly_name: 'YR Regen'
sensor.yr_forecast_precipitation:
icon: mdi:weather-rainy
friendly_name: 'YR Regen 3Std'
sensor.yr_temperature:
icon: mdi:thermometer-lines
friendly_name: 'YR Temperatur'
sensor.yr_forecast_temperature:
icon: mdi:thermometer-lines
friendly_name: 'YR Temperatur 3Std'
sensor.yr_wind_speed:
icon: mdi:weather-windy
friendly_name: 'YR Wind'
sensor.yr_forecast_wind_speed:
icon: mdi:weather-windy
friendly_name: 'YR Wind 3Std'
sensor.yr_pressure:
icon: mdi:gauge
friendly_name: 'YR Luftdruck'
sensor.upstairs_light_level:
icon: mdi:weather-sunny
friendly_name: 'Helligkeit Treppe oben'
sensor.homematic_lichtsensor_aussen_illuminance:
icon: mdi:weather-sunny
friendly_name: 'Helligkeit außen'
sensor.yr_symbol:
friendly_name: 'Wetter'
sensor.meerbusch_osterath_to_dusseldorf_hbf:
friendly_name: 'nach Düsseldorf'
sensor.meerbusch_osterath_to_koln_hbf:
friendly_name: 'nach Köln'
variable.last_motion_detected_wz:
friendly_name: 'Letzte Bew. Wohnzimmer'
icon: mdi:motion-sensor
variable.last_motion_detected_tr:
friendly_name: 'Letzte Bew. Treppe'
icon: mdi:motion-sensor
variable.last_general_motion_detected:
friendly_name: 'Letzte Bewegung'
icon: mdi:motion-sensor
variable.daylight_lx:
icon: mdi:white-balance-sunny
variable.night_lx:
icon: mdi:power-sleep
variable.humidifier_set:
icon: mdi:water-percent
variable.active_scene_gz:
icon: mdi:lightbulb
variable.active_scene_wz:
icon: mdi:lightbulb
variable.active_scene_sz:
icon: mdi:lightbulb
variable.familiy_leaving_home:
icon: mdi:account-multiple
variable.who_is_first:
friendly_name: 'Wer wird benachrichtigt'
icon: mdi:cellphone-message
variable.last_camera_refresh:
friendly_name: 'Letztes Bild'
icon: mdi:camera-retake
variable.notify_device_yvonne:
icon: mdi:cellphone-message
variable.notify_device_joerg:
icon: mdi:cellphone-message
variable.housewife_present:
entity_picture: /local/images/AvatarDemet.png
editable: true
friendly_name: 'Demet'
variable.washing_mode:
icon: mdi:washing-machine
friendly_name: 'Waschmaschine'
variable.dryer_mode:
icon: mdi:washing-machine
friendly_name: 'Trockner'
variable.person_count_home:
icon: mdi:account-multiple
editable: true
friendly_name: 'Personen anwesend'
petro
(Petro)
August 5, 2019, 4:16pm
11
Looks like something with your auth_providers. To me, your configuration looks correct based on the documentation. I’m not familiar with auth providers so that’s about the extent of the help I can provide.
Pirol62
(Jörg Nauen)
August 5, 2019, 4:54pm
12
Thanks a lot. I will check.
regards
finity
August 5, 2019, 5:17pm
13
This whole thread is painfully confusing because it seems to be fraught with people asking for information from the OP and the OP not providing the information that was asked for.
Case in point, I don’t think that is your entire configuration. It’s only the “homeassistant:” section of the configuration.yaml file.
What does your entire configuration.yaml file look like?
I assume you are doing the “config check” by going to the “configuration” in the left side menu then clicking “general” then clicking the “check config” button, correct?
After you do that then what is the entire contents of the homeassistant.log file that is located in the same folder as your configuration.yaml file?
As far as I can see the “auth_providers:” seems to be OK.
If you think that the customize section is the culprit then you can verify that is the case by commenting out that line in your config and re-doing the check.
#customize: !include customize.yaml
What are the results of that?
petro
(Petro)
August 5, 2019, 5:32pm
14
finity:
This whole thread is painfully confusing because it seems to be fraught with people asking for information from the OP and the OP not providing the information that was asked for.
Case in point, I don’t think that is your entire configuration. It’s only the “homeassistant:” section of the configuration.yaml file.
While I tend to agree with this, both of his errors call out the home assistant section, which is why I only asked for the home assistant section.
EDIT: But now that I think about it, you could be very right. The config parser will output the keys in alphabetical order. This would put the auth_providers at the top of the config checker output, which could be truncated! Meaning the lines directly after his home assistant section are probably the cause of the issues. Good catch.
Pirol62
(Jörg Nauen)
August 6, 2019, 5:54am
15
Hi,
understood.
Now my complete config:
homeassistant:
name: ZuHause
latitude: coordinate
longitude: coordinate
elevation: 45
unit_system: metric
time_zone: Europe/Berlin
whitelist_external_dirs:
- /config
- /share
customize: !include customize.yaml
auth_providers:
- type: homeassistant
- type: trusted_networks
trusted_networks:
- 192.168.178.0/24
- 46.88.232.0/24
- 79.240.7.0/24
- 127.0.0.1
alexa_media:
accounts:
- email: !secret alexa_email
password: !secret alexa_password
url: amazon.de
automation: !include automations.yaml
blink:
username: !secret jy_login
password: !secret jy_password
scan_interval: 60
binary_sensors:
monitored_conditions:
- motion_enabled
- motion_detected
sensors:
monitored_conditions:
- battery
- wifi_strength
binary_sensor:
- platform: huesensor
- platform: workday
country: DE
province: NW
- platform: ping
host: 8.8.8.8
cloud:
alexa:
filter:
exclude_domains:
- light
- automation
- sensor
- binary_sensor
- media_player
- group
- cover
- remote
- climate
include_entities:
- script.command_bright_light
- script.command_dim_light
- script.command_halogen_light
- script.command_tv_light
- script.activate_cameras
- script.deactivate_cameras
- input_boolean.whereisjoerg
- input_boolean.howlongwashing
- input_boolean.holiday_mode
- input_boolean.yvonnes_driving_time
- input_boolean.light_permanent_off
- input_boolean.guest_mode
- switch.toggle
- script.szene_good_night
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
device_tracker:
- platform: fritz
host: 192.168.178.1
username: !secret fritz_user
password: !secret fritz_pw
interval_seconds: 45
consider_home: 120
new_device_defaults:
track_new_devices: false
hide_if_away: false
discovery:
ignore:
- sonos
- samsung_tv
frontend:
themes: !include_dir_merge_named themes
group: !include groups.yaml
hacs:
token: token
http:
base_url: https://my_token.ui.nabu.casa
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
ifttt:
key: !secret ifttt_key
input_boolean: !include input_boolean.yaml
input_select: !include input_select.yaml
logbook: !include logbook.yaml
logger:
default: critical
netatmo:
api_key: "api_key"
secret_key: "secret_key"
username: !secret na_user
password: !secret na_pw
discovery: true
notify:
- name: "Pushover"
platform: pushover
api_key: "api_key"
user_key: "user_key"
- name: "command"
platform: command_line
command: "espeak -vmb/mb-us1"
- platform: alexa_media
name: alexa_media
- platform: file
name: washer_stats
filename: /share/history/washer_stats.csv
timestamp: false
panel_iframe:
mdiindex:
title: MDI Icon Index
icon: mdi:vector-square
url: https://cdn.rawgit.com/james-fry/home-assistant-mdi/efd95d7a/home-assistant-mdi.html
recorder: !include recorder.yaml
remote:
- platform: harmony
name: Wohnzimmer
host: 192.168.178.55
speedtestdotnet:
scan_interval:
hours: 2
monitored_conditions:
- ping
- download
- upload
script: !include scripts.yaml
sensor: !include sensors.yaml
shell_command: !include shell_commands.yaml
switch: !include switches.yaml
tts:
- platform: google_translate
service_name: google_say
timer: !include timer.yaml
updater:
variable: !include variables.yaml
weather:
- platform: openweathermap
api_key: api_key
zone: !include zone.yaml
I have no errors in the logfile after restarting.
Just some warnings.
The configuration check provides “ok”
All components and automations are running as expected
finity
August 6, 2019, 11:42am
16
???
What changed that caused it to now work?
1 Like
Pirol62
(Jörg Nauen)
August 6, 2019, 12:12pm
17
I have definately no idea.
finity
August 6, 2019, 12:15pm
18
Well, isn’t that frustrating…
That’s typically not how things work, especially when you are getting errors due to a configuration mistake. Those typically don’t (never…?) just fix themselves.
But it’s good that it’s working.
Pirol62
(Jörg Nauen)
August 7, 2019, 9:20am
19
Ok, I already opened an issue .
Thanks for your support
finity
August 7, 2019, 12:59pm
20
What was the issue you opened?
If you don’t know what fixed it how do you know what to report?
1 Like