Would it be possible, more “GoPiGo-ish”, to add user task button/application mapping to a “custom button div” on the R4R “home page” and not need Flask?
If so, perhaps DI would add a “user button div” and a “user output div” on the R4R “home page” and publish an example how to publish the user button, connect the user button to a user application, and how the app can publish to the “user output div”.
Would dynamic HTML be possible in the “user output div” area with the R4R base installation?
Does DI have a preferred user web interface / programming method for R4R?
I could probably see this working if it were a dedicated web interface for it, but in our case dex.local is only meant for giving you the means to connect to the Raspberry Pi.
I’m not exactly sure as I don’t do much HTML.
We prefer offering the visual user interface (web) to the user on DexterOS and on R4R, we try to steer him to using the terminal as much as possible. The only thing that remains visual are the desktop apps for the line follower or the GoPiGo or for Scratch.
Long story short, I think adding this kind of button that can trigger a task to execute adds too much complexity for nothing when it’s already simple to create say a service specifically tailored to the user’s needs that exposes something to some port (or that reads the input from a button continuously). I like keeping things simple and I’m trying to avoid complexity as that in the long term can only mess things.
Above just a customized way I am using on my gopigo to trigger some python script via
web.(internal wifi) not exposing port outside word. In similar manner Alexa also can be deployed with voice we can execute a py script.
this part plays a imp role which can be maintained in IFTTT