Author Topic: New Project for Davis Station using Meteobridge & Netatmo  (Read 5808 times)

0 Members and 1 Guest are viewing this topic.

Offline SnowSentry

  • Contributor
  • ***
  • Posts: 146
    • WeatherWizz
New Project for Davis Station using Meteobridge & Netatmo
« on: July 07, 2021, 06:50:18 AM »
Hey All,

Not sure if anyone is interested but I thought I would do a shout out for a project I have setup.   Basically I have a Davis weather station and I was fed up running back and forth checking the rain levels during exciting storms.  Anyway, all the cloud services are good at collecting data but viewing real time was close to 10 mins delay.  Anyway, I set up a cloud service to hook up weather stations and push real time weather data to a virtual weather console.  I have a few old tablets around the house so now I have a console in every room.  😊  and I figured others might like it too.

It’s free for anyone to use, just be kind as I have only recently finished setting it up, would love to get some feedback!

https://www.weatherwizz.com




Offline kocher

  • Senior Member
  • **
  • Posts: 85
    • San Sebastian (Spain)
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #1 on: July 07, 2021, 12:42:28 PM »
Interesting idea    :grin:

It seems to me a very successful application, simple to carry out, with a very successful style and in real time. You can not ask for more.

If you admit a suggestion, I could try a different color for the source of the variables; the goal would be "not to burn the screen".
I put a similar example with the idea that I propose:     #-o

                                   http://kocher.es/cumulusMX/wBox-nuevo/ipad.php

It seems that the "sand" color damages the device screen to a lesser extent.

Another possible option would be to add a small led pilot, indicating that the station is connected

Thank you very much for your creation

Javier
« Last Edit: July 07, 2021, 12:45:48 PM by kocher »
Windows 7 Pr
Davis Vantage Pro Plus f.a.
WeatherLink 6.0.2
Meteotemplate 15.0 Black Currant
CumulusMX
GraphWeather Version 3.0.15


Offline davidmc36

  • He who dies with the most toys wins!
  • Forecaster
  • *****
  • Posts: 1258
  • FN25ie61jw
    • MorewoodW34
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #2 on: July 07, 2021, 01:33:05 PM »
Cool App.

Interesting I chose inHg for Px display but it looks like this.  [ You are not allowed to view attachments ]

Wind speed does not seem to update very good.

Offline SnowSentry

  • Contributor
  • ***
  • Posts: 146
    • WeatherWizz
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #3 on: July 08, 2021, 12:56:04 AM »
Hey kocher,

Thanks for the tips.  I have added the option to switch on a couple of LED indicators.

 [ You are not allowed to view attachments ]

Station status
Flashing green when your weather station is connected and sending data.
Flashing red when something is wrong and the connection is broken.

Data Status. 
The data status one just flashes every time your weather stations sends updated data. 

I will take a look at the variable colour to prevent burn in.  Who knew that was still a thing :)



« Last Edit: July 10, 2021, 08:19:13 PM by SnowSentry »

Offline davidmc36

  • He who dies with the most toys wins!
  • Forecaster
  • *****
  • Posts: 1258
  • FN25ie61jw
    • MorewoodW34
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #4 on: July 08, 2021, 06:13:15 AM »
This is almost perfect for Kiosk Mode on tablet. I only seem to get cut off screen on mobile devices. PC browser in full screen shows all of the theme. I tried general and Meteobridge. [ You are not allowed to view attachments ]

Offline SnowSentry

  • Contributor
  • ***
  • Posts: 146
    • WeatherWizz
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #5 on: July 08, 2021, 06:16:45 AM »
Hi davidmc36,

Thanks for giving it a go, do you know what your mobile device screen resolution is?


Offline Mapantz

  • Forecaster
  • *****
  • Posts: 781
    • Wareham Weather
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #6 on: July 08, 2021, 07:42:48 AM »
Hi

Nice dashboard.

I have set CumulusMX to use the custom HTTP call, but it's failing.

Code: [Select]
2021-07-08 12:39:26.935 CustomHttpSeconds: Querying - https://api.weatherwizz.com/api/update?stationid=JYEBQMDWTO&auth=********&oc=21.0&h=70&ap=1019.68&r=0.0&od=15.3&oma=21.0&omi=14.1&wd=250&ws=5&wc=21.0&it=22.8
2021-07-08 12:39:27.200 CustomHttpSeconds: Response status code does not indicate success: 404 (Not Found).

Cannot GET /api/update

I've hidden my auth code for the purpose of posting here, but it is correct.


Offline SnowSentry

  • Contributor
  • ***
  • Posts: 146
    • WeatherWizz
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #7 on: July 08, 2021, 08:18:21 AM »
Hi Mapantz,

Thanks for trying out the API, I have made some changes to support the GET method.  It should be working ok for you now. 

Enjoy!

Offline davidmc36

  • He who dies with the most toys wins!
  • Forecaster
  • *****
  • Posts: 1258
  • FN25ie61jw
    • MorewoodW34
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #8 on: July 08, 2021, 08:21:52 AM »
Hi davidmc36,

Thanks for giving it a go, do you know what your mobile device screen resolution is?

My Phone is running at 2280x1080
The Tab I tried is 1024x600

It looks identical on either one in Landscape mode. If I go Portrait, I can scroll to see the tiles.
« Last Edit: July 08, 2021, 08:26:24 AM by davidmc36 »

Offline Mapantz

  • Forecaster
  • *****
  • Posts: 781
    • Wareham Weather
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #9 on: July 08, 2021, 08:28:00 AM »
Hi Mapantz,

Thanks for trying out the API, I have made some changes to support the GET method.  It should be working ok for you now. 

Enjoy!

Great stuff! Working a treat now.  [tup]

Are there any plans to allow for extra data in the api?

Solar, air quality and rainfall rate, perhaps?


Offline SnowSentry

  • Contributor
  • ***
  • Posts: 146
    • WeatherWizz
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #10 on: July 08, 2021, 09:14:34 AM »
Sure, I can extend it. 

Offline Mapantz

  • Forecaster
  • *****
  • Posts: 781
    • Wareham Weather
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #11 on: July 08, 2021, 01:11:23 PM »
I've left it running while I've been away, but come back to find 'Page Not Found' 404


Offline thomas

  • Contributor
  • ***
  • Posts: 111
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #12 on: July 08, 2021, 03:15:40 PM »
Thanks for this.  I have asked for it to display F but keeps showing C.  I am using a Meteobridge.

https://www.weatherwizz.com/mdb0001/?station=GGBOGZTKWB

Offline Mapantz

  • Forecaster
  • *****
  • Posts: 781
    • Wareham Weather
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #13 on: July 08, 2021, 03:30:17 PM »
It's all stopped working for me.

I have no account, no ID or auth code and no private url.


Offline SnowSentry

  • Contributor
  • ***
  • Posts: 146
    • WeatherWizz
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #14 on: July 08, 2021, 05:18:23 PM »
It's all stopped working for me.

I have no account, no ID or auth code and no private url.

Sorry Mapantz, I think i fixed the glitch.  let me know if it's working at your end.


Offline Mapantz

  • Forecaster
  • *****
  • Posts: 781
    • Wareham Weather
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #15 on: July 08, 2021, 05:20:19 PM »
Sorry Mapantz, I think i fixed the glitch.  let me know if it's working at your end.

Yeap - all good again.

I thought I'd done something..  :shock:

Regarding extra data via the api; It would be good to have the same options as meteobridge. wind speed and wind gust. rain month/year & rain rate, as well as UV and solar rad.

I really like this, and would be happy to donate for future updates/costs etc.  [tup]
« Last Edit: July 08, 2021, 05:23:05 PM by Mapantz »


Offline SnowSentry

  • Contributor
  • ***
  • Posts: 146
    • WeatherWizz
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #16 on: July 09, 2021, 06:32:15 PM »
Hi Mapantz

I have updated the API to be the same as Meteobridge.  The only one I don't display at the moment is rain rate.  But you can start pushing the data in and when I design the next dashboard I will include the rain rate on it for you.

Enjoy!



Offline Mapantz

  • Forecaster
  • *****
  • Posts: 781
    • Wareham Weather
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #17 on: July 09, 2021, 06:44:47 PM »
Hi Mapantz

I have updated the API to be the same as Meteobridge.  The only one I don't display at the moment is rain rate.  But you can start pushing the data in and when I design the next dashboard I will include the rain rate on it for you.

Enjoy!

That's great!  :-)

I just wanted to check something with you; I have just noticed that wind speed & wind gust are showing to 1 decimal place and are not rounding. ie My wind gust is showing 3.1. Davis stations round the output to 3. Also, that 3.1 is wrong, it should be 5mph.

Code: [Select]
2021-07-09 23:45:11.467 CustomHttpSeconds: Querying - https://api.weatherwizz.com/api/update?stationid=JYEBQMDWTO&auth=*******&oc=14.2&h=87&ap=1019.07&r=0.0&rm=29.4&ry=491.6&od=12.1&oma=20.5&omi=12.1&wd=233&ws=0&wc=14.2&it=22.2&uv=0.0&sr=0&g=5
https://www.weatherwizz.com/mdb0001/?station=JYEBQMDWTO
« Last Edit: July 09, 2021, 06:47:29 PM by Mapantz »


Offline SnowSentry

  • Contributor
  • ***
  • Posts: 146
    • WeatherWizz
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #18 on: July 09, 2021, 06:58:49 PM »
AH! I see what is happening.  I have made the assumption the data is kph and convert it to mph.  I will add an option to stop the conversion at the dashboard.


Offline SnowSentry

  • Contributor
  • ***
  • Posts: 146
    • WeatherWizz
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #19 on: July 10, 2021, 12:49:44 AM »
Hi Mapantz & thomas,

I have added some conversion features to the options. This should let you convert the values from one unit to another, or NONE if your sending the value you want to see. 

I am sure it's pretty easy to figure out but give me a shout if you need some help.

Enjoy!

Offline Oilswell

  • Senior Member
  • **
  • Posts: 80
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #20 on: July 10, 2021, 11:52:55 AM »
This looks so awesome but could someone walk me through setting up my station using the API endpoint. For starters, does this mean I can take data I'm uploading to WU to display via this interface?

If so, I assume I have to replace station id in the supplied code I'm guessing. I'd appreciate it if someone could walk me through this as I'm just not sure exactly how to make it work.

Cheers
« Last Edit: July 10, 2021, 01:12:31 PM by Oilswell »

Offline SnowSentry

  • Contributor
  • ***
  • Posts: 146
    • WeatherWizz
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #21 on: July 10, 2021, 05:51:22 PM »
Hi Oilswell,

Happy to help you get this setup.  WeatherWizz supports http post and get methods for receiving your data and displaying it. 

Would you be able to let us know what your setup is and what software/hardware you are using to upload to WU?


Offline Oilswell

  • Senior Member
  • **
  • Posts: 80
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #22 on: July 10, 2021, 09:46:12 PM »
Would you be able to let us know what your setup is and what software/hardware you are using to upload to WU?
Sounds great. I've got a VP2 with Weatherlink Live and I'm using Cumulus run from a raspberry pi as well.

Appreciate any help!

Offline SnowSentry

  • Contributor
  • ***
  • Posts: 146
    • WeatherWizz
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #23 on: July 11, 2021, 12:13:30 AM »
Hey Oilswell,

I have had a quick read through https://cumuluswiki.org/a/MX_Administrative_Interface,  it appears you can upload your data to WeatherWizz using custom http request.   

From the wiki page it reads "The main new feature (not in Cumulus 1) within this settings page is a Custom Http section. Within here you can define commands (in URL format) to be executed either at some multiple of seconds interval, and/or at a selected intervals in minutes."

So I assume you have the latest version of CumulusMX (i think it's called)

If so, all you need to do is locate this Custom http section and put your WeatherWizz formatted url.  Which is:

https://api.weatherwizz.com/api/update?stationid=<MYSTATION>&auth=<MYAUTH>&wd=<#avgbearing>&ws=<#wspeed>&g=<#wgust>&oc=<#temp>&r=<#rhour>&ap=<#press>&od=<#dew>&h=<#hum>&uv=<#UV>

Remember to replace <MYSTATION> and <MYAUTH>  with your own settings which you can find in the my account setup api area.

Hope this helps!

Enjoy.


Offline SnowSentry

  • Contributor
  • ***
  • Posts: 146
    • WeatherWizz
Re: New Project for Davis Station using Meteobridge & Netatmo
« Reply #24 on: July 11, 2021, 01:02:20 AM »
Hi Oilswell,

to make things easier, I have setup a simple guide to pre-construct the url for you.  If you login to WeatherWizz and scroll down to "Setup CumulusMX custom http"  you will find the full formatted url to put into your software.

Enjoy!