Hello,
I am quite new to node-red but have some experience in influx 2.0.
What I want to achieve is as follows:
- query influx from node-red (no problem there) retrieving statistical information on different parameters
- use the output, which is in a form of an array with each element corresponding to different statistical parameter, and create one sensor consisting of attributes - one per each parameter
- send the sensor to home assistant
I have a problem realizing the second point from the list. I do not know how to assemble the sensor. One way to go would be to send many sensors each representing each statistical parameter, but it would get messy at some point, and I want to avoid this solution.
Any help is much appreciated.
Piotr