I realize this might not bother everyone else but it’s one of those things that drives me nuts. I decided to break out the Ethernet sniffer and see why the Weather plugin is delivering bad & no information. In doing so I discovered that the Vera is asking for an NTP update every 60 seonds. While the Vera folks are not the blame (it was the OpenWRT folks) the developers should have been wise enough to notice. >:(
To correct this from the command line, login to the very and edit /etc/config/ntpclient. Change the last line from 60 to 600 (the deault for ntpclient). Then restart ntpclient or reboot.
Looked and did not find this file either. What I found was an init.d file to start and stop the service but the service’s program is not installed on my Vera2 (UI4 v1.1.1047). Plug in seems to work okay, but I must admit I have not paid attention to the frequency of updates.
I can confirm that my vera2 does not have this. It looks like this is a vera1 related issue. The ntpclient on my unit does not even exist. The only config file I have it /etc/config/timeserver.
Basically something that was driving me nuts. I don’t like unnecessary traffic eating away at bandwidth (even if it’s just a few bytes). It’s just the embedded engineer in me.
For those of you without the /etc/config/ntpclient, check to see if you have an ntpclient running (ps) and you should see something like this:
That -i 60 means that the interval is set to 60 seconds. If you have no -i then it’s set to the default of 600 seconds. If you want to extend the interval time you can edit the /etc/init.d/ntpclient and change the -i value of find where it’s getting the value from, such as with config_get (maybe a config_set?). OpenWRT has a few ways to set the values such as nvram -set name=value (do nvram show to show all the variables).
[quote=“garrettwp, post:6, topic:167400”]I can confirm that my vera2 does not have this. It looks like this is a vera1 related issue. The ntpclient on my unit does not even exist. The only config file I have it /etc/config/timeserver.
Garrett[/quote]
I can find no information on timeserver. You can take a look in the file (it’s text) but I’d avoid making changes until you know what parameter does what. You may not even need to make any changes.
config ntpclient
option interval 60 #option count 10
[/code][/quote]
Yes that’s the file, just change the 60 to 600. I’ve also added my own ntpserver to the top of that list. I have enough devices in my home that using a local ntpserver cuts down on a lot of internet bandwidth usage.
Vera2 runs OpenWRT Backfire which use rdate instead of ntpclient.
Vera1 runs OpenWRT Kamikaze which use ntpclient.
I’ve committed the change, from now on it should be 600 sec the retry interval.
[quote=“cj, post:10, topic:167400”]Vera2 runs OpenWRT Backfire which use rdate instead of ntpclient.
Vera1 runs OpenWRT Kamikaze which use ntpclient.
I’ve committed the change, from now on it should be 600 sec the retry interval.[/quote]
CJ, thanks!
Best Home Automation shopping experience. Shop at Ezlo!