Opened 11 years ago

Closed 10 years ago

#502 closed enhancement/feature request (fixed)

Automatic swith of day/night profiles

Reported by: akashihi Owned by: number6
Priority: minor Milestone: want patch / contribution
Component: gui/internal Version: git master
Severity: Keywords: profile layout day night osd
Cc: nick@…

Description

This path introduces two new attributes of layout: 'dayprofile' and 'nightprofile' (both of them could be omited from layout definition, so there will be no switchting for such layouts)

So for every layout with this attributes navit will automatically switch to 'nightprofile' during evening and to 'dayprofile' during morning.

Attachments (2)

daynight.diff (24.9 KB) - added by akashihi 11 years ago.
daynight2.diff (26.3 KB) - added by akashihi 11 years ago.

Download all attachments as: .zip

Change History (8)

Changed 11 years ago by akashihi

Changed 11 years ago by akashihi

comment:1 Changed 10 years ago by www.google.com/accounts/o8/id?id=aitoawkf0frlp4x3vjbz-vqlc-bpyhbdworle10

  • Resolution set to fixed
  • Status changed from new to closed

Applied in r2746

comment:2 Changed 10 years ago by www.google.com/accounts/o8/id?id=aitoawkf0frlp4x3vjbz-vqlc-bpyhbdworle10

comment:3 Changed 10 years ago by www.google.com/accounts/o8/id?id=aitoawl9szdkrsp_jqb3y7igh3kj4ppwwyog9ri

Can the time when the profiles are being switched be configured in some way?

Even better would be to adjust the switch time by location and date/time...

comment:4 Changed 10 years ago by www.google.com/accounts/o8/id?id=aitoawm1fq4ks3po6ai2bu66wp3tsinuuvhhzak

  • Resolution fixed deleted
  • Status changed from closed to reopened

In the southern hemisphere (australia), the nightlayout and daylayout times are reversed. A workaround is to switch the 'daylayout' and 'nightlayout' tags in navit.xml

comment:5 Changed 10 years ago by number6

  • Cc nick@… added
  • Component changed from core to gui/internal
  • Keywords profile layout day night osd added
  • Owner changed from KaZeR to number6
  • Status changed from reopened to new

The day/night profile auto-switches at a reasonable time now - as per Revision 3541

I've added an entry to the wiki about the southern hemisphere users.

comment:6 Changed 10 years ago by number6

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.