Multiple sensor data in a single Rainmaker App device
Posted: Thu May 06, 2021 10:22 am
Hello Everyone,
I was wondering whether we can put multiple sensors to a single device. It might feel a bit confusing. So, I'll try to explain. Right now if I load the "multi_device" example code to a single ESP32 board, it actually creates 4 different devices in the esp-rainmaker app. It makes sense if there are multiple different types of devices connected to the ESP32. But in my case, I am trying to monitor a couple of sensor Outputs (for example one temperature and one humidity sensor). It would be very convenient if I have only one device in my esp-rainmaker app for one ESP32 board and that device will show both the sensor output inside a single device in two different lines.
Right now based on the example code if I use two ESP32 boards, in the rainmaker app it will show me four devices (ESP1-- Temp, ESP1--Hu, ESP2-- Temp, ESP2-- Hu). But I want one device for one ESP32 board (ESP1-- Temp, Hu)
Hopefully, I was able to explain the scenario. Is it possible to perform such kind of operation? I would really appreciate it if someone can give me detailed info on it.
Thank you.
I was wondering whether we can put multiple sensors to a single device. It might feel a bit confusing. So, I'll try to explain. Right now if I load the "multi_device" example code to a single ESP32 board, it actually creates 4 different devices in the esp-rainmaker app. It makes sense if there are multiple different types of devices connected to the ESP32. But in my case, I am trying to monitor a couple of sensor Outputs (for example one temperature and one humidity sensor). It would be very convenient if I have only one device in my esp-rainmaker app for one ESP32 board and that device will show both the sensor output inside a single device in two different lines.
Right now based on the example code if I use two ESP32 boards, in the rainmaker app it will show me four devices (ESP1-- Temp, ESP1--Hu, ESP2-- Temp, ESP2-- Hu). But I want one device for one ESP32 board (ESP1-- Temp, Hu)
Hopefully, I was able to explain the scenario. Is it possible to perform such kind of operation? I would really appreciate it if someone can give me detailed info on it.
Thank you.