Page 1 of 1

Script, Group or Scene?

Posted: Saturday 30 December 2017 8:41
by falslev11
Hey

Im new into Domoticz. Started out making events and groups.
Changed all that to lua scripts instead.

But now im thinking. Is't faster and better (connection wise) to make as much as possible in groups, compared to lua scripts?

Re: Script, Group or Scene?

Posted: Saturday 30 December 2017 10:18
by SweetPants
If you want to switch on/off a whole bunch of switches at the same time, then scene/groups are easier to use and integrated in domoticz (ie faster).

Re: Script, Group or Scene?

Posted: Saturday 30 December 2017 12:16
by Egregius
I would say script. Then you'll have full control of it.

Re: Script, Group or Scene?

Posted: Monday 01 January 2018 18:38
by falslev11
I personally like scripts most. But is the response faster with ex. groups?

Re: Script, Group or Scene?

Posted: Monday 01 January 2018 19:30
by SweetPants
falslev11 wrote: Monday 01 January 2018 18:38 I personally like scripts most. But is the response faster with ex. groups?
I tend to say scenes/groups are faster. It's known multiple scripts introduce some delays, but all depends on your system. I use an Intel NUC and hardly see any delays, but on an RPi it might get noticeable.