Homebrew RELEASE QuickNTP - Sync time using Tesla

nedex

Member
OP
Newcomer
Joined
May 13, 2018
Messages
15
Trophies
0
XP
122
Country
Italy
QuickNTP
Sync the Switch's time using the provided NTP servers, within Tesla.

I developed this app mainly for practicing with C++, development containers and the libnx library.

Preview
78499263-e9fcc500-774f-11ea-9392-60bd19d21ad8.jpg

Links
Source: https://github.com/nedex/QuickNTP
Releases and download: https://github.com/nedex/QuickNTP/releases

Any suggestions and help would be appreciated!
 
Last edited by nedex,

nedex

Member
OP
Newcomer
Joined
May 13, 2018
Messages
15
Trophies
0
XP
122
Country
Italy
can I change the time manually in the overlay? if not this would be a request! otherwise nice work

I don't know if it would be better to create a separate "plugin" or to make a panel to manipulate the date.
What is your use case? And the operation you would do the most?

Thanks anyways!
 

nedex

Member
OP
Newcomer
Joined
May 13, 2018
Messages
15
Trophies
0
XP
122
Country
Italy
  • Like
Reactions: deusversus

deusversus

Member
Newcomer
Joined
Oct 8, 2018
Messages
8
Trophies
0
Age
39
XP
96
Country
United States
Ah, thank worked. I had sync time disabled, once I re-enabled it, the time synced just fine.

Thanks for the help, and the great app. :)
 

enderer

Well-Known Member
Member
Joined
Jul 19, 2015
Messages
381
Trophies
0
Age
34
XP
1,652
Country
United States
does this tool change the RTC?
what i'm looking for, from this app, is to change my RTC back to its stock offset then the Horizon date and time to the correct (so i can use the internet browser in Horizon)
the reasoning behind this is because when i boot into linux, my RTC is change to correct, and it's kind of a pain to reset it manually.
is this possible with this program?
 

nedex

Member
OP
Newcomer
Joined
May 13, 2018
Messages
15
Trophies
0
XP
122
Country
Italy
Ah, thank worked. I had sync time disabled, once I re-enabled it, the time synced just fine.

Thanks for the help, and the great app. :)

You're welcome, let me know if you have suggestions!

does this tool change the RTC?
what i'm looking for, from this app, is to change my RTC back to its stock offset then the Horizon date and time to the correct (so i can use the internet browser in Horizon)
the reasoning behind this is because when i boot into linux, my RTC is change to correct, and it's kind of a pain to reset it manually.
is this possible with this program?

I'm not sure about this, and I can't personally make tests since I don't have a working linux environment.

By the way, in the libnx library there are some references to the internal clock / offset, but it doesn't seem to have functions to modify it
https://github.com/switchbrew/libnx/blob/master/nx/include/switch/services/time.h

How do you "manually reset" the RTC?
 

enderer

Well-Known Member
Member
Joined
Jul 19, 2015
Messages
381
Trophies
0
Age
34
XP
1,652
Country
United States
(in horizon)
1. i turn off automatic time sync in date and time settings
2. i make a mental note of the offset from current time (usually around 19 years off)
(in linux)
3. i set the date minus the offset

this is the only way to get my RTC back to stock offset so my internet browser works in horizon

EDIT: when i say 'linux' i mean L4T-Ubuntu. linux running on the switch.
 
Last edited by enderer,

nedex

Member
OP
Newcomer
Joined
May 13, 2018
Messages
15
Trophies
0
XP
122
Country
Italy
(in horizon)
1. i turn off automatic time sync in date and time settings
2. i make a mental note of the offset from current time (usually around 19 years off)
(in linux)
3. i set the date minus the offset

this is the only way to get my RTC back to stock offset so my internet browser works in horizon

EDIT: when i say 'linux' i mean L4T-Ubuntu. linux running on the switch.

Sorry for the delay.
At the current status of libnx it seems it's not possible to sync time for linux with the RTC in mind.
Basically it would be simpler to update the linux kernel to make it work properly, which i'm not really expert in..

If you have some other ideas as workarounds, let me know!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: