Upload to customized weather services?

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

Moderator: Mattk

Post Reply
_John C
Junior Boarder
Junior Boarder
Posts: 23
Joined: Thu Jun 11, 2020 5:31 pm

Upload to customized weather services?

Post by _John C »

I've got an Ecowitt GW1000 that allows me to use 1 customized service. I use this to upload weather data to my android tablet on the local network. I'd like to be able to upload to more then 1 tablet on the local network. Would this be possible with Meteobridge or could it be a new feature in a future release? Option to upload to maybe 3 devices on the local network. Here's a picture of the GW1000 Customized service page to enter parameters. I'd like to have maybe 3 of these in the Meteobridge. Would it be possible?
Attachments
20200630_162508.jpg
20200630_162508.jpg (122.29 KiB) Viewed 381 times
TL-WR902AC V3
GW1000

User avatar
galfert
Gold Boarder
Gold Boarder
Posts: 178
Joined: Sun Jun 24, 2018 10:31 pm
Location: Orlando, FL

Re: Upload to customized weather services?

Post by galfert »

The Meteobridge already has this capability built in. You go to the Services tab and then add an HTTP upload service type. You'll have to rebuild the WU protocol format or the Ecowitt protocol format using the MB variables.

You can add way more than 3 instances to any location you want.

When Windy first published their upload protocol, I built a custom HTTP upload to Windy using the MB (I shared it on this forum and the other one). This is before the MB gained the ability to more easily select the Windy as a destination Weather Network. It isn't that hard. Don't follow exactly this recipe as this uses variable names that Windy required. But you can use this as a proof of concept and then make changes to accommodate the WU or Ecowitt protocols.

https://www.wxforum.net/index.php?topic ... #msg376837

This is what the Ecowitt protocol looks like. It will look differently depending on which sensors you have. This will get you going though for at least the basic stuff.

POST: PASSKEY=XXXX&stationtype=GW1000B_V1.6.0&dateutc=2020-06-30+22:07:33&tempinf=81.5&humidityin=51&baromrelin=29.914&baromabsin=29.881&tempf=94.6&humidity=56&winddir=229&windspeedmph=1.79&windgustmph=2.24&maxdailygust=8.05&solarradiation=80.62&uv=0&rainratein=0.000&eventrainin=0.000&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=0.000&monthlyrainin=9.181&yearlyrainin=22.343&totalrainin=22.343&temp1f=79.70&humidity1=48&pm25_ch1=12.9&pm25_avg_24h_ch1=14.0&wh65batt=0&batt1=0&pm25batt1=4&freq=915M&model=GW1000

Combine that with the MB variables which you can reference here:
https://www.meteobridge.com/wiki/index.php/Templates

A little effort and you've got a custom upload.
I'll get you going....here is how it starts....you finish it:

Code: Select all

http://192.168.x.x/PASSKEY=XXXX&stationtype=Meteobridge&dateutc=[YYYY]-[MM]-[DD]+[hh]:[mm]:[ss]&tempinf=[thb0temp-act=F]&humidityin=[thb0hum-act=F]
MR3020 v1
GW1000

User avatar
galfert
Gold Boarder
Gold Boarder
Posts: 178
Joined: Sun Jun 24, 2018 10:31 pm
Location: Orlando, FL

Re: Upload to customized weather services?

Post by galfert »

Actually I just realized that for the Ecowitt protocol it won't work. You'd have to do it with a MB script instead of HTTP service. This is because the HTTP method is GET and the Ecowitt protocol is POST. I haven't done one of those yet...but I'm sure someone else can pick up the pieces.
MR3020 v1
GW1000

_John C
Junior Boarder
Junior Boarder
Posts: 23
Joined: Thu Jun 11, 2020 5:31 pm

Re: Upload to customized weather services?

Post by _John C »

Thanks galfert for the info. But I'm afraid MB scripts would be beyond me.

Thanks
TL-WR902AC V3
GW1000

Post Reply