Introduction of default sensor ids

Discussion about generation of graphs and tables
Post Reply
User avatar
admin
Site Admin
Posts: 332
Joined: Sun Feb 07, 2010 9:22 pm

Introduction of default sensor ids

Post by admin » Thu Jul 22, 2010 7:39 pm

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 .

skyewright
Posts: 69
Joined: Tue Mar 16, 2010 12:05 pm
Location: Isle of Skye
Contact:

Re: Introduction of default sensor ids

Post by skyewright » Fri Jul 23, 2010 9:59 am

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?
David

User avatar
admin
Site Admin
Posts: 332
Joined: Sun Feb 07, 2010 9:22 pm

Re: Introduction of default sensor ids

Post by admin » Fri Jul 23, 2010 5:49 pm

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.

Post Reply