[HC2] Which Lua commands (functions) are not available in scenes?

FIBARO Home Center 2 allows to create scenes programmed in Lua language, but some of Lua commands are disabled for safety and security of your system.

 

Disabled commands:

  • dofile
  • _G
  • getfenv
  • getmetatable
  • load
  • loadfile
  • loadstring
  • module
  • rawequal
  • rawget
  • rawset
  • require
  • setfenv
  • setmetatable
  • coroutine
  • debug
  • file
  • io
  • os.execute
  • os.getenv
  • os.remove
  • os.rename
  • os.setlocale
  • os.tmpname
  • package

November 8, 2017   8461    Questions    
Total 19 Votes:
6

Tell us how can we improve this post?

+ = Verify Human or Spambot ?

Comments are closed.