SensorMonitor is a distributed monitoring system. which can be used for sensor-like system’s monitoring. It gathering sensor’s data and persisting the data into database, and also sending data to web client(browser) using WebSocket simultaneously.
Core Modules
sensor --> coordinator --> datamanager --> database(PG)
|
|---> webapp server --> browser(JavaScript)
Automatic Discovery
The sensors and coordinators can recognize each other whenever anyone of them is start up. When webapp start up, all coordinators will know they are coming and sending all sensors name to it. Web client(browser) will receive sensor’s information from webapp server and decide which sensor’s data will be showing in browser.
source code on github: sensorMonitor