Nextion Waveform Update

I have a Nextion display with two pages, page0 and page1. On page1, I have a waveform which I would like to update regardless of the active page. The waveform is set to global and I am using the add_waveform_data() function which takes (int *component_id*, uint8_t *channel_number*, uint8_t *value*). If I use it.add_waveform_data(2,0,id(out_temp).state); and page1 is active, ESPHome updates the waveform. If the display is on page0, it does not see the waveform and wont update. So, the question is, how can I update the waveform on page1 from page0. I tried this as well without luck:

it.send_command_printf("add page1.tempgraph.id,0,%f",id(out_temp).state);

When the Nextion is not on page1 with the waveform, the logs show:

11:28:23][W][nextion:389]: Nextion reported invalid Waveform ID or Channel # was used but no waveform sensor in queue found!

I should note, other components on page1 update when page0 is active without any issue. Its only the waveform that is having issues.

Any help would be greatly appreciated!

Been doing a bit of reading and this may be a limitation of the Nextion waveform object. It apparently does not like to keep values between pages or being updated from other pages. Certainly open to suggestions though…

ваша проблема в том что построение графика это локальная а не глобальная! она обновляется только когда страница активна