How Does Sensor Station Work?
Sensor Station is a System rather than single application: we have a set of battery powered, wireless sensors that transmit environmental data (temperature, humidity, moisture and light) to a hub that serves up this data on a real-time dashboard. Optionally, if and when an Internet connection is available, the hub will stash it’s local data (time-series database) in the cloud.
Sensors - Wireless and Battery Powered
Taking advantage of the esp32 Mesh Network, sophisticated power modes allow these sensors to last for years before a battery change is necessary, when battery power starts running low, the sensor will let you know!
These sensors can be spread around in areas with little to no existing network or internet connection.
Over-The-Air updates make pushing updated and fixed software out to devices as soon as new code has been released. No need to attaching USB cables and doing firmware updates!
Hub - Aggregate and care for sensors mesh network
The Sensor Data Aggregation Hub or just Hub gathers data from all sensors within it’s network, makes that data available in real-time via websockets.
The Hub is also a web server and will serve up an embedded web allowing anybody authorized to watch data transmitted in real-time. The users can also access historical data from the more detailed device and data pages.
The Hub also takes care of it’s self organizing mesh network of sensors. Finally the Hub is the conduit between the dashboard and the cloud.
Dashboard - Real-Time and Historic Environmental Data
The dashboard is a WebUI built into the Hub providing a window into your environmental health. All sensor data is transmitted over a dedicated MQTT channel, the channel is comprised of a path that looks like a directory structure or URL path. Contained in the path are the identification of the device and the name of the sensor.
With this design, any data publisher can contribute to the Sensor Station Application.
Cloud - Globalizing your Environment
Cloud support extends the reach of the data globally allowing access to both real-time and historical datas, it also expands the length data can be kept. Rather than a couple weeks to a month per hub, the data loaded in the cloud can be persisted for years at very low cost.
Entire fleets of hubs can be managed from the cloud console making it easy to manage, monitor and update large deployments of not only sensor station but also the hubs.
Global Real-Time Monitoring
Open Source / Open Tech
- Go backend ~ small, FAST and easy to deploy
- VueJS Dashboard ~ styled with Paper it does not get any sexier
- REST API ~ it was designed to be part of an automation
- Web Sockets ~ makes the real-time dashboard not only possible, but exciting!
- Ansible Deployment ~ It does not get any easy to deploy a complex environment with a nice clean ansible fired CI/CD pipeline
- Cloud Native ~ Our application(s) were designed to run as well in the cloud, a container or a baremetal host all the same!