Page 1 of 1

Grouping Thermostats

Posted: Thursday 08 December 2016 23:09
by Ernstl
Hi there,
I´m new to Smart Home. I decided to use Domoticz on a Sinology NAS DS 216j with an AEON Gen5. Stick. I ordered 3 Danfoss LC140013 Radiator Thermostats and a Fibaro Roller Shutter 2 to proof and learn.
Configuration an inclusion worked fine, at the time i use the timer settings. The Thermostats are shown as devices, the Roller Shutter as a switch.

My question is:
Is ist possible to group the Thermostates?
I´ve two radiators in 1 Room and they should work syncron. It might be easier or more comfortable if I could steer them with one timer, too.

How can i do that?
Remember i am new to this an need an explanation for a stupid ;-)

Regards
Ernst

Re: Grouping Thermostats

Posted: Friday 09 December 2016 5:57
by Egregius
Everything is possible, surely if you start scripting.

3 valves in my living, syncronised with $RSetliving. $RSetliving is a value depending on Setpoint of the room and actual temperature.

Code: Select all

if($s['livingZ'] !=$RSetliving)
{
    lg('Danfoss livingZ was '.$s['livingZ'].',nieuw='.$RSetliving);
    ud($i['livingZ'], 0,$RSetliving,'RlivingZ',2000000);
}
if($s['livingZZ']!=$RSetliving)
{
    lg('Danfoss livingZZ was '.$s['livingZZ'].',nieuw='.$RSetliving);
    ud($i['livingZZ'],0,$RSetliving,'RlivingZZ',2000000);
}
if($s['livingZE']!=$RSetliving)
{
    lg('Danfoss livingZE was '.$s['kamerZ'].',nieuw='.$RSetliving);
    ud($i['livingZE'],0,$RSetliving,'RlivingZE',2000000);
}
 

Re: Grouping Thermostats

Posted: Friday 09 December 2016 7:58
by mKotek
Would you mind sharing more information on how you calculate setpoint based on room temperature?

Re: Grouping Thermostats

Posted: Friday 09 December 2016 11:24
by Egregius

Re: Grouping Thermostats

Posted: Saturday 10 December 2016 17:42
by Ernstl
Thanks for the answers.
Scripting is something complexly new for me... :o
Befor i try this, is there another way?
What about scenes?

Regards
Ernstl

Re: Grouping Thermostats

Posted: Saturday 10 December 2016 17:45
by Egregius
Bite the apple ;)
Once you'll know a bit of scripting a whole new world of possibilities opens. :mrgreen: