AVM FRITZ! DECT 301 + Google Home

Hi Johannes,

I added a dummy item for the Google Assistant Mode and created a rule to apply my favorite temperatures to the set_temp channel. IIRC the Google Assistant send one of the following commands “on”, “off”, “heat”, “cool” or “heatCool”.

Looks like this:

String LR_GoogleAssistantMode (g_LR_Thermostat) [ "homekit:HeatingCoolingMode" ]
rule "Apply Google Assistant Mode"
when
    Item LR_GoogleAssistantMode changed
then
    switch receivedCommand {
        case "on" : LR_SetTemp.sendCommand("21°C")
        case "off" : LR_SetTemp.sendCommand("12 °C")
        ...
        default : ...
    }
end

Please be aware of typos I wrote this down in a second.

1 Like