Page 1 of 1

Introduction of default sensor ids

Posted: Thu Jul 22, 2010 7:39 pm
by admin
When making use of globally defined charts like the one beginning with "_" or "*" there was a problem, that the chart definitions always reflected to id number zero, assuming that you have used "th0", "thb0", "rain0", "wind0", "vu0", "sol0" as your standard sensors.

Latest update of Meteoplug introduces default sensor ids which can be used in Meteoplug chart definitions, namely
  • th* (default outdoor temp sensor)
  • thb* (default pressure sensor)
  • wind* (default wind sensor)
  • rain* (default rain sensor)
  • uv* (default uv sensor)
  • sol* (default solar sensor)
Meteoplug makes use of the definition you have made on "weather network" page, where you assign standard sensors to be used with weather networks, to map "th*" to "th0" or "th1" or whatever you have selected on the "weather network" page.

When you feed data from a Meteohub to Meteoplug server, the id settings of "weather network" page of your Meteohub will be taken into account (not the one from the Meteoplug admin screen). It is handled that way as most Meteohub users will feed weather networks directly from Meteohub and therefore will not necessarily also make these settings on Meteoplug admin pages. To have this working with Meteohub data feeds, you will need a Meteohub version past 4.6k .

Re: Introduction of default sensor ids

Posted: Fri Jul 23, 2010 9:59 am
by skyewright
admin wrote:When making use of globally defined charts like the one beginning with "_" or "*" there was a problem, that the chart definitions always reflected to id number zero, assuming that you have used "th0", "thb0", "rain0", "wind0", "vu0", "sol0" as your standard sensors.
Will this take a while to take effect. When I just checked (201007231054 GMT+1) only some of the global definitions (e.g. _all-temp-hum-1day) show "*" sensors but others (e.g. _temp-hum-1day, _rain-1year and _map) still show "0" sensors?

Re: Introduction of default sensor ids

Posted: Fri Jul 23, 2010 5:49 pm
by admin
I haven't switched them all so far. The "*" prefixed are switched, as they are needed by the dashboard. The "_" prefixed are more kind of example and not completely switched right now.