Author Topic: Use Ambientweather.net in WordPress site  (Read 1910 times)

0 Members and 1 Guest are viewing this topic.

Offline cheeroip

  • Holocene human / dev / tinkerer
  • Senior Member
  • **
  • Posts: 91
  • Developer
    • DTVRC
Use Ambientweather.net in WordPress site
« on: April 01, 2019, 10:47:06 AM »
Wow, I didn't expect to see the developer of that wordpress plugin on here! Amazing job.
Would be lovely to have the feed date and maybe an user friendly note of how old is a feed, (like 5 minutes, 1 hour,   1 week :???:)

Outstanding plugin.

Offline galfert

  • Global Moderator
  • Forecaster
  • *****
  • Posts: 6822
Re: Use Ambientweather.net in WordPress site
« Reply #1 on: April 01, 2019, 03:01:09 PM »
Wow, I didn't expect to see the developer of that wordpress plugin on here! Amazing job.

Um why not? Ken runs this wxforum.net website too.

EDIT: This reply probably makes no sense now that these messages have been split off from a previous thread that had to do with Ken's work. Basically I replied saying that the plugin was done by Ken whom also runs this forum website.
« Last Edit: June 17, 2020, 01:27:24 PM by galfert »
Ecowitt GW1000 | Meteobridge on Raspberry Pi
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Weather Underground Issue Tracking
Tele-Pole

Offline cheeroip

  • Holocene human / dev / tinkerer
  • Senior Member
  • **
  • Posts: 91
  • Developer
    • DTVRC
Re: Use Ambientweather.net in WordPress site
« Reply #2 on: April 01, 2019, 06:49:00 PM »
Um why not? Ken runs this wxforum.net website too.
I had no idea. I just joined the forum 2 days ago and I didn't put two and two together.
 [tup] I was actually convinced he was a french guy...
« Last Edit: April 01, 2019, 06:53:55 PM by cheeroip »

Offline PierreLannoy

  • Member
  • *
  • Posts: 7
Re: Use Ambientweather.net in WordPress site
« Reply #3 on: April 02, 2019, 04:29:56 PM »
Aha. I think there is a little misunderstanding  :grin:
I'm Pierre (the French guy) who is the author of Weather Station, the WordPress plugin... And Ken (the American guy), is the famous author of many well known scripts, available on Saratoga Weather, to handle weather data and visualization... Never mind, the confusion is all to my advantage, and I thank you for your kind words <3
Weather Station a free WordPress plugin that collects an displays meteorological data

Offline galfert

  • Global Moderator
  • Forecaster
  • *****
  • Posts: 6822
Re: Use Ambientweather.net in WordPress site
« Reply #4 on: April 02, 2019, 04:48:16 PM »
Hopefully Ken doesn't mind the thread-jack. But I just had to say very nice work Pierre. I was not aware of you or your WordPress plugin. And yes Ken your templates are world famous and very nice too  :grin:
Ecowitt GW1000 | Meteobridge on Raspberry Pi
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Weather Underground Issue Tracking
Tele-Pole

Offline cheeroip

  • Holocene human / dev / tinkerer
  • Senior Member
  • **
  • Posts: 91
  • Developer
    • DTVRC
Re: Use Ambientweather.net in WordPress site
« Reply #5 on: April 03, 2019, 02:17:40 PM »
He doesn't even have a screenshot of his Wordpress plugin on the forum...
 [ You are not allowed to view attachments ]

I would still like a field to with the data's "age"... or not show any data at all if the feed is older than x hours or x days.
No data is better than wrong data (ask Boing about their faulty sensors).

Offline PierreLannoy

  • Member
  • *
  • Posts: 7
Re: Use Ambientweather.net in WordPress site
« Reply #6 on: April 03, 2019, 03:17:52 PM »
Hello.

I think it's not exactly the subject of this thread :)

The screenshot you took is one of the many visualization available in my plugin and as you can see, it has the date of the last refresh at the top ;)

Have a nice a day!
Weather Station a free WordPress plugin that collects an displays meteorological data

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Use Ambientweather.net in WordPress site
« Reply #7 on: April 03, 2019, 04:16:06 PM »
Hi Pierre,
No issues about threadjacking.. I've split off this conversation into a new topic :)

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline cheeroip

  • Holocene human / dev / tinkerer
  • Senior Member
  • **
  • Posts: 91
  • Developer
    • DTVRC
Re: Use Ambientweather.net in WordPress site
« Reply #8 on: April 03, 2019, 04:47:48 PM »
Hi Pierre,
No issues about threadjacking..
And in any case it was me posting. It seemed relevant.  I apologize in case, I didn't find any other posts related to his plugin.
I've split off this conversation into a new topic :)

Best regards,
Ken

Thank you. I think he deserve its own topic.
I'll move the screenshot (s) there.


Offline cheeroip

  • Holocene human / dev / tinkerer
  • Senior Member
  • **
  • Posts: 91
  • Developer
    • DTVRC
Re: Use Ambientweather.net in WordPress site
« Reply #9 on: April 03, 2019, 05:26:00 PM »

..., it has the date of the last refresh at the top ;)

I think that is just the "Query" date not the actual feed date.
Are you generating the date or using the one from the Ambient Weather JSON?

 [ You are not allowed to view attachments ]
I noticed the date was "wrong" when my Station stopped updating to ambientweather.net but the API was keep answering like nothing happened :)
« Last Edit: April 03, 2019, 05:28:52 PM by cheeroip »

Offline PierreLannoy

  • Member
  • *
  • Posts: 7
Re: Use Ambientweather.net in WordPress site
« Reply #10 on: April 04, 2019, 04:06:39 AM »
Hi Pierre,
No issues about threadjacking.. I've split off this conversation into a new topic :)

Best regards,
Ken

Thanks, Ken. It will be more clear like that ;)
Weather Station a free WordPress plugin that collects an displays meteorological data

Offline PierreLannoy

  • Member
  • *
  • Posts: 7
Re: Use Ambientweather.net in WordPress site
« Reply #11 on: April 04, 2019, 04:21:44 AM »
Hello cheeriop.

In fact, it's more complex than that. For each data retrieval, a timestamp is associated with the value. This timestamp is the available date given by the subsystem (i.e., in your case the timeutc included in the response given by the API call). But for a single station, many subsystems maybe implicated (ephemeris computer, OpenWeatherMap added measurements, AQ queries, etc.). In all widgets, the date shown is the more optimistic for the station. So yes, you could have stale values. It's why I do not recommend to use widgets for accurate current conditions.
If you want to have accurate measurements, I recommend to use the available controls (gauge, lcd, textual values, etc.) in conjonction with the data obsolescence settings (in settings > display).
Weather Station a free WordPress plugin that collects an displays meteorological data

Offline cheeroip

  • Holocene human / dev / tinkerer
  • Senior Member
  • **
  • Posts: 91
  • Developer
    • DTVRC
Re: Use Ambientweather.net in WordPress site
« Reply #12 on: April 04, 2019, 09:53:52 AM »
Hello cheeriop.

 In all widgets, the date shown is the more optimistic for the station.
Not sure I follow you but I trust your expertise.  [tup]
So yes, you could have stale values. It's why I do not recommend to use widgets for accurate current conditions.

If you want to have accurate measurements, I recommend to use the available controls (gauge, lcd, textual values, etc.) in conjonction with the data obsolescence settings (in settings > display).
Yes that was my point. My station was down for a week... those values weren't stale; they were rotten.
There is a line between being inaccurate and being misleading
I have no experience with other Weather stations beside mine but I would assume uploading problems are pretty common.

All above assuming that the Ambient Weather API would return the of last valid stations upload's  timestamp.
But I can't imagine any reason why they would give a different one.

 

anything