Hey there. I am new to Openhab2. I try to trigger a light with a 433 MHz plug, but i seems to not work.
My configuration:
.things
Thing exec:command:apc [command="sudo /opt/rc-switch/switchOn.sh"]
.items
Switch APCRunning { channel="exec:command:apc:run"}
.sitemap
sitemap default label="Hausautomatisierung" {
Frame label="Funksteckdosen" {
Switch item=APCRunning
}
}
Log:
[WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model '.things' is either empty or cannot be parsed correctly!
switchOn.sh
#!/bin/bash
/opt/rc-switch/rcswitch-pi/send 11010 1 1