Author Topic: Meteotemplate  (Read 137708 times)

wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Meteotemplate
« Reply #375 on: January 15, 2017, 07:46:03 AM »
Another running Meteotemplate SteelSeries implementation:
http://wetter.unterwurzacher.at/meteo/plugins/steelSeries/index.php

versus the "old" implementation by myself:
http://wetter.unterwurzacher.at/meteo/pages/station/live_steel.php

Great work, Jachym - thanks a lot!  [tup]

Suggestion: In a future version of the SteelSeries for Meteotemplate make it possible to add custom text to the scrollbar (canvas_status).
Reinhard


wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
PlugIn LiveGaugesWC
« Reply #376 on: February 01, 2017, 07:26:02 PM »
Anybody out here who can test the plugin 'liveGaugesWC'?

I am interested in the sunrise/sunset times, they do not match. They are correct in all other Meteotemplate calculations but not within this plugin, at least here for me. Maybe it is a problem here at my configuration, so if anybody of you who uses the template can test this?

Thanks!  :)
Reinhard


jachym

  • Strong Breeze
  • ***
  • Posts: 210
    • Meteotemplate
  • Station Details: WH1080
Re: Meteotemplate
« Reply #377 on: February 01, 2017, 10:41:28 PM »
All the PHP files use the same built-in PHP function for this so it is strange, how big is the difference?

wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Meteotemplate
« Reply #378 on: February 02, 2017, 07:23:09 AM »
All the PHP files use the same built-in PHP function for this so it is strange, how big is the difference?

This is exactly why I asked the community to test this!  :)

The differences are (for today, Feb 2nd 2017):

? liveGaugesWC plugin: 07:36 and 17:11
? summary block: 07:33 and 17:14
? riset block: 07:33 and 17:14
? stationDiary (big): 07:33 and 17:14
? astronomy/sun: 07:33 and 17:14

So only the liveGauges do show a different (incorrect) time and make the day 6 minutes shorter.  ???
Reinhard


wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Meteotemplate
« Reply #379 on: February 02, 2017, 01:47:02 PM »
Looks like the same difference is on your own demo website.   ;)
Reinhard


jachym

  • Strong Breeze
  • ***
  • Posts: 210
    • Meteotemplate
  • Station Details: WH1080
Re: Meteotemplate
« Reply #380 on: February 02, 2017, 02:08:13 PM »
OK I see the problem, it is taking it from a calculation done by the interactive banner which uses the angle 90?, but later I learned 90.5 is more accurate, but I didnt change it in the banner. The problem is also that I now realize that if you disable interactive banner in Main settings, this will not work and show 0.00

wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Meteotemplate
« Reply #381 on: February 02, 2017, 02:25:53 PM »
So if I get it right there are two different calculations - one for the banner (which is not in use on my side) and one for the PHP function. Now that you are aware of it I think it is no problem for you to solve the issue!  [rockon]  [bounce]
Reinhard


jachym

  • Strong Breeze
  • ***
  • Posts: 210
    • Meteotemplate
  • Station Details: WH1080
Re: Meteotemplate
« Reply #382 on: February 02, 2017, 02:27:33 PM »
Well yes and no, it is not a problem to solve it but it wont be now since the error is in the header, which is part of the normal template, not in the plugin as such, so it will be fixed in v12

wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Meteotemplate
« Reply #383 on: February 02, 2017, 02:30:09 PM »
 [tup]
Reinhard


xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: Meteotemplate
« Reply #384 on: February 02, 2017, 03:29:53 PM »
jachym,

I'd like to request a copy of your code! Since you can make a day "shorter", I'd like to know if I can run the modified code and make my days just a bit longer!! lol(1) I'll be happy to attribute you as the dev, of course! ThU5:-)
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


monymony

  • Strong Breeze
  • ***
  • Posts: 173
  • CoCoRaHS - MD-CC-16
    • EW3643
    • KMDELKTO10
    • Cecil County Maryland Weather
  • Station Details: Davis Vantage Pro 2
Re: Meteotemplate
« Reply #385 on: April 11, 2017, 01:29:11 PM »
Hi All,

Anyone have any idea when the next WC update will be out that has support for the Meteotemplate API built-in?

Thanks!



jhoke

  • Gentle Breeze
  • **
  • Posts: 56
  • this space for rent
    • EW5604
    • KPAALBRI11
    • Indian Mountain Lakes - Carbon County Weather
  • Station Details: Davis Vantage Pro2, MacMini (i5 2.5Ghz 4GBRam 500GB HD, 4TB attached storage), other bits coming soon (UV, etc)
Re: Meteotemplate
« Reply #386 on: April 11, 2017, 02:24:07 PM »
Hi All,

Anyone have any idea when the next WC update will be out that has support for the Meteotemplate API built-in?

Thanks!

You beat me to the punch ... was about to ask as I am moving my weather site and doing a complete reinstall ... would be cleanest to do it all @ once

wurzelmac

  • Storm
  • *****
  • Posts: 1361
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: Meteotemplate
« Reply #387 on: April 11, 2017, 06:50:30 PM »
We have to wait for Stu to give us the answer! But I am really sure he is working on this.  [computer]
Reinhard


jachym

  • Strong Breeze
  • ***
  • Posts: 210
    • Meteotemplate
  • Station Details: WH1080
Re: Meteotemplate
« Reply #388 on: April 16, 2017, 01:59:04 AM »
Wait is over

 [cheer] [cheer] [cheer] [cheer] [cheer]

jhoke

  • Gentle Breeze
  • **
  • Posts: 56
  • this space for rent
    • EW5604
    • KPAALBRI11
    • Indian Mountain Lakes - Carbon County Weather
  • Station Details: Davis Vantage Pro2, MacMini (i5 2.5Ghz 4GBRam 500GB HD, 4TB attached storage), other bits coming soon (UV, etc)
Re: Meteotemplate
« Reply #389 on: April 17, 2017, 10:23:14 AM »
Wait is over

 [cheer] [cheer] [cheer] [cheer] [cheer]


Woot!

Just updated WeatherCat and tested the API function on my test site ... works great!

one question - from the wiki:
Quote
The URL of the API script is simply the URL of your template folder and api.php. The api.php is in the template root folder. You then set the interval, the database will be updated every 5 minutes, but you can set the interval of calling the API to something shorter. The API script will cache the data and update the database every 5 minutes using aggregated data from the cache file. This is also advantageous because upon each trigger of the API script, a file of current conditions is saved.

Assumptions
1) the cache file is in cache/apiCache.txt
2) Current version of WeatherCat released with the API does not provide the ability to change the API call interval that I can find - anyone know what the interval default is, or how to change it
2a) assuming the interval is set in a plist file somewhere and could be modified to 1m and then would get an updated apiCache.txt every 60s and the DB would get updated by the API ever 5m

Question
Will the API work with HTTPS as the transport rather than HTTP? (haven't tested yet, but my production site is all HTTPS (http being redirected to HTTPS if used)