I instaled the librs232 library in the raspberry along domoticz. (home/username/ folder). When I call
Code: Select all
require("luars232")
Code: Select all
no field package.preload['luars232']
no file '/usr/local/share/lua/5.2/luars232.lua'
no file '/usr/local/share/lua/5.2/luars232/init.lua'
no file '/usr/local/lib/lua/5.2/luars232.lua'
no file '/usr/local/lib/lua/5.2/luars232/init.lua'
no file './luars232.lua'
no file '/usr/local/lib/lua/5.2/luars232.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './luars232.so'
I set the $PATH environoment variable on rasberry debian jessie. But the error is still prompted in the domoticz log.