Page 1 of 1

Request: average data using multiple sensors

Posted: Sun Nov 28, 2010 11:00 am
by meti
As of now meteohub only provides an average function for 2 sensors. I would like to have the average value of all my inside sensors which are more than 2. Sometimes 3, sometimes 4 or more.

How can I get this value? Can you provide a general average function working with multiple sensors in the next release?

Re: Request: average data using multiple sensors

Posted: Sun Nov 28, 2010 11:27 am
by admin
should be possible with virtual sensors. please consult the manual on that.

Re: Request: average data using multiple sensors

Posted: Tue Nov 30, 2010 4:23 am
by meti
With virtual sensors I had no luck. With 2 physical sensors combined in one virtual sensor there is no problem. But every time I tried more than 2 sensors the result was the same as with 2 sensors.

After that I tried to generate a virtual sensor t3 with the virtual sensors t1 and t2 as input values as workaround. But that is not possible, I can only choose physical sensors as input sensors.

Any ideas?

Re: Request: average data using multiple sensors

Posted: Tue Nov 30, 2010 10:25 pm
by admin
you have to write your own modules to be called from the virtual sensor definitions.