Heating Rules cron job, FritzBox, EuroDECT

Hey,

I try to manage my heater via a cron job but it is not working.

The adresses of the heaters are right, because I can use them via setpoints on my sitemap.

I’m using a FritzBox with the 7.01 Firmware and the EuroTronic DECT thermal switches.
By the way know somebody if it is necessary to set the temperature calender within the Fritzbox to the “Komfortemperatur”, “Spartemperatur” or completely set it off??? For manage it completely via openhab?

The attached code are my rules and the items perhaps somebody can see some mistakes.

Thank you very much!

ITEMS:
Number SollTemperatur_Arbeitszimmer "Arbeitszimmer: [%.1f]" <radiator>  (Office, Heater)                      {channel= "avmfritz:Comet_DECT:xxxxxxxxxxxxxxxxxxxxxxx:set_temp"}


RULES:
// Frühsicht Heizung
rule "Heizung Frühschicht"

when
Item Heater_ShiftMorning changed to ON
then
    when 
        Time cron "0 10 14 * * ?" 
    then
       sendCommand(SollTemperatur_Arbeitszimmer,21)
    end

    when
        Time cron "0 10 15 * * ?"
    then
       sendCommand(SollTemperatur_Arbeitszimmer,16)
    end
end
RULES:
// Frühsicht Heizung
rule "Heizung Frühschicht"

when
Item Heater_ShiftMorning changed to ON
then
    when 
        Time cron "0 10 14 * * ?" 
    then
       sendCommand(SollTemperatur_Arbeitszimmer,21)
    end

    when
        Time cron "0 10 15 * * ?"
    then
       sendCommand(SollTemperatur_Arbeitszimmer,16)
    end
end

The rule should have one when only. If you want to trigger off more than one when use or. The rule also needs to have only one end per rule.

Example:

rule "Heizung Frühschicht"

when
    Item Heater_ShiftMorning changed to ON or
    Time cron "0 10 14 * * ?" 
then
       SollTemperatur_Arbeitszimmer.sendCommand(21)
end

rule "second rule"
when
        Time cron "0 10 15 * * ?"
then
       SollTemperatur_Arbeitszimmer.sendCommand(16)
end

Thank you very much :slight_smile: At the moment I’m trying it with the CalDAV function.