Missing module in Lua 5.1
Posted: Tuesday 19 January 2016 5:19
Hi all,
First time post here. Just started with Domoticz on the RPI. Loving it so far.
I am writing a Lua Script to query the status of a relay board. For this I need the socket.http module in place. Now obviously I can install it on the OS Lua, but of course the Domoticz Lua is different. I just grabbed the RPI Domoticz image and it seems to of been compiled with Lua 5.1. Not sure why but I did read that Domoticz was going back to Lua 5.1 from 5.2?
I learned of such from this post http://www.domoticz.com/forum/viewtopic ... 638#p22638. It mentions that to untar in the 5.2 directory. Well I only have the 5.1 directory.
Is the image I installed not correct? It came directly from Domoticz.com.
How do I get LuaSockets into the Domoticz Lua?
Thanks
First time post here. Just started with Domoticz on the RPI. Loving it so far.
I am writing a Lua Script to query the status of a relay board. For this I need the socket.http module in place. Now obviously I can install it on the OS Lua, but of course the Domoticz Lua is different. I just grabbed the RPI Domoticz image and it seems to of been compiled with Lua 5.1. Not sure why but I did read that Domoticz was going back to Lua 5.1 from 5.2?
I learned of such from this post http://www.domoticz.com/forum/viewtopic ... 638#p22638. It mentions that to untar in the 5.2 directory. Well I only have the 5.1 directory.
Is the image I installed not correct? It came directly from Domoticz.com.
How do I get LuaSockets into the Domoticz Lua?
Thanks