I tried with the Windows Version to set my stuff up but its not working at all.
So i tried it with my Synology, i can read the commands from my Broadlink device.
they look like this
qgCQAAsrCwkKLAoAAVMKWQsJCysKLQsJCwkKLAoKCisLCQosCisLCQsMCysLKwsLCgoKLAkKCysKKwsKCgkKLAoKCisLCQosCisLDAorCgsLKwsKCisKCgsJCiwKCgstCgkLLAotCgoLKwoKCgoKLAorCgsKCQosCwoKKwsrCgoKCgosCgkLKwsKCiwKCQosCgAF3AAAAAAAAAAA
But how i can make a switch of this code?
I tried it like its discriped, but iam a noob and dont know much about it.
i get this error
The following errors have been logged this session:
2017-10-09 11:37:50 ERROR (MainThread) [homeassistant.loader] Unable to find component switches
2017-10-09 11:37:50 ERROR (MainThread) [homeassistant.setup] Setup failed for switches: Component not found.
2017-10-09 11:37:51 ERROR (MainThread) [homeassistant.components] Testing configuration at /config
switch:
- platform: broadlink
host: 192.168.0.72
mac: '34:EA:34:D0:A3:0A'
timeout: 15
switches:
# Will work on most Phillips TVs:
tv_phillips:
friendly_name: "Phillips Tv Power"
command_on: 'qgCQAAsrCwkKLAoAAVMKWQsJCysKLQsJCwkKLAoKCisLCQosCisLCQsMCysLKwsLCgoKLAkKCysKKwsKCgkKLAoKCisLCQosCisLDAorCgsLKwsKCisKCgsJCiwKCgstCgkLLAotCgoLKwoKCgoKLAorCgsKCQosCwoKKwsrCgoKCgosCgkLKwsKCiwKCQosCgAF3AAAAAAAAAAA='
command_off: 'qgCQAAsrCwkKLAoAAVMKWQsJCysKLQsJCwkKLAoKCisLCQosCisLCQsMCysLKwsLCgoKLAkKCysKKwsKCgkKLAoKCisLCQosCisLDAorCgsLKwsKCisKCgsJCiwKCgstCgkLLAotCgoLKwoKCgoKLAorCgsKCQosCwoKKwsrCgoKCgosCgkLKwsKCiwKCQosCgAF3AAAAAAAAAAA='
Configuration Validation
Validate your configuration if you recently made some changes to your configuration and want to make sure that it is all valid.
Configuration invalid.CHECK CONFIG
Testing configuration at /config
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up introduction
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up recorder
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up http
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain introduction took 0.0 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.0 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up history
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up api
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up frontend
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up sensor
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up group
2017-10-09 13:21:58 ERROR (MainThread) [homeassistant.config] Invalid config for [switch.broadlink]: expected a dictionary for dictionary value @ data[‘switches’]. Got [OrderedDict([(‘Kueche’, OrderedDict([(‘friendly_name’, ‘Kueche’), (‘command_on’, ‘qgCQAAsrCwkKLAoAAVMKWQsJCysKLQsJCwkKLAoKCisLCQosCisLCQsMCysLKwsLCgoKLAkKCysKKwsKCgkKLAoKCisLCQosCisLDAorCgsLKwsKCisKCgsJCiwKCgstCgkLLAotCgoLKwoKCgoKLAorCgsKCQosCwoKKwsrCgoKCgosCgkLKwsKCiwKCQosCgAF3AAAAAAAAAAA==’), (‘command_off’, 'qgDsAgsrCisLCQsrCgoMKwoNCisLCgsKCiwKCQsrCgoKLAorCgoKLAoKCgkLLAorCgoKCQwrCwoLKwoKCisLCQosChYKKw4JCi0KCgsrCgABUwtYCwkLKworCwoKCQsrCgoKLAsJCysKKwoKCwkKLAorCgwKCQsrCgoLKgsrCgoKCgorCwkKLAo… (See ?, line ?). Please check the docs at https://home-assistant.io/components/switch.broadlink/
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up sun
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up discovery
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up updater
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.1 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.1 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.1 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.1 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.1 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up conversation
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up tts
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up config
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up logbook
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up switch
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up automation
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setting up script
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.0 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.0 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.0 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.0 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2017-10-09 13:21:58 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
Failed config
switch.broadlink:
platform: broadlink
host: 192.168.0.72
mac: 34:EA:34:D0:A3:0A
switches: [source /config/configuration.yaml:68]
2017-10-09 13:46:26 ERROR (MainThread) [homeassistant.config] Invalid config for [switch.broadlink]: [Kueche] is an invalid option for [switch.broadlink]. Check: switch.broadlink->switches->Kueche. (See ?, line ?). Please check the docs at Broadlink - Home Assistant
2017-10-09 13:46:27 ERROR (MainThread) [homeassistant.components] Testing configuration at /config
2017-10-09 13:46:26 INFO (MainThread) [homeassistant.setup] Setting up introduction
is 40 enough for a beer? i hope i spend enough for a beer