Page 1 of 1

Multiple time-series parameters per device

Posted: Sat Nov 08, 2025 2:07 am
by Majubs
I'm trying to add two time-series parameters to a device, like this:

Code: Select all

env_device = esp_rmaker_device_create("Environment Sensors", "esp.device.env-sensor", NULL);

esp_rmaker_param_t *temp_param = esp_rmaker_param_create("Temperature", "esp.param.temperature", esp_rmaker_float(app_read_temp_sensor()), PROP_FLAG_READ | PROP_FLAG_TIME_SERIES);
esp_rmaker_device_add_param(env_device, temp_param);

esp_rmaker_param_t *hum_param = esp_rmaker_param_create("Humidity", "esp.param.humidity", esp_rmaker_float(app_read_humidity_sensor()), PROP_FLAG_READ | PROP_FLAG_TIME_SERIES);
esp_rmaker_device_add_param(env_device, hum_param);

esp_rmaker_node_add_device(node, env_device);
And I'm updating the value with the esp_rmaker_param_update_and_report() function, every minute, one call for each parameter. According to the logs, the update is working, and I can see the last value on the Android app.

The problem is that there's chart data only for the Temperature parameter, for Humidity there's only the last value. Any ideas why that might be? Don't know if that's a limitation of the RainMaker platform, or something I'm doing.

I've tried to change the order which the parameters are added to the device, and the order which I send the data, but no success.

Appreciate any insights!

Re: Multiple time-series parameters per device

Posted: Wed Nov 12, 2025 5:36 pm
by Piyush
Can you share a screenshot of the params page for the device? Can you also check the same node on ESP RainMaker dashboard to see if it is showing up correctly there?

Re: Multiple time-series parameters per device

Posted: Fri Jan 09, 2026 4:14 am
by lichurbagan
This is a known limitation of the RainMaker app ..... it only shows charts for one time-series parameter per device. Your code and updates are fine, the data is being stored .... the app just don’t render multiple charts.

Re: Multiple time-series parameters per device

Posted: Fri Jan 09, 2026 2:45 pm
by Piyush
@lichurbagan That's not true. The phone apps indeed support multiple time series parameters. I am not sure where you gathered the info about the known limitation. Can you please elaborate?
shared image (11).jpeg
shared image (11).jpeg (17.87 KiB) Viewed 5256 times
Media (49).jpeg
Media (49).jpeg (22.45 KiB) Viewed 5256 times
Media (48).jpeg
Media (48).jpeg (27.27 KiB) Viewed 5256 times
Media (45).jpeg
Media (45).jpeg (33.22 KiB) Viewed 5256 times