Open Cerothen opened 1 month ago
JSON live has been disabled by default in b6.
Is the intent to have the live view page be removed or switch to use the websocket?
If you want to use it, custom compile. Otherwise switch to websockects as it is more efficient.
Could we have a check during the build that catches these incompatible set of build options?
If the JSON live is needed (please get users to upvote this issue) then it can be enabled in release builds. It was omitted in an attempt to reduce binary size to fit other more important features in the future. Actual commit: 0bbd6b7c4b677249b584f90abbacde6f44f0ea85
I'm not directly aware of what's needed to address the websocket however the liveview
page depends on the JSON/live API. I'm just wondering if the liveview page will be rewritten to use websockets or if it is going to be removed
Web UI (including /liveview) uses websockets. Nothing special needed.
the live view page currently does try to access the json/live api.
Perhaps there is a bug?
No. You have to use websockets in the parent window. UI does that.
What happened?
When attempting to use the
http://host/liveview
page nothing was loading, upon closer inspection the api located athttp://host/json/live
was returning the following:The "Peek" feature in the regular UI works as expected however it is communicating using websocket messages and not with the same JSON api resource
To Reproduce Bug
Navigate to
http://host/liveview
when using version 0.15.0-b6 "Kosen"Expected Behavior
The assumption is that the
http://host/json/live
api resource would return a non-errorInstall Method
Binary from WLED.me
What version of WLED?
WLED 0.15.0-b6 (build 2410140)
Which microcontroller/board are you seeing the problem on?
ESP8266
Relevant log/trace output
No response
Anything else?
No response
Code of Conduct