my my problem is, that i have got a 433MHz item as string. That works fine.
Right now, i want to use Homekit, but Homekit allows ony items as Switch, and Switch does not allow exec with input (wich i need) it allows only exec with run, but i need to send 2 params to my .sh-script.
I tried to do it with rules, but there are the same problems…
yes, homekit does not support any input.
probably you need to have a switch in homekit for any parameter combination and mapped it with rules to your parameters
not sure what the parameters means but you can name the switch accordantly, e.g.
“Home Light Blue”
“Home Light green”
and then tell Sire “Switch on Home Light Blue”.
in general, Homekit is very limited and not that open as alexa. for non-supported device you need to make workarounds
rule "Mapping for homekitt"
when
Item powerOutletAHomekit received update
then
if (powerOutletAHomekit == ON) {
poweroutletASwitch.sendCommand("your parameter for ON");
} else {
poweroutletASwitch.sendCommand("your parameter for OFF");
}
end
if you have more than 2 parameters then you would need to work with multiple switches in homekit