The docs seem to gloss over the necessary require statement. Perhaps you have to require lom.lua explicitly. It’s in a subdirectory on Vera (/usr/lib/lua/lxp/lom.lua) which might not be in the lua path. Experiment with it till you get it to work. You may want to experiment on a Lua installation on a Real Computer instead.