Homebrew RELEASE QuickNTP - Sync time using Tesla

  • Thread starter Thread starter nedex
  • Start date Start date
  • Views Views 16,308
  • Replies Replies 10
  • Likes Likes 8

nedex

Member
Newcomer
Joined
May 13, 2018
Messages
15
Reaction score
10
Trophies
0
XP
142
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,
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!
 
This doesn’t work for me on Atmosphere 0.12. It says the time was synced but my time doesn’t change.
 
  • Like
Reactions: deusversus
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. :)
 
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?
 
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?
 
(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,
(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