Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tuto Script LUA
#13
Comme ca:

Code:
local Variable_Activation_Inter = calaos:getInputValue("intern_7")

if Variable_Activation_Inter == "0" then
   Variable_Activation_Inter = "1"
   calaos:setOutputValue("output_78", true)
   calaos:setOutputValue("output_54", true)
   calaos:setOutputValue("output_14", true)
elseif Variable_Activation_Inter == "1" then
   calaos:setOutputValue("output_78", false)
   calaos:setOutputValue("output_54", false)
   calaos:setOutputValue("output_14", false)
   Variable_Activation_Inter = "0"
end
return true
Raoul,
Calaos Core Dev.
Calaos git sur NUC NUC5PPYH | Wago 750-849 | DALI RGB | Sondes NTC sur 750-464 | Sondes 1Wire DS18B20 avec adaptateur USB DS9490R | Nodes MySensors avec gateway USB | Ecran tactile ELO avec adaptateur USB/RS232 | Squeezebox Duet et Radio | Logitech Harmony Ultimate | Ampli Pioneer VSX921
Reply


Messages In This Thread
Tuto Script LUA - by tom - 01-08-2014, 12:27 AM
RE: Tuto Script LUA - by raoulh - 01-08-2014, 10:29 AM
RE: Tuto Script LUA - by tom - 01-08-2014, 02:14 PM
RE: Tuto Script LUA - by raoulh - 01-08-2014, 02:22 PM
RE: Tuto Script LUA - by captainigloo - 01-08-2014, 02:59 PM
RE: Tuto Script LUA - by tom - 01-09-2014, 12:06 AM
RE: Tuto Script LUA - by raoulh - 01-09-2014, 10:10 AM
RE: Tuto Script LUA - by tom - 01-09-2014, 10:36 AM
RE: Tuto Script LUA - by raoulh - 01-09-2014, 10:40 AM
RE: Tuto Script LUA - by tom - 01-09-2014, 07:00 PM
RE: Tuto Script LUA - by Cyridle - 02-01-2015, 12:29 AM
RE: Tuto Script LUA - by Eric64 - 12-22-2015, 04:42 PM
RE: Tuto Script LUA - by raoulh - 12-22-2015, 05:58 PM
RE: Tuto Script LUA - by Eric64 - 12-22-2015, 06:15 PM
RE: Tuto Script LUA - by Eric64 - 12-22-2015, 06:44 PM
RE: Tuto Script LUA - by captainigloo - 12-23-2015, 03:50 PM
RE: Tuto Script LUA - by Eric64 - 12-23-2015, 07:20 PM
RE: Tuto Script LUA - by Eric64 - 12-23-2015, 07:47 PM
RE: Tuto Script LUA - by captainigloo - 12-23-2015, 08:36 PM
RE: Tuto Script LUA - by Eric64 - 02-15-2016, 09:46 AM
RE: Tuto Script LUA - by raoulh - 02-15-2016, 10:25 AM
RE: Tuto Script LUA - by Eric64 - 02-16-2016, 12:15 PM
RE: Tuto Script LUA - by raoulh - 02-16-2016, 12:29 PM
RE: Tuto Script LUA - by Eric64 - 02-16-2016, 03:12 PM
RE: Tuto Script LUA - by eh3an2010 - 12-15-2017, 07:51 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)