I would like to average the purple air channel A and B.
air0pm + air3pm / 2 = value. Is there a variable I can assign to the new value? Can you provide an example please?
Meteobridge PurpleAir. **solved**
Moderator: Mattk
-
- Senior Boarder
- Posts: 40
- Joined: Tue Apr 25, 2023 3:42 am
Re: Meteobridge PurpleAir
I was also wondering about this and used the following: viewtopic.php?t=17597
I defined my trigger sensor as air3!0pm, then the virtual sensor as air8!0pm. The calculation I am trying is:
{*([air3!0pm-act]+[air3!3pm-act])/2*}
This seems to work.
Guy
I defined my trigger sensor as air3!0pm, then the virtual sensor as air8!0pm. The calculation I am trying is:
{*([air3!0pm-act]+[air3!3pm-act])/2*}
This seems to work.
Guy
Re: Meteobridge PurpleAir
This seems to work - sort of - the averages do not always completely align with individual values when I do a manual calculation. Unsure why as yet.
Edit: may be due to age of the data from each sensor. After graphing for a while, seems to work.
Guy
Edit: may be due to age of the data from each sensor. After graphing for a while, seems to work.
Guy