A Forum run by Enthusiasts of MidNite Solar

Charge Controllers and Clippers => The "Classic" charge controller => Topic started by: mike90045 on November 20, 2016, 12:11:55 PM

Title: time sync / clock sync
Post by: mike90045 on November 20, 2016, 12:11:55 PM
ever since DST ended, I've got the yellow background in the Local App and can't keep it away.

Could not find any other topics relating to time/clock sync, and never had issues with it before

So, I go to the LA, Settings and at the bottom, enter the correct time, hit the update button
and after that, the Write Settings to Classic arrow,   turns green for a minute or two, and then
goes back the the old time and background turns yellow again.

Am I having a brain fart and forgetting something really basic here ?


2054 MNGP   [ from Classic display menu ]
2096 Classic   [ from Classic display menu & Local App ]
2097 Network  [ from Local App ]
Title: Re: time sync / clock sync
Post by: TomW on November 20, 2016, 12:17:09 PM
Mike;

Been awhile since I had an active Classic but I seem to recall a tiny check box that needed to be clicked to actually save changes from the Local App?

Not exactly sure now since its been a couple years but  it is a simple thing that causes that.
Title: Re: time sync / clock sync
Post by: mike90045 on November 20, 2016, 12:57:27 PM
This is the only time setting options I could find in the LA

I hit the [SYNC] button, and after that, the Update arrow.   Could not find any clock or time tick boxes anywhere else in the Settings Menus

Didn't find Time Sync Off in any menus

Title: Re: time sync / clock sync
Post by: Resthome on November 20, 2016, 01:07:14 PM
Another way to get rid of that yellow Alert is to go to your Classic and Set the correct Standard time if you have the MNGP. You are getting the alert because the Classic's time is off an hour from the PC clock you are running the LA on.

IIRC the Time Sync is also a setting on the Classic. I believe it has to do with syncing the MNGP clock to the Classic clock. They are two separate clocks.   
Title: Re: time sync / clock sync
Post by: Westbranch on November 20, 2016, 01:37:16 PM
Agree with John, I eventually addressed the Classic face to face to change the time... then everybody was happy again... :D
Title: Re: time sync / clock sync
Post by: estragon on November 20, 2016, 02:54:07 PM
Just to clarify - the "time sync" setting is done on the classic mngp panel, not in local app.
Title: Re: time sync / clock sync
Post by: mike90045 on November 20, 2016, 06:38:10 PM
Quote from: estragon on November 20, 2016, 02:54:07 PM
Just to clarify - the "time sync" setting is done on the classic mngp panel, not in local app.   

Q1)  Is there a menu tree map to get to that ?

Q2)  Once I find the Time Sync Off button on the front panel,  will the LA update BOTH RTC's, or how do I get BOTH synchronized?

Q3) Is this something that an update to the next version of the LA can address ?
Title: Re: time sync / clock sync
Post by: ClassicCrazy on November 20, 2016, 09:10:51 PM
On the MNGP the time sync On / Off is in Tweaks menu you have to go to More 4 to find it.

I never did really understand how the Time Sync is supposed to work - mine is set to ON but I also had the Yellow out of time sync on Local Status app after daylight savings time.  I fixed it like others have said by using MNGP to set the time and the Yellow Local Status app screen went away then.

Larry
Title: Re: time sync / clock sync
Post by: toothy on November 20, 2016, 11:56:46 PM
I have one that was called porch denoting where the panels are mounted, after many, many discussions I renamed her, "yes dear" and of course I love yellow!

W
Title: Re: time sync / clock sync
Post by: Resthome on November 21, 2016, 05:03:42 PM
Quote from: mike90045 on November 20, 2016, 06:38:10 PM
Quote from: estragon on November 20, 2016, 02:54:07 PM
Just to clarify - the "time sync" setting is done on the classic mngp panel, not in local app.   

Q1)  Is there a menu tree map to get to that ?

Q2)  Once I find the Time Sync Off button on the front panel,  will the LA update BOTH RTC's, or how do I get BOTH synchronized?

Q3) Is this something that an update to the next version of the LA can address ?

See page 4 of attached. It is old and may not be up to date in some places. I believe this is turned off only for the LA time setting function. That all had to do with setting the time on Lites because there was no MNGP RTC. And when Lites lost power they also lost the time settings.

If you leave Time Sync ON and set the MNGP Clock ( pg 3) then the MNGP RTC will sync with the Classic clock. Only the MNGP RTC has a battery backup to keep time when Classic is powered off

Doubt we will see any updates to the LA.
Title: Re: time sync / clock sync
Post by: mike90045 on November 21, 2016, 11:32:01 PM
Quote from: Resthome on November 21, 2016, 05:03:42 PM
...... you leave Time Sync ON and set the MNGP Clock ( pg 3) then the MNGP RTC will sync with the Classic clock. Only the MNGP RTC has a battery backup to keep time when Classic is powered off.........

Am I reading this right, the MNGP has battery backup, and syncs to the Classic, which has no battery ?

Anyway, I did get to the controller today, and set the time manually, and dug thru the menus and turned TMSYNC OFF.
no more yellow screen, and no idea why I'd not had issues with it before, unless a FW update had a new default that a REGISTER import did not overwrite.

QuoteClassic owner’s manual RevG 2056       http://www.midnitesolar.com/pdfs/Classic_manual_REV_2056.pdf 
pg 37:
Setting the Date and Time
To set the date and time manually on the Classic follow the steps below.
 Push the Main Menu button repeatedly until Charge is highlighted.
 Scroll left or right to highlight "MISC" and push the Enter button
 Scroll to "Time" and push Enter
Now scroll left or right to highlight the data you want to manually change. Use the up and down buttons to change the data. When you have all the data changed push the Enter button to save the changes.
The Classic includes a battery (CR1216) in the MNGP portion to keep the time running even when the power is disconnected. To replace the battery refer to the Installation Manual

Note: If you plan to use the Local App to set the time and not the Classics Display "Time Sync" in the "Tweaks" menu must be disabled to prevent the MNGP (display) from over writing what the Local App does.
pg 85 Menu Map
pg 88 Tweaks menu ( about 4 levels down as TMSYNC on/off ) 
Title: Re: time sync / clock sync
Post by: Resthome on November 22, 2016, 12:27:02 AM
You read it correct. But I believe you need to have Time Sync on so the MNGP RTC
with backup battery will keep the Classic time correct when the Classic is turned off.

There is special MNGP button press to display the Classic clock.  I have to
See if I can find it as I don't have access to my Classic currently.

Edited:  Here it is :

When you go to the TIME/DATE setting menu, you can also look at the time and date that is in the Classic itself by holding down the LEFT-ARROW key and tapping the SOFT-RIGHT key.  It will show you Classic Time and date as well as the seconds counting up.

Also a llot more on the reasons it's like this from boB in this thread.

http://kb1uas.com/mnsforum/index.php?topic=2107.0  (http://kb1uas.com/mnsforum/index.php?topic=2107.0)
Title: Re: time sync / clock sync
Post by: boB on November 24, 2016, 02:10:04 AM
John has it right.

When you turn Time Synch to OFF, the MNGP stops sending the time and date to the Classic every minute and then
the Classic can take its time and date from the Local App.

Also, the MNGP's time and date will not be updated when the Classic is updated so it will have to be somewhat correct.
If the MNGP year is less than when the MNGP software was made, the MNGP will show  "SET TIME"  or something
like that.

The Classic does not have a clock calendar battery so this is why the MNGP sends time/date to the Classic every once in a while.

boB
Title: Re: time sync / clock sync
Post by: australsolarier on April 06, 2019, 05:27:37 PM
this time sync thing is a real hassle. i think taking out the battery out of the mngp might solve that problem
Title: Re: time sync / clock sync
Post by: mike90045 on April 06, 2019, 10:23:06 PM
Quote from: australsolarier on April 06, 2019, 05:27:37 PM
this time sync thing is a real hassle. i think taking out the battery out of the mngp might solve that problem

What holds your device configuration settings if there is no battery ?
Title: Re: time sync / clock sync
Post by: australsolarier on April 06, 2019, 11:19:57 PM
ohhh,
well, when i first installed one of the midnite classics, i forgot to take out the plastic insulation thingy underneath the battery. it worked alright.
the midnite classic works without a mngp so the memory is inside the midnite proper.
i wonder if the battery is only used for the clock?
that "sync off/on" seems to have a bit  a life of its own. switching.
every time daylight saving switches, some of the midnites are on sync on.
but worked happily the 6 months before. (without setting the time in the mngp.
i suppose i have to try it out when i have time to experiment.
Title: Re: time sync / clock sync
Post by: boB on April 07, 2019, 01:09:43 AM
Quote from: australsolarier on April 06, 2019, 11:19:57 PM

the midnite classic works without a mngp so the memory is inside the midnite proper.
i wonder if the battery is only used for the clock?
that "sync off/on" seems to have a bit  a life of its own. switching.
every time daylight saving switches, some of the midnites are on sync on.


Yes, all of the memory is inside the Classic itself so once programmed, the Classic will remember without any display or computer. 

Everything except the time and date if the Classic's power should be cycled off/on or if the Classic should reset.

When you turn the sync on or off in the MNGP, you have to press ENTER so that the MNGP itself remembers to NOT send the time and date to the Classic if it should get reset or re-powered.  Otherwise, the MNGP will start sending time to the Classic next time it resets.

But that little battery inside the MNGP is kind of a pain because it doesn't last for a long time. 

BUT while the MNGP is externally powered, the coin cell battery should not be drawing power at that time. 

I've never been real happy with how well that little battery works.  These microcontrollers aren't as good as watches for using very low power evidently.



Title: Re: time sync / clock sync
Post by: australsolarier on April 19, 2019, 06:58:23 PM
bob,
i have 5 classics. half of them do not let me save "sync off". i press enter, nothing happens. pressing "main menu" lets me save, but another screen comes up and does not save sync off after rebooting.
Title: Re: time sync / clock sync
Post by: boB on April 20, 2019, 07:53:36 PM
Quote from: australsolarier on April 19, 2019, 06:58:23 PM
bob,
i have 5 classics. half of them do not let me save "sync off". i press enter, nothing happens. pressing "main menu" lets me save, but another screen comes up and does not save sync off after rebooting.

Sorry you are having trouble with that part...

The MNGP does not send sync off to the Classic.  It gets saved in the MNGP itself.

Pressing enter will not turn time sync on or off.  You first have to press UP or DOWN while highlighting the sync on/off and watch it change to off.  THEN press ENTER to save it to the MNGP. 

The MNGP will not tell you that it is saved though.  If you want to test to make sure it is saved or not you will have to reboot the classic or unplug and plug back in the MNGP to make sure it remembers.

Try that with the MNGP that did not remember the sync off.  If that doesn't work, then there is something wrong with the MNGP remote.



Title: Re: time sync / clock sync
Post by: FNG on April 22, 2019, 08:25:43 AM
As stated already, Tyme Sync is sort of a pain in the butt, Unfortunately. Both the Classic and the MNGP have separate clocks and the issue is it is one way only, IE the MNGP can update the classic but not the other way around. What we should have done is made it so IF the time was synced from the local app the MNGP had a flag set that told it NOT to write time to the Classic but to read it from the classic. That would have fixed this issue.

I know we are spending any time on the Local App or really the Classic now as we are pushing to get the new products done but I will add this note and if we get back in the Classic code maybe we can look at this
Title: Re: time sync / clock sync
Post by: australsolarier on May 17, 2019, 11:17:11 PM
bob,
well yes, i pressed the up or down button to change the words to "off" . then pressing enter, it does not say "saveing to memory" on some of the midnites. some do it. and yes, the ones that don't save it, well yes, when you boot up the midnite the setting "off"  is lost again.it's not a big thing, just  a minor irritant.

one of the midnites, when you rapidly press "status button" like when after you want to see how many amps the whiz bang jr shows, the warning sound comes.
all in all you do not get bored around 5 midnite classics. the 5 midnite classics also have not harmed the batteries, yet. i suppose that is the most important thing.
Title: Re: time sync / clock sync
Post by: australsolarier on May 17, 2019, 11:26:45 PM
fng,
thanks for the good intention.
daylight saving time has not just been introduced 2 or so years ago. if i remember correctly it was in the united states in 1977.
Title: Re: time sync / clock sync
Post by: boB on May 18, 2019, 05:59:40 PM
Quote from: australsolarier on May 17, 2019, 11:17:11 PM
bob,
well yes, i pressed the up or down button to change the words to "off" . then pressing enter, it does not say "saveing to memory" on some of the midnites. some do it. and yes, the ones that don't save it, well yes, when you boot up the midnite the setting "off"  is lost again.it's not a big thing, just  a minor irritant.

one of the midnites, when you rapidly press "status button" like when after you want to see how many amps the whiz bang jr shows, the warning sound comes.
all in all you do not get bored around 5 midnite classics. the 5 midnite classics also have not harmed the batteries, yet. i suppose that is the most important thing.

Yeah, for items inside the MNGP itself, the message that says "updating the Classic" or whatever will not show up.

But, if you press UP or Down arrow to change from ON to OFF and then press ENTER, it will save that info to the MNGP.
At least it normally does.  Press ENTER a couple of times just in case then.  You can then re-boot the Classic or the MNGP
right then to see how it comes back up instead of waiting.

If that setting doesn't get saved to the MNGP, then there may be something wrong with that MNGP.

boB
Title: Re: time sync / clock sync
Post by: australsolarier on May 18, 2019, 06:15:14 PM
bob, will try it after the sun settles.
Title: Re: time sync / clock sync
Post by: australsolarier on May 30, 2019, 06:44:41 PM
so ok,  i was pressing those buttons on the display panels.( multiple pressings, like 10x)that "save to memory" message did not come up, unless i went back one step. i found some of the up and down buttons somewhat reluctant to follow the pressing. but not a problem.
sadly to say, whilst rebooting one midnit classic, the display panel now is now difficult to see with rows of dots across everything. this is the second display panel having that feature. i can still see everything, but with difficulties and you have to look from an oblique angle to see the numbers.

yes, and before anybody giving advice, i plugged the first display panel with the dotted screen into another midnite classic and used a different cable with the same result.
Title: Re: time sync / clock sync
Post by: ClassicCrazy on May 30, 2019, 09:52:36 PM
Is there a contrast setting on the MNGP that maybe you changed by mistake ?
I just looked at mine and under Misc menu there is MNGP that you can adjust the contrast and some other things too.

Larry
Title: Re: time sync / clock sync
Post by: australsolarier on May 30, 2019, 10:21:52 PM
ClassicCrazy

thanks for that tip. YES, i went to the power room. the contrast was set to something like 240 when 20  is needed. i really thought the mngp  was broken.

remains the  problem why the settings are changing after rebooting. good knows what else is getting inadvertently changed. i keep this in mind when rebooting next time.

again thanks very much for your advice. i appreciate it
urs
Title: Re: time sync / clock sync
Post by: australsolarier on March 14, 2020, 05:36:21 PM
i just hard rebooted another midnite classic 150 and that contrast setting changed itself again so that it the panel is almost unreadable.
there are definitively  geenies in my power room
Title: Re: time sync / clock sync
Post by: boB on March 15, 2020, 12:14:05 AM

Uh OH !

Did it get cold down there all of a sudden maybe ?
Title: Re: time sync / clock sync
Post by: australsolarier on March 15, 2020, 12:46:30 AM
well, it did get "cold" if you consider cold 12.5C. but the power room is fully insulated and air conditioned. so the temperature is always so between 19 and 25C.
for some reason the hard reboot changed the contrast setting. it was down to 20 and setting it to 600 put it right again. so i don't think this has anything to do with temperature.
Title: Re: time sync / clock sync
Post by: boB on March 15, 2020, 01:01:46 AM

OH, OK.  So the contrast setting for some reason did not get saved in the flash correctly.

Try going into the MNGP menu to change the contrast and hit save and see if it comes back correctly when you reboot.