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: 290
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:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
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: 290
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:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest