
Poblem white the primaire sensor!
Moderator: Mattk
Poblem white the primaire sensor!
Meteobridge primaire sensor is th0temp but i want to have th1temp as my primaire sensor. But now i get the temperture of th1temp also in th0temp
? How can i solve this? HELP

Re: Poblem white the primaire sensor!
Go to [Live Data] tab, position mouse pointer over sensor th1temp, a box will pop up saying something like "Click to use th1temp as primary sensor"
Re: Poblem white the primaire sensor!
That is what i did, but then i get de same value in th1temp en th0temp. The value from th1temp (this is the primary sensor).....Mattk wrote: Tue Aug 21, 2018 10:58 pm Go to [Live Data] tab, position mouse pointer over sensor th1temp, a box will pop up saying something like "Click to use th1temp as primary sensor"
Re: Poblem white the primaire sensor!
In which context do you get data from "th1temp" when asking for "th0temp"? When evaluating templates?
Re: Poblem white the primaire sensor!
Please also read this release notes from March:
released March 10, 2018
adds template variable expressions "[mbsystem-primarysensors:]" and "[mbsystem-noprimarysensors:]" to control inside a template if "0" sensors (like th0, wind0, rain0, etc) should be replaced by sensors defined on "Live Data" tab as primary or taken literally. The mentioned template expressions are evaluated to the empty string and thereby do nothing directly in your template but control how variables are evaluated as a side effect.
Taken from https://www.meteobridge.com/wiki/index.php/Forum
released March 10, 2018
adds template variable expressions "[mbsystem-primarysensors:]" and "[mbsystem-noprimarysensors:]" to control inside a template if "0" sensors (like th0, wind0, rain0, etc) should be replaced by sensors defined on "Live Data" tab as primary or taken literally. The mentioned template expressions are evaluated to the empty string and thereby do nothing directly in your template but control how variables are evaluated as a side effect.
Taken from https://www.meteobridge.com/wiki/index.php/Forum
Re: Poblem white the primaire sensor!
The template is meteotemplate.com. In the api file i get the sensor value from th1temp also in th0temp?