2017-11-07 12:37:58 ERROR (MainThread) [homeassistant.config] Invalid config for [switch.rflink]: [automatic_add] is an invalid option for [switch.rflink]. Check: switch.rflink->automatic_add. (See ?, line ?). Please check the docs at https://home-assistant.io/components/switch.rflink/
2017-11-07 12:37:59 ERROR (MainThread) [homeassistant.components] Testing configuration at /home/homeassistant/.homeassistant
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up introduction
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up logger
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up recorder
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up http
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain introduction took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up history
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up api
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up frontend
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up map
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up group
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up sensor
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up rflink
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up sun
2017-11-07 12:37:58 ERROR (MainThread) [homeassistant.config] Invalid config for [switch.rflink]: [automatic_add] is an invalid option for [switch.rflink]. Check: switch.rflink->automatic_add. (See ?, line ?). Please check the docs at https://home-assistant.io/components/switch.rflink/
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up updater
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up discovery
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain map took 0.1 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.1 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.1 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain rflink took 0.1 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.1 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up config
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up tts
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up conversation
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up logbook
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up script
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up light
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up switch
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setting up automation
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain light took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.0 seconds.
2017-11-07 12:37:58 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
Failed config
switch.rflink:
platform: rflink
automatic_add: True
Successful config (partial)
switch.rflink:
And now it shows:
2017-11-07 13:12:50 ERROR (MainThread) [homeassistant.config] Invalid config for [rflink]: required key not provided @ data[‘rflink’][‘port’]. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/rflink/
2017-11-07 13:12:50 ERROR (MainThread) [homeassistant.setup] Setup failed for rflink: Invalid config.
2017-11-07 13:12:50 ERROR (MainThread) [homeassistant.loader] Unable to find component port
2017-11-07 13:12:50 ERROR (MainThread) [homeassistant.setup] Setup failed for port: Component not found.
.
.
.
Failed config
rflink:
General Errors:
- Setup failed for rflink: Invalid config.
- Component not found: port
- Setup failed for port: Component not found.
Successful config (partial)
rflink:
Wha could be wrong? Should I install something if I want to use RFLINK? I thought there is wverything ready with hassbian - or not?
Maybe I specified wrong “port”. But if I use command"/dev/serial/by-id $ ls" it shows:
usb-1a86_USB2.0-Serial-if00-port0
So is it OK to have config like this?:
rflink:
port: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
2017-11-07 13:44:17 ERROR (MainThread) [homeassistant.config] Invalid config for [switch.rflink]: [automatic_add] is an invalid option for [switch.rflink]. Check: switch.rflink->automatic_add. (See ?, line ?). Please check the docs at https://home-assistant.io/components/switch.rflink/
Log shows this:
2017-11-07 15:17:14 ERROR (MainThread) [homeassistant.config] Invalid config for [switch.rflink]: [icon] is an invalid option for [switch.rflink]. Check: switch.rflink->devices->chuango_08cea3_02->icon. (See ?, line ?). Please check the docs at https://home-assistant.io/components/switch.rflink/
2017-11-07 15:17:14 ERROR (MainThread) [homeassistant.components] Testing configuration at /home/homeassistant/.homeassistant
2017-11-07 15:17:13 INFO (MainThread) [homeassistant.setup] Setting up introduction
2017-11-07 15:17:13 INFO (MainThread) [homeassistant.setup] Setting up logger
2017-11-07 15:17:13 INFO (MainThread) [homeassistant.setup] Setting up http
2017-11-07 15:17:13 INFO (MainThread) [homeassistant.setup] Setting up recorder
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain introduction took 0.0 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.0 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.0 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setting up api
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setting up history
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setting up frontend
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setting up group
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setting up updater
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setting up discovery
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setting up rflink
2017-11-07 15:17:14 ERROR (MainThread) [homeassistant.config] Invalid config for [switch.rflink]: [icon] is an invalid option for [switch.rflink]. Check: switch.rflink->devices->chuango_08cea3_02->icon. (See ?, line ?). Please check the docs at https://home-assistant.io/components/switch.rflink/
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.1 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.1 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.0 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain rflink took 0.0 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setting up logbook
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setting up config
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setting up automation
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setting up script
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setting up switch
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.0 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
2017-11-07 15:17:14 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.0 seconds.
Failed config
switch.rflink:
platform: rflink
device_defaults: [source /home/homeassistant/.homeassistant/configuration.yaml:53]
fire_event: True
devices: [source /home/homeassistant/.homeassistant/configuration.yaml:55]
chuango_08cea3_02: [source /home/homeassistant/.homeassistant/configuration.yaml:56]
icon: mdi:run-fast
name: senzor pohybu 1
Now, when I can see the sensor there is no chuango_08cea3_02 in log. Seems like since now this ID is being ignored (tried with 2 motion sensor devices, tried restart both raspberry and rflink). Is it possible?
Erased all and set again. Now it works. The switch goes to ON only for the first time. If I manualy turn it back to OFF it will never go to ON again. Also there are no EVENTS even if I have set fire_event: true.