Also problems with Exec-Binding

First of all I would like to say “hello”.

I’ve installed openhab2 with exec-binding. The three sockets I would like to switch are installed with this tutorial:

http://www.forwardme.de/2016/11/24/433mhz-funksteckdosen-mit-raspberry-pi-und-openhab-schalten/

Except the configuration in Openhab2 was based on this #22912

My configuration is:

THING:

Thing exec:command:funkdose_control_1 [ command="sudo /opt/raspberry-remote/send 11111 1 %2$s", interval=0, autorun=true ]
Thing exec:command:funkdose_control_2 [ command="sudo /opt/raspberry-remote/send 11111 2 %2$s", interval=0, autorun=true ]
Thing exec:command:funkdose_control_3 [ command="sudo /opt/raspberry-remote/send 11111 3 %2$s", interval=0, autorun=true ]

ITEM:

String dose_1 "Dose 1" <network> (group_location_livingroom) [ "Switchable" ] { channel="exec:command:funkdose_control_1:input", channel="exec:command:device-nas-status:output", autoupdate="false" }
String dose_2 "Dose 2" <network> (group_location_livingroom) [ "Switchable" ] { channel="exec:command:funkdose_control_2:input", channel="exec:command:device-nas-status:output", autoupdate="false" }
String dose_3 "Dose 3" <network> (group_location_livingroom) [ "Switchable" ] { channel="exec:command:funkdose_control_3:input", channel="exec:command:device-nas-status:output", autoupdate="false" }

SITEMAP:

Switch item=dose_1 mappings=[ "1"="ON", "0"="OFF" ]
Switch item=dose_2 mappings=[ "1"="ON", "0"="OFF" ]
Switch item=dose_3 mappings=[ "1"="ON", "0"="OFF" ]

It worked fine for about 2 weeks, but meanwhile I got the following warning/error in ophab.log:

2017-04-25 20:47:33.326 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command '0' for item 'dose_1' to handler for channel 'exec:command:funkdose_control_1:input', because no thing with the UID 'exec:command:funkdose_control_1' could be found.

The commandline controll still works fine.

Anyone who can help me?
Thank you! :slight_smile:

Hey Thorsten !

Ich kann dein Problem leider nicht lösen.
Aber ich möchte dir mitteilen, dass du mein Problem soeben gelöst hast !!!
Ich habe nun seit 9 Stunden versucht Steckdosen mit OH zu steuern und habe es nicht geschafft, bis ich nun einfach deine Syntax kopiert habe. Dafür möchte ich dir herzlich danken !!!