CommandStation-EX
CommandStation-EX copied to clipboard
Web Throttle/SD Card on board
From #66 - Might host turnout/input/output data, and/or host an instance of exWebThrottle.
Having an instance of exWebThrottle onboard requires a webserver, something not available without programming the ESP8266, as far as I am aware. Also, the ESP8266 might not be the fastest web server ever... may need an ESP32.
Web server speed will be pretty irrelevant when you only have to serve a handful of static files once to each of a handful of clients.On 21 Nov 2020 17:50, Matt [email protected] wrote: Having an instance of exWebThrottle onboard requires a webserver, something not available without programming the ESP8266, as far as I am aware. Also, the ESP8266 might not be the fastest web server ever... may need an ESP32.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.
@Asbelos very true, although I think the major flaw is having to reprogram the ESP every time we release a new version of exWebThrottle. (for more info on exWebThrottle distribution, see DCC-EX/exWebThrottle#15)
the major flaw is having to reprogram the ESP every time we release a new version of exWebThrottle
@matt-hu not if you have an SD card. Then you can just have it serve static files from the SD card.
I also have a hard time believing that we can't serve exWebThrottle over AT commands. Might be a little hacky, but if you look around with a quick google search there are ways.
@davidcutting42 Ok, those are good ideas... I will look into the AT command stuff, but I also think that PWAs should be used as well, so users have a choice.
Come up with best idea Gents..:)
@matt-hu I agree that the ideal option would be to port everything over to the ESP32 and serve the webpage up from there. Unfortunately, the ESP would require a lot of changes and bloat in the current firmware. We are considering the option of moving to the ESP32 as our only platform for the v4 release and maintaining backwards compatibility with v3.