PiClock icon indicating copy to clipboard operation
PiClock copied to clipboard

Is your weather information gone? DarkSky Was Shutdown March 31, 2023.

Open n0bel opened this issue 1 year ago • 14 comments

There has been lots of discussion of this over the last 2 years. See Issue #185

Because of the shutdown, a new weather API is needed. Current choices supported by PiClock are OpenWeatherMaps or Tomorrow.io. You'll need to sign up to one of those services.

The fix is to review and perform the update process as shown in https://github.com/n0bel/PiClock/blob/master/Documentation/Install.md#updating-to-newerupdated-versions Depending on other changes you may have made, you may want to start over, in which case starting at the top of that document may be in order.

update.py will ask for an OpenWeatherMaps api key. If you wish to use Tomorrow.io, you'll need to manually your ApiKeys.py. Remember that only one of owmapi or tmapi may be used. Leave the opposite one commented out. Read the comments in ApiKeys-Example.py

I'm closing #185 If you wish to report new problems, create a new issue. However, reviewing #185 may be helpful to you.

n0bel avatar Apr 03 '23 15:04 n0bel

It looks as if pyqt4 is not available to install anymore. Has anyone had any luck with it on a fresh build?

skipwill avatar Apr 11 '23 13:04 skipwill

It looks as if pyqt4 is not available to install anymore. Has anyone had any luck with it on a fresh build?

@skipwill You have to use an older version of Raspberry Pi OS or Raspbian that supports Python2 in order to use PyQt4. Otherwise, try my fork which is written with Python3 and PyQt5. https://github.com/SerBrynden/PiClock

SerBrynden avatar Apr 11 '23 14:04 SerBrynden

I figured as much. I hate to go back, though. Thanks, I’ll take a look at your fork. Much appreciated!

skipwill avatar Apr 11 '23 15:04 skipwill

Hi Brendan,

Just a quick note to thank you for your fork of PiClock to pyqt5 and Python 3. It’s working great and I am thrilled to have it running again. Additionally I was successful in adding my tide clock hand code, to the analog click.

Again, thanks and all the best!

Skip Williams


From: Brendan Curley @.> Sent: Tuesday, April 11, 2023 10:24:19 AM To: n0bel/PiClock @.> Cc: skip skipw.net @.>; Mention @.> Subject: Re: [n0bel/PiClock] Is your weather information gone? DarkSky Was Shutdown March 31, 2023. (Issue #251)

It looks as if pyqt4 is not available to install anymore. Has anyone had any luck with it on a fresh build?

@skipwillhttps://github.com/skipwill You have to use an older version of Raspberry Pi OS or Raspbian that supports Python2 in order to use PyQt4. Otherwise, try my fork which is written with Python3 and PyQt5. https://github.com/SerBrynden/PiClock

— Reply to this email directly, view it on GitHubhttps://github.com/n0bel/PiClock/issues/251#issuecomment-1503463111, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABO6IQ7YUDWVSUUBF6OC4KDXAVSRHANCNFSM6AAAAAAWROXRTY. You are receiving this because you were mentioned.Message ID: @.***>

skipwill avatar Apr 22 '23 18:04 skipwill

@skipwill Hi again, I was still hoping you could share your tide clock hand code? I would love to implement something like that into my own instance. Would you mind posting it here or to something like pastbin.com ? Thanks!

vanosg avatar Jun 20 '23 03:06 vanosg

Hi Geo, I am using Brendan’s fork of PiClock so not sure if I should post it. I’ll be glad to send you a copy with the tide click code (it ain’t real pretty :-) ) Along with the ‘tide hand’ in a zip file if you would like.

Skip


From: Geo @.> Sent: Monday, June 19, 2023 11:28:29 PM To: n0bel/PiClock @.> Cc: skip skipw.net @.>; Mention @.> Subject: Re: [n0bel/PiClock] Is your weather information gone? DarkSky Was Shutdown March 31, 2023. (Issue #251)

@skipwillhttps://github.com/skipwill Hi again, I was still hoping you could share your tide clock hand code? I would love to implement something like that into my own instance. Would you mind posting it here or to something like pastbin.com ? Thanks!

— Reply to this email directly, view it on GitHubhttps://github.com/n0bel/PiClock/issues/251#issuecomment-1598056527, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABO6IQ6ISTCY4CYKWTYNKPLXMEKF3ANCNFSM6AAAAAAWROXRTY. You are receiving this because you were mentioned.Message ID: @.***>

skipwill avatar Jun 20 '23 11:06 skipwill

I don't want to continue to hijack this thread, but I have no other way to communicate, sorry- whatever you have for that clock is fine. Could you post the code and tide hand in that zip to a new issue in that repo (you can attach files), or to a fileshare site? I really appreciate it, thank you

vanosg avatar Jun 20 '23 13:06 vanosg

Skip could create their own fork of PiClock and upload the changes there.

SerBrynden avatar Jun 20 '23 19:06 SerBrynden

Geo,

Sorry for the delay. Things have been real busy here.

Attached is the source of PyQtClock.py with the tide hand. All you should need to do is add

tidehand = 'images/tidehand.png' tidestation = '8661070' #NOAA tide station

to your config.py file.

Let me know if you have any problems with it. Some mail clients and/or antivirus programs have a problem with .zip files.

Skip

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: @.> Sent: Monday, June 19, 2023 11:28 PM To: @.> Cc: skip @.>; @.> Subject: Re: [n0bel/PiClock] Is your weather information gone? DarkSky Was Shutdown March 31, 2023. (Issue #251)

@skipwillhttps://github.com/skipwill Hi again, I was still hoping you could share your tide clock hand code? I would love to implement something like that into my own instance. Would you mind posting it here or to something like pastbin.com ? Thanks!

— Reply to this email directly, view it on GitHubhttps://github.com/n0bel/PiClock/issues/251#issuecomment-1598056527, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABO6IQ6ISTCY4CYKWTYNKPLXMEKF3ANCNFSM6AAAAAAWROXRTY. You are receiving this because you were mentioned.Message ID: @.***>

skipwill avatar Jul 09 '23 20:07 skipwill

Thanks, but nothing attached- could you edit via the Web UI and re-attach, or maybe create your own fork with the files? Thanks so much for your dedication

vanosg avatar Jul 09 '23 21:07 vanosg

It might be on GitHub now. See if you can find it if not let me know. Might be under user Skipwill. Let me know if it works!

Skip


From: Geo @.> Sent: Sunday, July 9, 2023 5:22:39 PM To: n0bel/PiClock @.> Cc: skip skipw.net @.>; Mention @.> Subject: Re: [n0bel/PiClock] Is your weather information gone? DarkSky Was Shutdown March 31, 2023. (Issue #251)

Thanks, but nothing attached- could you edit via the Web UI and re-attach, or maybe create your own fork with the files? Thanks so much for your dedication

— Reply to this email directly, view it on GitHubhttps://github.com/n0bel/PiClock/issues/251#issuecomment-1627828868, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABO6IQ3YBN4DCHZRHNKDZXTXPMOJ7ANCNFSM6AAAAAAWROXRTY. You are receiving this because you were mentioned.Message ID: @.***>

skipwill avatar Jul 10 '23 00:07 skipwill

OpenWeather One Call API 2.5 to be closed in June 2024: https://openweathermap.org/one-call-transfer

SerBrynden avatar Apr 18 '24 00:04 SerBrynden

We are having to deal with this at work right now. Going from 2.5 to 3. I was working with my web developer to try to figure out exactly what we were going to do. If we're going to either upgrade or move to another service. If we moved to another service, I'll update the group to what we go with. The software that we write for law enforcement incorporates 2.5 to give localized weather to patrol officers while on on patrolling their cars.

On Wed, Apr 17, 2024, 7:46 PM Brendan Curley @.***> wrote:

OpenWeather One Call API 2.5 to be closed in June 2024: https://openweathermap.org/one-call-transfer

— Reply to this email directly, view it on GitHub https://github.com/n0bel/PiClock/issues/251#issuecomment-2062788427, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFIERVGY2V4S374NBHPQD3TY54JVHAVCNFSM6AAAAAAWROXRT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRSG44DQNBSG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Knackster avatar Apr 18 '24 01:04 Knackster

PiClock currently supports both 2.5 and 3.0, but users will probably have to manually go into their OpenWeather accounts to activate the 3.0 API for themselves, else their PiClock will be blank.

SerBrynden avatar Apr 18 '24 01:04 SerBrynden