I’ve created a small module to publish/receive module notifications via websocket. The idea is to combine different functions/devices/instances via a websocket-server. A sample websocket-server is also included in the module.
Have a look at: https://github.com/JanLoebel/MMM-websocket
Please feel free to ask questions or give me some feedback