Broadlink binding for RMx, A1, SPx and MP. Any interest?

I have done this with switches as follows (works with alexa):

broadink.items

String Airco_Remote {channel = "broadlink:rm3:34-ea-34-c3-f8-c7:command"}
Switch Klima_Dummy "Klimaanlage" ["Switchable"] {autoupdate="false"}
Switch Klima_Realfeel_Dummy "Real Feel" ["Switchable"] {autoupdate="false"}
Switch Klima_Dehumidify_Dummy "Entfeuchten" ["Switchable"] {autoupdate="false"}
Switch Klima_Quiet_Dummy "Nachtmodus" ["Switchable"] {autoupdate="false"}

broadlink.rules

rule "aircon simple on"
    when
        Item Klima_Dummy received command ON
    then
        Airco_Remote.sendCommand("AIRCO_AUTO_26")
end

rule "aircon quiet on"
    when
        Item Klima_Quiet_Dummy received command ON
    then
        Airco_Remote.sendCommand("AIRCO_SILENT_26")
end

rule "aircon Dehumid on"
    when
        Item Klima_Dehumidify_Dummy received command ON
    then
        Airco_Remote.sendCommand("AIRCO_DEHUMIDIFY")
end

rule "aircon Realfeel on"
    when
        Item Klima_Realfeel_Dummy received command ON
    then
        Airco_Remote.sendCommand("AIRCO_REALFEEL")
end

rule "aircon off"
    when
        Item Klima_Dummy received command OFF or
        Item Klima_Realfeel_Dummy received command OFF or
        Item Klima_Dehumidify_Dummy received command OFF or
        Item Klima_Quiet_Dummy received command OFF
    then
        Airco_Remote.sendCommand("AIRCO_OFF")
end

In a later iteration, I’ll add logic to select the temp according to room temp (from my heating system).

2 Likes