Okay, so now that the installation process is done, let's build our IoT platform. 1
But first of all, what are our requirements? 2
What we want to do is to have a simple dashboard with two datas: the temperature, which is the user 3
payload sent by the device and the RSSI 4
so we can track the signal power received on the gateway for a specific device. 5
We're going to do this in three steps. 6
First, we're going to build an MQTT subscriber on Node-RED to get the uplink data. 7
We've done it already in the previous chapter, but we'll do it quickly again. 8
And at any time, if we want to check if the Node-RED configuration is correct, we'll use a debug node 9
to display the logs and verify that everything works well. 10
Secondly, among all the data received on the subscriber node, we're going to extract the exact value 11
we want to use for our dashboard. 12
In our case it will be the temperature and the RSSI. 13
And finally we'll send the temperature on the RSSI value to the Influxdb database. To check that the values 14
have been stored properly, 15
we'll connect the database thanks to the Influxdb user interface and check that our data are available. 16
The third and last step is to tell Grafana how it can access the database. 17
So we'll configure it with all the required value and credentials. 18
Then we'll just have to create a new request with the name and the range of time of the needed value. 19
Again, our value will be the temperature and the RSSI. 20
Let's start with the first step in the next video.