Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-08-2021, 08:04 PM   #1
twowheels
Wizard
twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.
 
twowheels's Avatar
 
Posts: 1,827
Karma: 13416738
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro
Struggling with new auto-warmth plugin

Hoping that @zwim can jump in here....

So, I'm really struggling with the new plugin on my Clara HD. I read the github commentary and I agree with those who say that it's a bit too technical.

I've put in my location, based on GPS coordinates that when entered into Google Maps, take me to my city. I've also set the mode to "according to the sun's position". When doing so, I then go to the "Sun position Information for <town>" and I get some really wonky results, like Twilight is at 10:07 and Sunrise is at 10:35, and sunset is at 20:53 and Twilight is at 21:20.

That leads me to believe that either I've entered the wrong GPS coordinates (again, they take me to where I expect to be on Google Maps) or there's a problem with the calculation, or I've completely misunderstood the design. Is it possible that the times are always displayed in GMT? (does the Kobo store the time in GMT, or local time? Being Linux based, I'm assuming GMT, but they might have simplified things and only deal with local time)

Anyhow, any input would be appreciated!
twowheels is offline   Reply With Quote
Old 11-09-2021, 11:50 AM   #2
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,675
Karma: 730583
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Did you try the latest dev build? There was a problem with high latitudes apparently.
https://github.com/koreader/koreader/pull/8397
Frenzie is offline   Reply With Quote
Advert
Old 11-09-2021, 12:31 PM   #3
twowheels
Wizard
twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.
 
twowheels's Avatar
 
Posts: 1,827
Karma: 13416738
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro
I'm on nightly and updated just before posting, so I assume that I have that commit.
twowheels is offline   Reply With Quote
Old 11-09-2021, 03:03 PM   #4
zwim
Junior Member
zwim began at the beginning.
 
zwim's Avatar
 
Posts: 5
Karma: 10
Join Date: Nov 2021
Device: Sage
The GPS coordinates from google maps should be OK.

I would guess this is a timezone problem.
But for narrowing the problem I would need some more information:

1.) Can you enter in the KOReader "Terminal emulator" the command "date" and post the output here.
2.) In which timezone are you?
3.) What are the GPS coordinates (not the exact ones but similar ones +-100km around).
zwim is offline   Reply With Quote
Old 11-09-2021, 05:16 PM   #5
twowheels
Wizard
twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.
 
twowheels's Avatar
 
Posts: 1,827
Karma: 13416738
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro
Quote:
Originally Posted by zwim View Post
But for narrowing the problem I would need some more information:
The `date` command shows `Tue Nov 9 13:10:53 PST 2021` as expected, so my time zone and date/time are correct.

Sun position information shows Twilight 10:08, Sunrise 10:36, Sunset 20:52, and Twilight 21:19.

As for GPS info, removing the fractional portion gives me 38,-121 which is a bit less than 100km away.
twowheels is offline   Reply With Quote
Advert
Old 11-10-2021, 12:14 PM   #6
zwim
Junior Member
zwim began at the beginning.
 
zwim's Avatar
 
Posts: 5
Karma: 10
Join Date: Nov 2021
Device: Sage
@twowheels: Thank you for your feedback and help.

In German we have an expletive called "Sakrament", which seems to fit here.
The internal problem is an insane sanity check which limits longitudes form -90° to +90°.
I have fixed it and will do an KOReader update today (Central Europe Timezone )
zwim is offline   Reply With Quote
Old 11-10-2021, 01:45 PM   #7
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,675
Karma: 730583
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
See https://github.com/koreader/koreader/pull/8434

It'll be in tomorrow's nightly, or you could manually overwrite this file to get the fix asap.
Frenzie is offline   Reply With Quote
Old 11-11-2021, 01:41 AM   #8
twowheels
Wizard
twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.
 
twowheels's Avatar
 
Posts: 1,827
Karma: 13416738
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro
Awesome, thanks @frenzie! I'll give it a test tomorrow since it's not urgent for me and I have some of my own paid coding to do tonight.
twowheels is offline   Reply With Quote
Old 11-11-2021, 01:47 PM   #9
twowheels
Wizard
twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.twowheels ought to be getting tired of karma fortunes by now.
 
twowheels's Avatar
 
Posts: 1,827
Karma: 13416738
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro
Hey @frenzie, just an update to let you know that the change seems to have improved things.

I now get Twilight 6:14, Sunrise 6:42, Sunset, 16:55, and Twilight 17:23, which is much more reasonable for the current season.
twowheels is offline   Reply With Quote
Old 11-15-2021, 05:02 AM   #10
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,675
Karma: 730583
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Great!
Frenzie is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Manually adjusting the Brightness and Warmth KoboClaraHD609 KOReader 3 07-07-2021 03:19 PM
Best way to auto-download high-res images? Plugin? varaonaid Library Management 2 04-16-2021 09:42 PM
[GUI Plugin] Auto Datestamp and View eater Plugins 3 04-08-2020 07:08 PM
New Oasis coming with warmth setting. Tuneraider Amazon Kindle 26 06-28-2019 06:57 PM
Advice requested to complete a auto-convert-format import plugin anoved Plugins 4 12-02-2016 11:16 PM


All times are GMT -4. The time now is 12:44 PM.


MobileRead.com is a privately owned, operated and funded community.