Several (headless) raspi's in my house generate data on temperatures, flow-, pressure-, humidity- and light meters, there are a few event triggers (like: doorbell pressed, door opened) and a handful of relays that open/close valves or start/stop pumps, switch lights, boilers etc.
Yes, I have installed a dedicated LAMP server to do the job in displaying all data over several web pages. After some testing it appeared that the generation/refreshing of HTML pages was too slow for some of the data I wanted to display in real time (almost). Experimenting with the 7" touch screen directly hooked up to the RP concerned and a dedicated site + html page (the most natural thing to do - buttons sliders ...) to display events and data made things worse.
So my thought is to send these data via socket to the central node, draw the screen with the data displayed in near real time in old school screen refreshing. Only changing what is needed by putting the data on the right spot via ascii "cursor" codes. Rewriting lines on the terminal, scrolling up, is not a "clean / nice" option
So far I found no info how to do that on the Raspi (running headless): drawing a cadre and display some text and data.
Any suggestion will be appreciated