Additional temperature sensors problem **solved**

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

Moderator: Mattk

Post Reply
patrice-91
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Sat Dec 14, 2013 7:10 pm

Additional temperature sensors problem **solved**

Post by patrice-91 »

hello,

I tested my new meteobridge box with my WRMS-200 station, and I have some problem to recover data from additionnal sensors.

I have 3 outdoors temp sensors connected , these three sensors correctly show up in the Live Data tab :

Outdoor #2 40 sec 19.6°C 46% (dew 7.7°C, heat 19.6°C) 67.3°F 46% (dew 45.9°F, heat 67.3°F)
Indoor 8 sec 20.2°C 43% 1021.0hPa (1021.0hPa) 68.4°F 43% 30.15inHg (30.15inHg)
Outdoor 36 sec 5.3°C 98% (dew 5.0°C, heat 5.3°C) 41.5°F 98% (dew 41.0°F, heat 41.5°F)
Rain 23 sec rate 0.0mm/h rate 0.00in/h
Outdoor #1 9 sec 9.7°C 94% (dew 8.8°C, heat 9.7°C) 49.5°F 94% (dew 47.8°F, heat 49.5°F)

but when I do the following MySQL upload :

insert into mesures (temps, temp1,temp2,temp3,temp4) values (now(),[th0temp-act.1:-9999],[th1temp-act.1:-9999],[th2temp-act.1:-9999],[thb0temp-act.1:-9999])

I have correct values for th0 and thb0 , but -9999 for th1 and th2

Any idea to resolve this problem ???
User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 606
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: Additional temperature sensors problem

Post by wvdkuil »

patrice-91 wrote:hello,

I tested my new meteobridge box with my WRMS-200 station, and I have some problem to recover data from additionnal sensors.

I have 3 outdoors temp sensors connected , these three sensors correctly show up in the Live Data tab :

Outdoor #2 40 sec 19.6°C 46% (dew 7.7°C, heat 19.6°C) 67.3°F 46% (dew 45.9°F, heat 67.3°F)
Indoor 8 sec 20.2°C 43% 1021.0hPa (1021.0hPa) 68.4°F 43% 30.15inHg (30.15inHg)
Outdoor 36 sec 5.3°C 98% (dew 5.0°C, heat 5.3°C) 41.5°F 98% (dew 41.0°F, heat 41.5°F)
Rain 23 sec rate 0.0mm/h rate 0.00in/h
Outdoor #1 9 sec 9.7°C 94% (dew 8.8°C, heat 9.7°C) 49.5°F 94% (dew 47.8°F, heat 49.5°F)

but when I do the following MySQL upload :

insert into mesures (temps, temp1,temp2,temp3,temp4) values (now(),[th0temp-act.1:-9999],[th1temp-act.1:-9999],[th2temp-act.1:-9999],[thb0temp-act.1:-9999])

I have correct values for th0 and thb0 , but -9999 for th1 and th2

Any idea to resolve this problem ???
Should that not be t1 and t2?
If it are only temp sensors. th1 means temp/hum sensor number 1.
Succes, wim
patrice-91
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Sat Dec 14, 2013 7:10 pm

Re: Additional temperature sensors problem

Post by patrice-91 »

Thanks for your response, but using t1 instead of th1 does't help. Indeed my 3 outdoors sensor are temp and hum sensors.

With reference to the "Template" page of the documentation, I expect the following :

"Some stations do support additional temp/hum sensors. These will be enumerated as "th1temp", "th1hum", "th1dew", and so on. "Live Data" tab will illustrate what sensor number matches what current data. "

Apparently not for my Station ????
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Additional temperature sensors problem

Post by admin »

When you see the data of the additinal sensors on live data tab, they should also be usable as template variables.
Could you please send the MAC of your Meteobridge to "info(at)meteobridge.com", so that I can login and check
what is going wrong with your specific setup?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Additional temperature sensors problem

Post by admin »

Reason was simple. WMRS200 had no additional sensors defined in Meteobridge station definition. I added that and it should work now ok.
patrice-91
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Sat Dec 14, 2013 7:10 pm

Re: Additional temperature sensors problem **solved**

Post by patrice-91 »

Thanks a lot for this prompt action !!!

now all my sensors appears in the "Historical data" of the live data tab (as well as in the xml and plain text data of the add on services, as th1 and th2) :)

I did'nt test now the MySQL upload stuff but I guess it will be ok.
Post Reply