Multiple time-series parameters per device

Majubs
Posts: 2
Joined: Sat Nov 08, 2025 1:05 am

Multiple time-series parameters per device

Postby Majubs » Sat Nov 08, 2025 2:07 am

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!

Piyush
Espressif staff
Espressif staff
Posts: 372
Joined: Wed Feb 20, 2019 7:02 am

Re: Multiple time-series parameters per device

Postby Piyush » Wed Nov 12, 2025 5:36 pm

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?

lichurbagan
Posts: 59
Joined: Thu Nov 13, 2025 3:20 pm

Re: Multiple time-series parameters per device

Postby lichurbagan » Fri Jan 09, 2026 4:14 am

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.

Piyush
Espressif staff
Espressif staff
Posts: 372
Joined: Wed Feb 20, 2019 7:02 am

Re: Multiple time-series parameters per device

Postby Piyush » Fri Jan 09, 2026 2:45 pm

@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 5182 times
Media (49).jpeg
Media (49).jpeg (22.45 KiB) Viewed 5182 times
Media (48).jpeg
Media (48).jpeg (27.27 KiB) Viewed 5182 times
Media (45).jpeg
Media (45).jpeg (33.22 KiB) Viewed 5182 times

Who is online

Users browsing this forum: No registered users and 1 guest