Deploying embedControl webserver to ESP32 and/or programatically accessing tcmenu item data on the ESP32 via wifi. #350
-
Hi Dave et al, I'm currently looking at deploying a embedControl webserver to an ESP32 and/or programatically accessing tcmenu item data on the ESP32 via wifi. On your tcc webpage https://www.thecoderscorner.com/products/apps/embed-control/control-embedded-device-browser/ it says "By default, the designer UI can take the most recently built version and auto deploy it to certain larger boards including ESP32 and Raspberry PI". I'm an experienced embedded engineer with C and some C++, but I've not done much network coding so I'm not sure about how to start doing this. Could you please elaborate on the feasibility of what I'm attempting here and/or provide some pointers on how to begin. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 16 replies
-
Unfortunately that page needs updating, the react app was too heavy to serve from lwip and ran into issues. I have a plan to try and serve most of the app from a CDN but it will take more time to prepare that. As much as anything it needs time to do it and for me at the moment it is not a priority. if anyone else needs it they could look at how to serve the static parts of the app from a CDN, the rest would be trivial. |
Beta Was this translation helpful? Give feedback.
-
I mean maybe the answer here is, for people who just want a really simple Android and iOS UI without doing any build-out, that we provide an integration plugin with an IoT solution such as Blynk. Many tcMenu users already integrate with Blynk, and on the old forum, the one mentioning it was in the hottest topics list. I would imagine the integration would be relatively simple and if there were any sticking points, help would probably be available to better integrate the two. EDIT - that way it would become: |
Beta Was this translation helpful? Give feedback.
-
So this morning I've updated the documentation to remove any mention of running the webserver-based solution on anything other than a Raspberry PI. It is well supported on the PI and works pretty well for light use cases, tested with each release too. I also created the repo for the Xamarin mobile UI prototype as discussed yesterday https://github.com/davetcc/tcMenuController which would provide the components to quickly build any UI. It does have the just-in-time UI in there but it is not advanced enough to put on the store as is. This effort was from a prototype a few years ago that I decided to open source. With the resources available I think components for quick start are the best offering right now. If some more developers stepped up maybe we could look at a more general-purpose app, but for now, it is some way off. |
Beta Was this translation helpful? Give feedback.
-
OK so a bit of an "all change please moment", we had an internal discussion today between developers, and I think there's room to have some kind of App Store app for Android and iOS and it is likely to go ahead soon, we already have the required developer license for Apple and Microsoft. Obtaining for Play Store shouldn't be too much trouble. What exactly would be included in there is yet to be decided but at least some kind of basic control and monitoring would be possible without having to build anything out. Much still to be worked out. |
Beta Was this translation helpful? Give feedback.
-
I realise you replied above that the ESP32 was not a good choice of embedControl server. But I have a follow-up question please. If the tcmenu comms were to be over Serial UART at 115200 baud instead of Wifi, does that allow the ESP32 to be used as a reliable embedControl server? I ask because that would suit my current use case. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Thanks. I personally have about 5 old Android phones ready to try an embedControl Android app on, and I'm sure there would be many more enthusiasts in the hobby-end of the market ready to do the same. |
Beta Was this translation helpful? Give feedback.
OK so a bit of an "all change please moment", we had an internal discussion today between developers, and I think there's room to have some kind of App Store app for Android and iOS and it is likely to go ahead soon, we already have the required developer license for Apple and Microsoft. Obtaining for Play Store shouldn't be too much trouble.
What exactly would be included in there is yet to be decided but at least some kind of basic control and monitoring would be possible without having to build anything out. Much still to be worked out.