@bjonnh actually I was very close to to exactly that and I have pressure sensors. The idea is that device is the number of states. And basically all you need to do is to write a list of description for those states. Then you can actually create GUI based on this descriptor. Of course such GUI will be rather inflexible. Another solution is to have some GUI elements wich are designed to be binded to specific states, so you can construct your GUI by simple Dash-like composition. This one I've actually implemented and want to implement again in cooperation with Waltz/Tango. But first, I need some time to work on the foundation - robust APIs.