It depends on the drift. I think the vera gets an ntp updates every few minutes already. I have been reading up on ntp and the drifts different machines have and how the different ntp services handle it. If you read some of my older posts, I found that the vera uses two recurring ntp services for long term updates and a third one at boot up which I cleaned up with my mod scripts. I am being a bit anal at the moment and am running testing on my simulator for which the system time is being handled by ubuntu 18.04.2 with a very fancy ntpd service. The more recent ntpd uses a complex algorithm to adjust drift instead of straight updating the time. It makes minor corrections every time it runs and I just set mine up to run once a minute so that the correction never hits 1s. I had chosen on my veramods to keep ntpclient instead of ntpd and I may change this based on what I just learned.
I am trying to validate on my simulator first before deciding if I want to port it to the vera.
Oh yes itās adjusttime vs settime (from ollllld memory). But if itās getting an update every few minutes thereās no way in hell it should get out by a second. Ever.
Thatās the theory yesā¦ but in practiceā¦ I donāt know. The vera is special that way and this is just a hunch I want to make sure I eliminate this possibility.
There are so many traps that reload the Luup engine that itās very tricky to get them all. I managed to have from 2 days to 15 without reloads with no apparent differences. Memory seems to be better, so there are scripts somewhere reloading the engine under specific circumstances.
Indeed and I have scrubbed all the shell script in the firmware already to eliminate all of them (part of the veramods). The only ones left are within the luup engine itself and I am after this alarm thingy causing a time jump at the moment. I too have observed great variation with my record nearing 20 days. Hopefully 7.0.30 will fix more of these.
Waking an old thread as Iām struggling with log uploads again.
I canāt for the life of me work out how I fixed it from this thread, but symptoms are that /etc/cmh/servers.conf has its log server entry owverwritten
/etc/hosts has a hard coded ip for that to my LAN FTP server:
192.168.70.250 oem-log3.mios.com
Let me get this straightā¦ are you trying to get the vera to upload these logs to another server?
Or are you trying to use the built in backup function to download your logs from a local server? Or are you uploading your log files to the mios servers? From your description, it sounds like the latter. I am not using the mios server and have disconnected from it a while ago (it was the point of this thread) but I am confused by your LAN ftp servers having a mios server address.
Sorry chap.
Trying to make Vera upload my logs to my personal FTP on site. This was the state before I upgraded to 7.30
The reason the Mios servers resolve to a local IP is that one of the fixes discussed was to edit /etc/hosts
Needed because somehow the host name (but not the user / pass) in servers.conf keeps getting overwrittenā¦
Cheers
Fixed it I think. Nothing to do with DNS, but rather the limitations of the FTP server and its root folder. The issue is in /usr/bin/Rotate_Logs.sh:
Ahhā¦ I see now. Thanks for clarifying. I am not sure this thread ever addressed FTP though so this is what got me confused. Good that you got it figured out.
@rafale77 I just upgraded to Firmware v.7.0.31 and followed your instructions to set up extroot again. Iāve been using Home Assistant in Docker on a Synology for a year to control zwave devices via the vera plus, and now iām wondering how best to take the vera off the grid after the upgrade. Do these mods still work, or is there a better way? I see you have Nuke-Vera now, and Iām wondering if that might be the right path to turn the vera plus into a simple bridge for HA to use. Thanks so much for your efforts, and if you can point to me to any instructions, Iād be very grateful. All the best! Many thanks to you!
Sadly, @rafele77 got kicked off the Forum thus can no longer reply. He was our #1 contributor, so I hope someone equally knowledgeable and helpful can step up to fill his shoes!
Dang @LibraSun thatās unfortunate. During āstay at homeā orders, I decided to revisit my Vera/ HA configs for upgrades, and I may have ultimately āfixed something that wasnāt really brokenā. I spent a couple of hours reading this forum, trying to catch up with all the changes in the last year, and itās a lot to read (for sure). If anyone here can point me to instructions for running the Vera Plus off-grid, Iāll be eternally grateful. All the best.