Sun Calk

Post Reply
User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Sun Calk

Post by tobydude » Mon Nov 27, 2023 9:53 am

Hi.
Is it possible to get the old Suncalk up and running again as a block?

http://suncalc.net/#/68.6464,14.4375,5/2023.11.27/12:33

davidefa
Expert
Expert
Posts: 905
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Sun Calk

Post by davidefa » Mon Nov 27, 2023 1:52 pm

Is there a 'suncalc' block or plugin ( or what is the previous version you are referring to )?
Image

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Sun Calk

Post by tobydude » Mon Nov 27, 2023 2:15 pm

Sorry. I got mixed up.
The Suncalc is from my previous weather page using the Leuven Template. :roll:

alexvanuxem
Forecaster
Forecaster
Posts: 225
Joined: Mon Jan 31, 2022 4:41 pm
Location: Sint-Katelijne-Waver, Belgium
Station model: Davis Vantage Pro 2
Software: Meteobridge
Contact:

Re: Sun Calk

Post by alexvanuxem » Tue Nov 28, 2023 5:27 pm

Hi Tobydude,

can you share your aurora block please, since php 8.2 mine isn't working anymore, or are you still on 7.2?

grtz

Alex
Image

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Sun Calk

Post by tobydude » Tue Nov 28, 2023 7:53 pm

I´v just copyed from my template server and zipped. Yes, Im still on php 7.4.
aurora 1.1
aurora.rar
aurora
(5.75 KiB) Downloaded 723 times

davidefa
Expert
Expert
Posts: 905
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Sun Calk

Post by davidefa » Tue Nov 28, 2023 10:57 pm

This is aurora block v1.2 compatible with php 8.2
Image

alexvanuxem
Forecaster
Forecaster
Posts: 225
Joined: Mon Jan 31, 2022 4:41 pm
Location: Sint-Katelijne-Waver, Belgium
Station model: Davis Vantage Pro 2
Software: Meteobridge
Contact:

Re: Sun Calk

Post by alexvanuxem » Wed Nov 29, 2023 5:38 pm

Hi david,

got this error with the aurora block:

Fatal error: Uncaught Error: Call to undefined function count8() in /var/www/sint-katelijne-waver-meteo.be/sint-katelijne-waver-meteo.be/wwwroot/template/homepage/blocks/aurora/auroraBlock.php:63 Stack trace: #0 {main} thrown in /var/www/sint-katelijne-waver-meteo.be/sint-katelijne-waver-meteo.be/wwwroot/template/homepage/blocks/aurora/auroraBlock.php on line 63

cheers
Image

davidefa
Expert
Expert
Posts: 905
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Sun Calk

Post by davidefa » Thu Nov 30, 2023 12:11 pm

you can try ver 1.2a ( had to remove 1 graph as Kp at 1 min interval is not available any more )
Attachments
aurora_1.2a.zip
(4.68 KiB) Downloaded 642 times
Image

alexvanuxem
Forecaster
Forecaster
Posts: 225
Joined: Mon Jan 31, 2022 4:41 pm
Location: Sint-Katelijne-Waver, Belgium
Station model: Davis Vantage Pro 2
Software: Meteobridge
Contact:

Re: Sun Calk

Post by alexvanuxem » Thu Nov 30, 2023 2:44 pm

cheers!!!
Image

Post Reply