Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduced RAM usage to make the UI more stable. #646

Merged
merged 24 commits into from
Aug 14, 2023

Conversation

MartinMueller2003
Copy link
Collaborator

@MartinMueller2003 MartinMueller2003 commented Aug 3, 2023

Significant rework to remove all uses of the Web Socket facilities. This resulted in a heap increase on the ESP8266 by 12KB which makes the UI much more stable. Made changes to try and have only a single HTTP request out to the ESP at a time. Can't do that for the initial load, but the extra heap makes it possible to get beyond initial page load.

@MartinMueller2003 MartinMueller2003 changed the title Reverted ESP8266 core OS to reduce ram usage Reduced RAM usage to make the UI more stable. Aug 12, 2023
@dkulp
Copy link
Contributor

dkulp commented Aug 13, 2023

One important note: this will completely break xLights integration. xLights currently uses the websocket API's for configuring everything.

@MartinMueller2003
Copy link
Collaborator Author

xlights is next on the todo list

@MartinMueller2003
Copy link
Collaborator Author

@dkulp
Did a clean xLights build (no changes yet) And I get some errors. Any hints?

image

@dkulp
Copy link
Contributor

dkulp commented Aug 13, 2023

I believe you forgot the --recurse-submodules when you did the git clone. A "git submodule update --init" should get all the submodules updated.

@MartinMueller2003
Copy link
Collaborator Author

MartinMueller2003 commented Aug 14, 2023 via email

@forkineye
Copy link
Owner

I'm going to go ahead and merge this so we can all stay in sync as I'm working on some things as well. Martin said he's working on the xLights configuration part so it won't be broke for very long. We'll drop a new release after more testing.

@forkineye forkineye merged commit de30b03 into forkineye:main Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EspPixelstick UI goes unresponsive, You can connect once and that is it
3 participants