IoT without the cloud
Posted: Thu Mar 22, 2018 7:32 pm
I need to wirelessly monitor sensor data, but the data can't go out over the Internet. To accomplish this, I'm using a NodeMCU and sending the data to a Raspberry Pi server.
Here's a diagram of my setup:
I'm using MQTT to send the sensor data from several NodeMCUs to the Raspberry Pi, storing the data in a MySQL database, and writing a Python server to show both realtime and historical data.
I'll be using Google charts to display the data, and using JavaScript to poll live data from the Raspberry Pi though a JSON API.
I'm still working on this project, but I'd like some feedback. Are there better or easier ways to accomplish this?
Here's a diagram of my setup:
I'm using MQTT to send the sensor data from several NodeMCUs to the Raspberry Pi, storing the data in a MySQL database, and writing a Python server to show both realtime and historical data.
I'll be using Google charts to display the data, and using JavaScript to poll live data from the Raspberry Pi though a JSON API.
I'm still working on this project, but I'd like some feedback. Are there better or easier ways to accomplish this?