Scripts

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
GJKNL
Posts: 41
Joined: Monday 31 October 2016 9:33
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Scripts

Post by GJKNL »

What is recommended?
Put a lot of logic in one big script or use different small scripts?
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Scripts

Post by dannybloe »

I recommend small scripts. Easier to maintain, easier to debug, more control over enabling scripts, easier to test. But keep related logic together in one script.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
GJKNL
Posts: 41
Joined: Monday 31 October 2016 9:33
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Scripts

Post by GJKNL »

Clear answer. Thnx!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest