There’s a huge amount of choice, I wrote a simple web app in diozero as an experiment: https://github.com/mattjlewis/diozero/t ... ero-webapp
. All depends on what technologies you are comfortable with & what you are actually trying to achieve. Other options include:
(I need to work on this a bit more for security plus allow addressing individual devices).
REST. Supported in diozero but I need to understand the best way to send asynchronous messages back without polling, maybe something like Server Sent Events.
You could of course implement something similar yourself using pi4j.