Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return {
- active = true,
- on = {
- devices = {
- 'Pompa_Solar',
- 'Temperatura_Boiler_CWU',
- 'Temperatura_Solar'
- }
- },
- execute = function(domoticz, Pompa_Solar)
- if ((domoticz.devices('Temperatura_Solar').temperature ) > (domoticz.devices('Temperatura_Boiler_CWU').temperature +10)) then
- domoticz.devices('Pompa_Solar').switchOn()
- else
- domoticz.devices('Pompa_Solar').switchOff()
- end
- end
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement