Upgrade LUA 5.1 ==> 5.3

Moderator: leecollings

Post Reply
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Upgrade LUA 5.1 ==> 5.3

Post by emme »

Ciao,

on a PI based system is it possibile to upgrade LUA from actual 5.1 to 5.3?

The main reason of this is the posibility to use the UTF8 support now included in LUA...
I'v seen that the upgrade procedure is quite simple: install and symlink the executible as /usr/bin/lua but is this enogh for Domoticz or does it need to be recompiled?

ciao
M
The most dangerous phrase in any language is:
"We always done this way"
User avatar
Siewert308SW
Posts: 294
Joined: Monday 29 December 2014 15:47
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: Upgrade LUA 5.1 ==> 5.3

Post by Siewert308SW »

Doesn't work that way.
Domoticz needs to be recompiled, Domoticz uses a compiled Lua version internally.
At the moment we are testing if Lua 5.3 is compatible.
https://github.com/domoticz/domoticz/pull/2061
Setup:
- DS923+ Docker
Domoticz Latest Stable
Mosquitto / ZwaveJSUI @ Aeotec Z-Stick Gen5+ / PiHole Unbound
P1 USB Gas/Power, HW watermeter
- A lot of Zwave switches, contacts, plugs, smoke/Co2 ect
- DiY 7.5kWh Solar Storage @ GitHuB
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Upgrade LUA 5.1 ==> 5.3

Post by emme »

thank you!
The most dangerous phrase in any language is:
"We always done this way"
User avatar
Siewert308SW
Posts: 294
Joined: Monday 29 December 2014 15:47
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: The Netherlands
Contact:

Re: Upgrade LUA 5.1 ==> 5.3

Post by Siewert308SW »

btw:
Doesn't mean it will be implanted or not.
Two years ago Gizmocuz also tried to update Lua but there where major complications.
Setup:
- DS923+ Docker
Domoticz Latest Stable
Mosquitto / ZwaveJSUI @ Aeotec Z-Stick Gen5+ / PiHole Unbound
P1 USB Gas/Power, HW watermeter
- A lot of Zwave switches, contacts, plugs, smoke/Co2 ect
- DiY 7.5kWh Solar Storage @ GitHuB
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest