i have 3 433mhz sockets controlled via openhab2 (openhabian on RaspberryPi).
I can control them via the openhab app.
But for Homekit and Amazon Echo i need them as Switch, not as String.
Moin!
Den Namen der Veriablen nach nehme ich an, dass du deutsch sprichst?
Falls dem so ist…hätte ich evtl. etwas für Dich, da ich an dem selben Problem sitze.
Keep in mind that this forum uses English as the ONLY language. That way the group of users is much bigger, answering in a other language will limit the answer to persons speaking that language.
Why did you use Strings at all? Did you try to change the Strings to Switch?
Your usage sounds like you even could use the Intertechno binding,I’m using this binding for switching my 433mhz power-pluggs (Funksteckdosen).
Will the Intertechno binding work with the elro 440 power-plugs??
I use Strings to execute a shell script which uses the send.sh script to switch the power-plugs (./send 11101 1 1 for example)
I defined a “dummy” switch (as Switch) and connected it via a rule to the String switches.
.Item:
String steckdoseG2Switch “Wohnzimmerlampe 1” (grp_steckdosen) [ “Switchable” ] { channel=“exec:command:steckdoseG2-control:input”, channel=“exec:command:steckdoseG2-status:output”, autoupdate=“true” }
You have to install the Rule engine Binding. After that you have the option “Rules” in the paper ui menu.
There you just have to build the rule by clicking through the rule wizzard
Unfortunately I can’t help you but I just wanted to say thanks for your question, as the example code you provide helps me a little bit better in understanding how to send non standard (other than OFF/ON/CLOSED/OPEN) from openhab via MQTT
I’m sorry, but I’m not used to that code, I did the initial checks if thre sending device is working using “screen” commands like “is00000FFF0FFF” for ON and “is00000FFF0FF0”.
You have to install the rule engine…
In the Paper UI, go to “Add-ons”. Now, on the right side click on “MISC” and there you will find “Rule Engine (Experimental)”
What kind of 433mhz PowerSwitches do you have? Brand, picture… will help.
What kind of hardware do you have that does transmit to the PowerSwitches?
Most of the usual switches a compatible with Intertechno, you just have to convert the setting. If your switches are compatible I’m still standing by to help (Although your avatar scares me to death).
You are on OH2, stable or nigthly snaoshot?
Which Addons are gone, OH2 Addons or OH1 Addons? How did you install them, through PaperUI, dropping the .jar into Addons Folder or…?
check your /etc/openhab2/services/addons.cfg file
You can list in there all the addons that you need and they won’t be uninstalled on OH2 service restart