full devices reset
-
-
Try /openluup ?
-
file not found
-
/console ?
-
can't find WSAPI application entry point
-
You’re saying that
OpenLuupIP:3480/openLuup?page=devices
Doesn’t work.
Is this new?
-
it's not working.. and have no idea when it start not working, i'm not using it often
-
The latest dev v24.2.26, has better diagnostics for the console startup...
...may help to diagnose your console issue, if you have time to give it a go.
The console starts on the first attempt to access one of its pages.
-
Just updated...
Got
2024-02-26 12:25:03.339 openLuup.wsapi:: using openLuup/console.lua for openLuup
2024-02-26 12:25:03.339 openLuup.wsapi:: using REQUIRE to load CGI openLuup/console.lua
2024-02-26 12:25:03.339 openLuup.wsapi:: can't find WSAPI application entry point -
2024-02-26 12:27:36.315 openLuup.wsapi:: using openLuup/console.lua for openLuup
2024-02-26 12:27:36.316 openLuup.wsapi:: using REQUIRE to load CGI openLuup/console.lua
2024-02-26 12:27:36.328 scheduler.context_switch:: ERROR: [dev #0] ./openLuup/panels.lua:69: attempt to call field 'SID' (a nil value)
2024-02-26 12:27:36.328 openLuup.server:: ./openLuup/panels.lua:69: attempt to call field 'SID' (a nil value) -
Excellent – a good error message to work on...
...I just need to work out why it's not happening to me.
-
Could you run this code and let me know the result? I’m thinking there must be a version mismatch somewhere in your setup.
local loader = require "openLuup.loader" local lfs = require "lfs" local ignore = {init=true, json=true} for a in lfs.dir "openLuup/" do local b = a: match "^(.-).lua$" if b and not ignore[b] then local x = loader.find_file(a) local y = require ("openLuup." .. b) if type(y) == "table" then local v = (y.ABOUT or {}) .VERSION or '----.--.--' print(v, x) end end end
-
----.--.-- openLuup/api.lua
2022.12.20 openLuup/historian.lua
2019.07.19 openLuup/http.lua -
…is that ALL ??!
-
-
Ah, same module as your original error.
-
Sorry to be a pain, but what does this say…?
local lfs = require "lfs" for a in lfs.dir "openLuup/" do if a: match "%.lua$" then local f = io.open ("openLuup/" .. a) if f then local v = f:read "*a" f: close() print(v: match 'VERSION.-"([^"]+)', a) end end end
-
@akbooer no worries
2023.01.01 api.lua
2024.02.23 init.lua
2022.12.20 historian.lua
2019.07.19 http.lua
2023.02.18 panels.lua
2023.03.04 console_util.lua
2022.11.05 chdev.lua
2021.05.08 gateway.lua
2023.02.10 wsapi.lua
2024.01.06 loader.lua
2019.10.14 client.lua
2024.02.09 mqtt.lua
2020.03.30 L_AltAppStore.lua
2024.05.01 scheduler.lua
2024.02.11 L_ShellyBridge.lua
2023.03.04 userdata.lua
2018.07.28 backup.lua
2021.03.05 shelly_cgi.lua
2024.02.26 L_openLuup.lua
2022.12.20 whisper.lua
2018.04.23 pop3.lua
2021.01.03 L_VeraBridge.lua
2021.06.14 L_TasmotaBridge.lua
2023.01.06 luup.lua
2024.01.05 devices.lua
2024.02.22 virtualfilesystem.lua
2021.08.21 whisper-edit.lua
2024.02.25 servertables.lua
2018.07.28 sysinfo.lua
2021.05.01 json.lua
2018.03.25 logs.lua
2024.02.12 timers.lua
2021.02.20 requests.lua
2022.12.11 L_Zigbee2MQTTBridge.lua
2016.06.30 compression.lua
2021.04.23 xml.lua
2023.03.03 scenes.lua
2018.01.27 hag.lua
2021.03.25 http_async.lua
2019.08.12 graphite_cgi.lua
2024.01.03 tcp.lua
2024.01.03 io.lua
2024.01.03 server.lua
2016.06.23 rooms.lua
2018.04.12 smtp.lua
2021.04.30 servlet.lua
2024.02.26 console.lua -
yeah it's working
59/77