Lot of Single dzVents or 1 large

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

Moderator: leecollings

Post Reply
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Lot of Single dzVents or 1 large

Post by poudenes »

Hi All,

What is better. 1 large dzVents script or split them up for every function?
I have these already now:
Screen Shot 2017-10-13 at 20.23.03.jpg
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
User avatar
heggink
Posts: 989
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: Lot of Single dzVents or 1 large

Post by heggink »

Lua: one big one as performance suffers big time. dzvents: no need to consolidate for performance and better maintainable in separate files. I have some 50 scripts and performance averages around 5%.
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: Lot of Single dzVents or 1 large

Post by poudenes »

Thanks. Then i hold it like this. Its better to manage as well then 1 big file
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest