CommandStation-EX icon indicating copy to clipboard operation
CommandStation-EX copied to clipboard

Web Throttle/SD Card on board

Open davidcutting42 opened this issue 4 years ago • 7 comments

From #66 - Might host turnout/input/output data, and/or host an instance of exWebThrottle.

davidcutting42 avatar Nov 21 '20 03:11 davidcutting42

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.

matt-vdv avatar Nov 21 '20 17:11 matt-vdv

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 avatar Nov 21 '20 18:11 Asbelos

@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)

matt-vdv avatar Nov 21 '20 18:11 matt-vdv

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 avatar Nov 21 '20 19:11 davidcutting42

@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.

matt-vdv avatar Nov 21 '20 19:11 matt-vdv

Come up with best idea Gents..:)

ManiAkasapu avatar Nov 22 '20 01:11 ManiAkasapu

@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.

davidcutting42 avatar Nov 22 '20 01:11 davidcutting42