Page 1 of 1

Auto set of RTC using wifi

Posted: Sun Nov 01, 2015 5:43 pm
by 89delta
So I was just wondering if it were possible to have the RA check the time server periodically to check the time and set the head unit if it is off or for DST.

Sent from my Samsung Galaxy Note 3

Re: Auto set of RTC using wifi

Posted: Mon Nov 02, 2015 7:46 pm
by lnevo
I'm sure there's a way. I don't know if we have the ability to query ntp as of now. I think its doable with the ethernet class but I think you need an actual ethernet module.

Re: Auto set of RTC using wifi

Posted: Mon Nov 02, 2015 7:47 pm
by lnevo
Roberto maybe you could expose a script we could run to tel the ra if DST is active or not, I just don't know if we actually can get/read the result.

Re: Auto set of RTC using wifi

Posted: Mon Nov 02, 2015 8:04 pm
by rimai
If you want to contribute and update the libraries, it is definitely doable.

Re: Auto set of RTC using wifi

Posted: Mon Nov 02, 2015 8:19 pm
by 89delta
Would it be easier for either the android or iOS to check the current time and set it automatically that way than having to write another class for the wifi module?

Re: Auto set of RTC using wifi

Posted: Mon Nov 02, 2015 8:28 pm
by rimai
To change the time on RA is also just one button from the app. This would also only be required twice a year.
Not so sure the time required to add the functionality would justify.

Re: Auto set of RTC using wifi

Posted: Mon Nov 02, 2015 8:31 pm
by 89delta
Very true Roberto. I'm just forgetful of the time updates as almost everything I have does it automatically. Was just throwing out the idea. No biggie if we dont incorporate it.