Save the herbs!

Herbs are dead (again)

So my wife bought some culinary herbs (rosemery, mint and such things) and placed them at the kitchen window. This worked fine during the winter months, but hey now we have summer and the herbs get rosted by the midday sun. So smarthome to the rescue!

return {
        on = {
                timer = {
                    'at 10:00',
                    'at 15:00'
                }
        },

        execute = function(domoticz, item)

           if (domoticz.time.matchesRule('at 10:00')) then
               domoticz.devices('Rollladen_Kueche').dimTo(65)
           elseif (domoticz.time.matchesRule('at 15:00')) then
               domoticz.devices('Rollladen_Kueche').switchOff()
           end
        end
}

Herbs saved, wife happy :).

Happy Hacking!!

License: CC BY-SA 4.0 Discuss on Mastodon