LUA or Blocky Topic is solved

Moderator: leecollings

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

LUA or Blocky

Post by poudenes »

Hi Guys,

Im using Domoticz now for a while and have some blocky scripts running. I was wonder whats better.. Change the blocky to a LUA way of script or is it ok to hold it what it is? I see that in LUA there are more options.
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: LUA or Blocky

Post by Egregius »

Scripts give you complete control ;)
Keen in mind that there are other possibilities to use: Blockly, LUA, PHP, Shell, Python,...
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: LUA or Blocky

Post by poudenes »

Egregius wrote:Scripts give you complete control ;)
Keen in mind that there are other possibilities to use: Blockly, LUA, PHP, Shell, Python,...
I know... But the reason to keep it with Blockly or Lua is when you create it within Domoticz, its also in the backup files when you have to restore :)
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
manjh
Posts: 749
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: LUA or Blocky

Post by manjh »

poudenes wrote:
Egregius wrote:Scripts give you complete control ;)
Keen in mind that there are other possibilities to use: Blockly, LUA, PHP, Shell, Python,...
I know... But the reason to keep it with Blockly or Lua is when you create it within Domoticz, its also in the backup files when you have to restore :)
When I started with Domoticz, I was impressed by Blockly. Easy to use (once you understand the basics), and quite nice graphically.
But after a while I ran into boundaries, and decided to use Blockly when possible, and move to LUA when necessary.
A while later I found that I was getting better in LUA and I moved away from Blockly all together.
Bottom line: there is no "better". Just "different". With an advantage for LUA, since you do have a lot more control (as stated earlier in this post).
Hans
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest