Meteohub plugin

Post Reply
User avatar
Mauro
Advisor
Advisor
Posts: 54
Joined: Tue Oct 30, 2018 4:41 pm
Station model: Davis Vantage Pro2 Plus
Software: Meteohub

Meteohub plugin

Post by Mauro » Tue Oct 30, 2018 10:53 pm

Hello everyone!
There seems to be a problem with the "current conditions" block and the "meteohub" plugin used to feed the weather data.
The value of solar radiation is significantly lower than that found in the clientraw.txt file.
Has anyone had the same problem?
Thanks to all!
Mauro

User avatar
Mauro
Advisor
Advisor
Posts: 54
Joined: Tue Oct 30, 2018 4:41 pm
Station model: Davis Vantage Pro2 Plus
Software: Meteohub

Re: Meteohub plugin

Post by Mauro » Sat Nov 03, 2018 10:26 pm

Hello Jachym!
Any suggestions?
Thanks!

User avatar
Mauro
Advisor
Advisor
Posts: 54
Joined: Tue Oct 30, 2018 4:41 pm
Station model: Davis Vantage Pro2 Plus
Software: Meteohub

Meteohub plugin ***SOLVED***

Post by Mauro » Tue Nov 06, 2018 9:50 am

Hello everyone!
I think I have solved the problem of incorrect solar radiation reading.
The value of field 34 in the clientraw.txt file (solar reading) is read from the update.php file of the Meteohub plugin.
The correct value should instead be read from field 127 (VP Solarwm).
So it's enough to change the value of the array from 34 to 127 in the update.php file.

Code: Select all

    if($rawData[127]!="-"){
        $rawUpdate['S'] = $rawData[127];
Attachments
field127.png
field127.png (5.23 KiB) Viewed 7348 times
field34.png
field34.png (6.32 KiB) Viewed 7348 times

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Meteohub plugin

Post by Jachym » Tue Nov 13, 2018 6:33 pm

Hi,
it looks like it depends on which station model you use, because for most people the other field number works fine, glad you fixed it

User avatar
Mauro
Advisor
Advisor
Posts: 54
Joined: Tue Oct 30, 2018 4:41 pm
Station model: Davis Vantage Pro2 Plus
Software: Meteohub

Re: Meteohub plugin

Post by Mauro » Tue Nov 13, 2018 8:03 pm

Thanks Jachym!
Hope it can help.

Mauro

andyk1
Professional
Professional
Posts: 432
Joined: Tue Feb 27, 2018 10:56 pm
Location: OKLAHOMA, USA
Station model: Ecowitt WS90
Software: Meteobridge/GW2000B
Contact:

Re: Meteohub plugin

Post by andyk1 » Tue Nov 27, 2018 12:05 am

I know a little late but for Ambient ObserverIP and meteobridge it is 126.7
Image

PNCATTE
Observer
Observer
Posts: 22
Joined: Wed Oct 10, 2018 8:05 am
Location: FLEURIE
Station model: Davis Pro 2
Software: WLIP
Contact:

Re: Meteohub plugin

Post by PNCATTE » Sun Dec 16, 2018 5:59 pm

MERCI pour ce correctif

Cordialement

User avatar
Mauro
Advisor
Advisor
Posts: 54
Joined: Tue Oct 30, 2018 4:41 pm
Station model: Davis Vantage Pro2 Plus
Software: Meteohub

Re: Meteohub plugin

Post by Mauro » Sun Dec 16, 2018 9:00 pm

Je suis content d'avoir été utile :)
Bonne soirée!

Post Reply