Hello all,
I have been at this for weeks now and I’m still no farther then when I started. I was successful getting a ir operated fireplace to work using my harmony hub thanks for a member on this forum. However I’m still having problems and always getting errors.
I think that some of my problems start with the main page in the UI no longer shows all the connected devices in HA.
when I load the main page all I see are the Dev errors panel and the fireplace switch.
All other components are not there, I have wemo switches and plugs that work in my homebridge on my iPhone so I know their in there somewhere. They also show up in in the control panel addon.
I’m going to list a few things that I’m trying to do all here in one post so if anybody could give me direction to any of these issues I would greatly appreciate it.
I’m trying to use Mopidy to play mp3’s on a connected speaker using a aux cable plugged into my RPI3 when a event is triggered (coming home, or setting a scene within homekit etc.)in homekit if possible, I did make scripts that do work in my Apple Home App, but it is just buttons it works but wanted to try a slider. ( This might not be possible with Apple devices)
it would be awesome to add a volume slider for my Tv
I’m trying to set multiple zones so I my kids or wife leave school or a friends house I get a notification on my ios device.
actually it would be very cool to beable to open my garage door when leaving the zone.home since I can set a small radius geofense because Apples is way too large and if I drive down a street that is one street away from mine my garage door opens.
I would absolutely love to get rid of these errors for sure.
Here is my logs and config files.
2018-04-15 13:33:23 ERROR (MainThread) [homeassistant.setup] Setup failed for input_select: Component failed to initialize.
2018-04-15 13:33:24 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: expected dict for dictionary value @ data[‘action’][0][‘data’]. Got None. (See /config/configuration.yaml, line 97). Please check the docs at https://home-assistant.io/components/automation/
2018-04-15 13:33:34 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-04-15 13:33:50 WARNING (MainThread) [homeassistant.components.remote] Setup of platform harmony is taking over 10 seconds.
2018-04-15 13:34:40 ERROR (MainThread) [homeassistant.components.remote] Setup of platform harmony is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2018-04-15 13:34:40 WARNING (MainThread) [homeassistant.components.sensor.template] Could not render template harmony_remote_living_room, the state is unknown.
2018-04-15 13:34:51 WARNING (SyncWorker_2) [netdisco.ssdp] Error fetching description at 192.168.86.65
2018-04-15 13:35:05 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-04-15 13:37:28 ERROR (MainThread) [homeassistant.components.hassio] starting version 3.2.4
Testing configuration at /config
Failed config
automation:
- Invalid config for [automation]: expected dict for dictionary value @ data[‘action’][0][‘data’]. Got None. (See /config/configuration.yaml, line 96). Please check the docs at https://home-assistant.io/components/automation/
- cloud: ?
config: ?
conversation: ?
discovery: ?
frontend: ?
group: [source /config/configuration.yaml:94]
default_view: [source /config/groups.yaml:1]
entities: [source /config/groups.yaml:4]
- input_select.harmony_remote_living_room
- sensor.livingroom_harmony_remote
- sun.sun
- sensor.yr_temperature
- group.fireplace
name: Home
view: True
fireplace: [source /config/groups.yaml:11]
entities: [source /config/groups.yaml:14]
- input_boolean.fireplace
- script.living_room_fireplace_backlight
- script.living_room_fireplace_flame_color
name: Fireplace
view: False
history: ?
http: [source /config/configuration.yaml:38]
cors_allowed_origins: [source /config/configuration.yaml:39]
- http://192.168.86.85:7080
input_boolean: [source /config/configuration.yaml:93]
fireplace: [source /config/input_booleans.yaml:1]
icon: mdi:fire
name: Fireplace
ios: ?
logbook: ?
map: ?
panel_iframe: [source /config/configuration.yaml:100]
controlpanel: [source /config/configuration.yaml:101]
icon: mdi:tablet-ipad
title: Control Panel
url: http://192.168.86.85:7080
music: [source /config/configuration.yaml:106]
icon: mdi:music-box-outline
title: Music
url: http://192.168.86.85:6600/share/mopidy/media
remote: [source /config/configuration.yaml:64]
- platform: harmony
host: 192.168.1.120
name: Living Room
password: Cameron24
username: cmaxim@me
script: [source /config/configuration.yaml:95]
livingroom_fireplace_backlight: [source /config/scripts.yaml:25]
sequence: [source /config/scripts.yaml:26]
- data: [source /config/scripts.yaml:29]
command: Backlight
device: 52670895
entity_id: remote.livingroom
service: remote.send_command
livingroom_fireplace_flame_color: [source /config/scripts.yaml:33]
sequence: [source /config/scripts.yaml:34]
- data: [source /config/scripts.yaml:37]
command: Flame Color
device: 52670895
entity_id: remote.living_room
service: remote.send_command
livingroom_fireplace_heat: [source /config/scripts.yaml:17]
sequence: [source /config/scripts.yaml:18]
- data: [source /config/scripts.yaml:21]
command: Heat
device: 52670895
entity_id: remote.livingroom
service: remote.send_command
livingroom_harmony_hdmi_switch_1: [source /config/scripts.yaml:73]
sequence: [source /config/scripts.yaml:74]
- data: [source /config/scripts.yaml:77]
command: 1
device: 52951183
entity_id: remote.livingroom
service: remote.send_command
livingroom_harmony_hdmi_switch_2: [source /config/scripts.yaml:81]
sequence: [source /config/scripts.yaml:82]
- data: [source /config/scripts.yaml:85]
command: 2
device: 52951183
entity_id: remote.livingroom
service: remote.send_command
livingroom_harmony_hdmi_switch_3: [source /config/scripts.yaml:65]
sequence: [source /config/scripts.yaml:66]
- data: [source /config/scripts.yaml:69]
command: 3
device: 52951183
entity_id: remote.livingroom
service: remote.send_command
livingroom_harmony_off: [source /config/scripts.yaml:12]
sequence: [source /config/scripts.yaml:13]
- entity_id: remote.livingroom
service: remote.turn_off
livingroom_harmony_pace_dvr_pause: [source /config/scripts.yaml:121]
sequence: [source /config/scripts.yaml:122]
- data: [source /config/scripts.yaml:125]
command: Pause
device: 52670666
entity_id: remote.livingroom
service: remote.send_command
livingroom_harmony_pace_dvr_play: [source /config/scripts.yaml:113]
sequence: [source /config/scripts.yaml:114]
- data: [source /config/scripts.yaml:117]
command: Play
device: 52670666
entity_id: remote.livingroom
service: remote.send_command
livingroom_harmony_samsung_tv_onoff: [source /config/scripts.yaml:105]
sequence: [source /config/scripts.yaml:106]
- data: [source /config/scripts.yaml:109]
command: PowerToggle
device: 52957067
entity_id: remote.livingroom
service: remote.send_command
livingroom_harmony_tv: [source /config/scripts.yaml:5]
sequence: [source /config/scripts.yaml:6]
- data: [source /config/scripts.yaml:9]
activity: 32445672
entity_id: remote.livingroom
service: remote.turn_on
livingroom_harmony_vizio_tv_mute: [source /config/scripts.yaml:57]
sequence: [source /config/scripts.yaml:58]
- data: [source /config/scripts.yaml:61]
command: Mute
device: 52956729
entity_id: remote.livingroom
service: remote.send_command
livingroom_harmony_vizio_tv_off: [source /config/scripts.yaml:97]
sequence: [source /config/scripts.yaml:98]
- data: [source /config/scripts.yaml:101]
command: PowerOff
device: 52956729
entity_id: remote.livingroom
service: remote.send_command
livingroom_harmony_vizio_tv_on: [source /config/scripts.yaml:89]
sequence: [source /config/scripts.yaml:90]
- data: [source /config/scripts.yaml:93]
command: PowerOn
device: 52956729
entity_id: remote.livingroom
service: remote.send_command
livingroom_harmony_vizio_tv_volume_down: [source /config/scripts.yaml:49]
sequence: [source /config/scripts.yaml:50]
- data: [source /config/scripts.yaml:53]
command: VolumeDown
device: 52956729
entity_id: remote.livingroom
service: remote.send_command
livingroom_harmony_vizio_tv_volume_up: [source /config/scripts.yaml:41]
sequence: [source /config/scripts.yaml:42]
- data: [source /config/scripts.yaml:45]
command: VolumeUp
device: 52956729
entity_id: remote.livingroom
service: remote.send_command
sun: ?
updater: ?
include_used_components: False
reporting: True
zone: [source /config/configuration.yaml:111]
- latitude: 41.0771
longitude: -80.729
name: Alex’s House
radius: 100
- latitude: 41.0904
longitude: -80.7332
name: AMS
- latitude: 41.1082
longitude: -80.6488
name: YSU
- latitude: 41.0913
longitude: -80.7387
name: Fitch
Successful config (partial)
automation:
- action: ?
- data: [source /config/automations.yaml:15]
command: On/Off
device: 52670895
entity_id: ?
- remote.livingroom
service: remote.send_command
- data: [source /config/automations.yaml:20]
command: Backlight
device: 52670895
entity_id: ?
- remote.livingroom
service: remote.send_command
- data: [source /config/automations.yaml:25]
command: Flame Color
device: 52670895
num_repeats: 2
entity_id: ?
- remote.livingroom
service: remote.send_command
- data: [source /config/automations.yaml:31]
command: Heat
device: 52670895
entity_id: ?
- remote.livingroom
service: remote.send_command
alias: Turn on Fireplace
hide_entity: False
id: fireplace_on
initial_state: True
trigger: ?
- platform: state
entity_id: ?
- input_boolean.fireplace
to: on
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 41.08435455221812
longitude: -80.71785102693362
# 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: America/New_York
customize: !include customize.yaml
# Enables configuration UI
config:
# Cloud
cloud:
# Enables the frontend
frontend:
device_tracker:
- platform: geofency
mobile_beacons:
- Cameron
- Morgan
- Wendy
- Corey
http:
# Secrets are defined in the file secrets.yaml
# api_password: !secret http_password
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# base_url: example.duckdns.org:8123
cors_allowed_origins:
- http://192.168.86.85:7080
media_player:
- platform: mpd
host: 192.168.86.85:6600
music:
title: Music
icon: mdi:music-box-outline
url: http://192.168.86.85:6600/share/mopidy/media
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Discover some devices automatically
discovery:
notify:
ios:
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
# Enables a map showing the location of tracked devices
map:
remote:
- platform: harmony
name: Living Room
host: 192.168.1.120
username: !secret harmony_username
password: !secret harmony_password
# Track the sun
sun:
# Text to speech
tts:
- platform: google
# Checks for available updates
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# include_used_components: true
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
############################################################
# THESE SECTIONS ARE IN OTHER FILES #
# e.g. If you add a sensor, just put the platform in #
# the sensors.yaml file and not in this configuration #
############################################################
sensor: !include sensors.yaml
input_boolean: !include input_booleans.yaml
group: !include groups.yaml
script: !include scripts.yaml
automation: !include automations.yaml
############################################################
panel_iframe:
controlpanel:
title: Control Panel
icon: mdi:tablet-ipad
url: http://192.168.86.85:7080
zone:
- name: Alex’s House
latitude: 41.0771
longitude: -80.7290
radius: 100
- name: AMS
latitude: 41.0904
longitude: -80.7332
- name: YSU
latitude: 41.1082
longitude: -80.6488
- name: Fitch
latitude: 41.0913
longitude: -80.7387
Automations.yaml
#######################################################
FIREPLACE
#######################################################
-
id: fireplace_on
alias: Turn on Fireplace
initial_state: ‘on’
trigger:- platform: state
entity_id: input_boolean.fireplace
to: ‘on’
action: - service: remote.send_command
entity_id: remote.livingroom
data:
device: “52670895”
command: “On/Off” - service: remote.send_command
entity_id: remote.livingroom
data:
device: “52670895”
command: “Backlight” - service: remote.send_command
entity_id: remote.livingroom
data:
device: “52670895”
command: “Flame Color”
num_repeats: 2 - service: remote.send_command
entity_id: remote.livingroom
data:
device: “52670895”
command: “Heat”
- platform: state
-
id: fireplace_off
alias: Turn off Fireplace
initial_state: ‘on’
trigger:- platform: state
entity_id: input_boolean.fireplace
to: ‘off’
action: - service: remote.send_command
entity_id: remote.livingroom
data:
- platform: state
Thanks to anybody for any help you can give on any of this!