Topics:
- Backend that counts runtime (node.js)
- Design of frontend that displays devices with icons and runtime
- Implementation of this frontend
There is a RESTful API that allows checking whether a device is running or not. Using a cyclical check on this interface (1 sec interval) the runtime should be increment. Runtimes are save in a simple JSON file.