Skip to content

ESP32-sveltekit POC #68

@ewowi

Description

@ewowi

Hi theelims,

I am playing with your ESP32 SvelteKit repo and I am impressed with the quality and features of it. I am considering using it to port my StarBase and StarLight projects to it, which are spin offs of WLED / WLED MoonModules.

I set up a fork for this called MoonBase to do a proof of concept (POC).

I have a number of questions / remarks / observations:

  • Are you aware of more people working with it. I checked the current forks but except leokeba, I did not find a lot of activity. Is there a discord server or another platform where users can exchange information?
  • What are the current plans? One of the first things I would like to setup is a files manager. As I use littleFS to store fixture definitions. Is that also on your list? I was thinking to setup a rest api to exchange the contents of the file system with the client. Is that the right approach? Do you have some hints how to do it? Of course I am more then happy to PR it back if you are interested.
  • if I understand correctly loops run at 20ms. Which is a system I also use, except for effect loops which can run at 130 fps (or more in some cases), any hints how to setup high speed loops?
  • I see cache has max-age=31536000. For development I want to see changes immediately. So I commented that statement for now, might be good to have that conditional.
  • I was wondering why PsychicHttp is not a lib dep in Pio.ini but the code is copied in the repo. Is this done for a reason? (latest version is v1.2.1, included version is 1.0.1)
  • It looks like it is not always working well in Safari (while it is running fine in Chrome). Eg refresh races occur. I need to investigate why exactly.
  • There are a number of warnings during svelte compile (most is export let data / unused export property). Is that expected behavior?
  • Passwords are not obfuscated (example /rest/wifiSettings)
  • 🆕: impact of icons and png files on firmware size. Should be a few kb max. Will that be more when adding menu options each with its own icon?
  • 🆕: does a device need internet connection to show the UI or is all (javascript) code included in the firmware. Maybe related to the cache max-age. I Will test this

I hope you can help me a bit. Maybe some of the points are just because I made a setup error or because I am just starting to play with your repo. I RTFM but maybe I need to read it again / better 🙂.

Thanks in advance,
Ewoud

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions