Metachart. **solved**

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
Wetterring
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Wed Nov 04, 2020 11:34 am

Metachart. **solved**

Post by Wetterring »

Hello,

I want to make a metachart with several different temperature stations. Sadly the grafik doesen't appear, when i upload the metachart in my /upload.html templates folder. File attached and also a screenshot of the sensors, i have available. Can you help me out?
Attachments
metachart.jpg
metachart.jpg (144.51 KiB) Viewed 2471 times
Bild 03.11.20 um 17.24.jpg
Bild 03.11.20 um 17.24.jpg (139.12 KiB) Viewed 2471 times
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Metachart

Post by admin »

Could you please post your chart definition as text, otherwise it is hard to give it a try.
Wetterring
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Wed Nov 04, 2020 11:34 am

Re: Metachart

Post by Wetterring »

# meta chart glashaus
#
title Legende
futuredata yes
type line
data1 th0temp-avg.1
data2 th0hum-avg.0
data3 th0dew-avg.1
data4 th0!2temp-avg.1
data5 th0!2hum-avg.0
data6 th0!15temp
data7 rain0total-allsum.1
date8 rain0rate
date9 sol0rad
name1 Temperatur
name2 Luftfeuchte
name3 Taupunkt
name4 GlashausTemp
name5 GlashausFeuchte
name6 GlashausTempAgrar1
name7 Regen
name8 Rate
name9 Solar
axis1 left
axis2 right
axis3 axis1
axis4 axis1
axis5 right
axis6 axis1
axis7 right
axis8 right
axis9 left
active1 yes
active2 yes
active3 yes
active4 yes
active5 yes
active6 yes
active7 yes
active8 yes
active9 yes
unit1 °C
unit2 %
unit3 °C
unit4 °C
unit5 %
unit6 °C
unit7 mm
unit8 mm
unit9 W/m^2
color1 #E01010
color2 #0022FF
color3 #52EF26
color4 #8C722A
color5 #06722A
color6 #F841FE
color7 #00C0FF
color8 #284E82
color9 #F8A100
legend 1
min2 0
max2 100
offset2 -50
offset4 -50
offset9 -50
fill7 0.2
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Metachart

Post by admin »

Copied the above definition "as is" in a file namend "dummy.metachart" in folder "Templates" and it works...

Bildschirmfoto 2020-11-12 um 14.32.25.png
Bildschirmfoto 2020-11-12 um 14.32.25.png (68.59 KiB) Viewed 2409 times
Wetterring
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Wed Nov 04, 2020 11:34 am

Re: Metachart

Post by Wetterring »

ok but i still don't see the special temperatures or humidities at your chart ... "GlashausTemp, GlashausTempAgrar1, Glashausfeuchte" ... they don't appear at your chart?!
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Metachart

Post by admin »

Wetterring wrote: Mon Nov 23, 2020 8:02 pm ok but i still don't see the special temperatures or humidities at your chart ... "GlashausTemp, GlashausTempAgrar1, Glashausfeuchte" ... they don't appear at your chart?!
Why should they appear? Per your definition data from "th0!1temp" and "th0!15temp" should be used. My Meteobridge setup does not provide data for these physical sensors. So no surprise at all. I would recommend to use logical sensors "th1temp" and "th2temp" in the graphic definition and to map the physical sensors of the specific Meteobridge to these logical sensors (to be done on "station - mapping" tab.

Please get rid of the idea, that you define a chart with some invented sensor names and by magic any Meteobridge will feed data to it. It needs your configuration of the specific unit when you are going beyond predefined standard sensors.
meteolive57290
Senior Boarder
Senior Boarder
Posts: 62
Joined: Sat Dec 10, 2016 11:26 am

Re: Metachart

Post by meteolive57290 »

I want to create a meta-graphic with my gw1000.
the meta-graphic is displayed well
but on the X axis the scale of negative temperatures does not appear ?
thank you BR

https://admin.meteobridge.com/5c81a2314 ... D1&stop=D0

Code: Select all

# GW1000
#
title Sensor comparaison GW1000

width 100%
height 500px
futuredata yes

type1 line
type2 line
type3 line

legend 1

data1 th1!1temp-avg
data2 th1!2temp-avg
data3 th1!4temp-avg

name1 Meteoshield Pro [E-WH31-EP]
name2 Metspec RAD14 [DP50 sht31-EP]
name3 Davis VP2 (7710) M-10 plates [DP50 sht35-EP]

axis1 left
axis2 axis1
axis3 axis1

active1 yes
active2 yes
active3 yes

unit1 °C
unit2 °C
unit3 °C

color1 #0000FF
color2 #DF22B0
color3 #f49e42

min1 0
min2 0
min3 0
min4 0

offset1 0
offset2 0
offset3 -40
offset4 -120

fill1 0.0
fill2 0.0
fill3 0.3
fill4 0.3
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Metachart

Post by admin »

That is because of the "min" settings you specified. When you don't give min/max limits then chart is automatically adapted to fill the graph.

Automatic adjustment can look ugly when the data is more or less constant and the graph then amplifies on smaller changes by adjusting the scale. If you go with min/max, you need to make sure that data is not outside the boundaries, otherwise it will not be shown in the graph.
Post Reply