Search found 2 matches

by Rohald
Tuesday 09 April 2019 15:47
Forum: LUA
Topic: How to check on which device lua scripts runs
Replies: 3
Views: 1022

Re: How to check on which device lua scripts runs

I have multiple RPI's with domoticz which all use the same scripts. In Bash I know how to select on which host the scripts runs. Is that also possible with LUA? And how could this be configured? with dzVents (= Lua) and if you use a recent beta, you can identify the name of your system by the ...
by Rohald
Sunday 07 April 2019 7:27
Forum: LUA
Topic: How to check on which device lua scripts runs
Replies: 3
Views: 1022

How to check on which device lua scripts runs

Hello, I've one question i have multiple RPI's with domoticz which all use the same scripts but in Bash I know how to select on which host the scripts runs and than executes the script on the other hosts the script won't be executed. HOST=$(hostname) if [ "$HOST" = "domoticz" ]; then <EXECUTE> else ...