[quote=“Don Diego, post:40, topic:180905”][quote=“clippermiami, post:38, topic:180905”]While a dual WAN router would be nice he can simply connect the two Veras on the SAME LAN. I don’t understand what two WANs have to do with anything? The Veras don’t have to be on different WANs, they don’t care.
I have a Vera 3 and a Vera Lite logically bridged on the same LAN one at IP XXX.XXX.XXX.115 the other at XXX.XXX.XXX.116. works fine
And, I also have second WAN to the house but strictly as a fallback, its a COMCAST 6MB WAN vs my “normal” uVerse 24MB WAN.[/quote]
Hi clippermiami
The dual wans hopefully will provide more reliability and allow me to access the vera z-wave network through either wan. Mediacom is my ISP and it’s down very often. I can’t reboot the router and modem remotely. The vera is located in vacation property where a visit takes 5 hours round trip.
Thanks for your help.
Don[/quote]
So they are NOT at the same physical location?
As to dual WANs so you have a router capable of dual routing on different WANS?
[quote=“clippermiami, post:41, topic:180905”][quote=“Don Diego, post:40, topic:180905”][quote=“clippermiami, post:38, topic:180905”]While a dual WAN router would be nice he can simply connect the two Veras on the SAME LAN. I don’t understand what two WANs have to do with anything? The Veras don’t have to be on different WANs, they don’t care.
I have a Vera 3 and a Vera Lite logically bridged on the same LAN one at IP XXX.XXX.XXX.115 the other at XXX.XXX.XXX.116. works fine
And, I also have second WAN to the house but strictly as a fallback, its a COMCAST 6MB WAN vs my “normal” uVerse 24MB WAN.[/quote]
Hi clippermiami
The dual wans hopefully will provide more reliability and allow me to access the vera z-wave network through either wan. Mediacom is my ISP and it’s down very often. I can’t reboot the router and modem remotely. The vera is located in vacation property where a visit takes 5 hours round trip.
Thanks for your help.
Don[/quote]
So they are NOT at the same physical location?
As to dual WANs so you have a router capable of dual routing on different WANS?[/quote]
Hi clippermiami
Both wans are at the same location. I have two routers… Thanks again…
he dual wans hopefully will provide more reliability and allow me to access the vera z-wave network through either wan. Mediacom is my ISP and it's down very often. I can't reboot the router and modem remotely. The vera is located in vacation property where a visit takes 5 hours round trip.
Dual WANS will not improve the reliability. When Vera Calls home on reboot, it will only be using one of the LANs. Any remote access will use that same LAN. If that's the one that goes down ... then Vera will have to be rebooted to find the other LAN.
he dual wans hopefully will provide more reliability and allow me to access the vera z-wave network through either wan. Mediacom is my ISP and it’s down very often. I can’t reboot the router and modem remotely. The vera is located in vacation property where a visit takes 5 hours round trip.
Dual WANS will not improve the reliability. When Vera Calls home on reboot, it will only be using one of the LANs. Any remote access will use that same LAN. If that’s the one that goes down … then Vera will have to be rebooted to find the other LAN.[/quote]
Hi Richard
Thanks for your help and to clarify.
If have a Vera 3 and a Vera 2…
Each one is on a separate WAN, modem and router.
One router/modem bricks… How does that impact the other Vera? In the past I have reloaded a backup file when one Vera died (not using PNP). That worked fine. Help me understand what’s different…
Yes, that is because each Vera has it’s own z-wave network. You can control them from one master unit if you bridge the devices from a “slave vera” to the “master”. They will always have 2 z-wave network ID’s, but can be controlled from one Vera.
Splitting the load on the Vera’s needs to be architect-ed so that you “push” commands to the slave vera. In my scenario, almost all logic runs on Master, and there are no delays when “pushing” commands to the slave Vera to turn things on and off. However, there are delays are 3-6 seconds though when logic needs to report back a device status (like switch on) the master if you used that device status as a trigger.
Main Master Vera - Motion Sensors (z-wave), PLEG super scenes, 15 Plugins + the 100 Z-Wave devices bridged from Slave Vera. Only 10% of Z-Wave devices run on the main unit. THey are limited to things that need instant updates…like motion turning lights on instantly.
This Vera 3 runs at 50% CPU with 62M of memory free (250+ devices with slave and plugins)
Z-Wave = 100 Z-Wave devices + Simple Alarm Plugin + PLEG for limited stuff I need done instantly rather than pushing back status to Main Vera. Like TTS the name of the window that was opened when alarm is armed.
This Vera Lite runs at 25% CPU with 31M of memory free
You could argue that I don’t need to put motion sensors on the main master unit, but i have a lot of hue lights that run via plugin, as well as IR blasters that I want the TV to switch on with the motion as well. If it was just a z-wave motion to z-wave light switch…my example may be overly complex.
As to the eventual configuration, I’ve noticed a disturbing thing, the CPU utilization is what I would view as excessive (photo attached). My environment has nowhere near the number of devices and activity you describe yet it runs a fairly constant 100% CPU with spikes above 150% (According to EventWatcher.)
That’s a bit disturbing. All my VeraLites run at about 18%. But this is clearly very dependent of which apps you have. There must be some culprit there. If only there was a profiling tool.
Last night I removed the ImperiHome app that I had installed last week and removed several appearances of an app (Ping Sensor). I have also deleted the connection between the master Vera 3 and Secondary Vera Lite — the connection was being tested so nothing important was going on.
I thought perhaps that might have some impact but the CPU usage is still very high, generally above 70% and often above 120% so those apparently were not the problem. Something is definitely “in there” but i’m hard pressed to figure it out.
I’m still trying to sort out the CPU load matter. I removed several applications that I had installed recently including ImperiHome and it made little if any difference.
Are you using the current App Store version of EventWatcher? (attached) I installed this last week when I found it in the app Store; prior to that I had been using the manually installed version? The earlier version usually showed things in the 20% range with only very occasional spikes to 100+.
I don’t think I’ve changed the CPU load factor code since it first went in:
[ul][li]I doubt the underlying system has changed, what firmware are you on?[/li]
[li]Do you, in fact, notice that there may be problems related to high CPU load? [/li]
[li]What other apps do you have remaining? (I see PLEG and Arduino. Not pointing a finger, but I don’t know anything about the Arduino, does it poll very often, or anything like that?)[/li][/ul]
I don’t think I’ve changed the CPU load factor code since it first went in:
[ul][li] I doubt the underlying system has changed, what firmware are you on?[/li]
[li]Do you, in fact, notice that there may be problems related to high CPU load? [/li]
[li] What other apps so you have remaining?[/li][/ul][/quote]
I removed the APP and manually removed all the eventwather.* files using winSCP. I reinstalled the APP and the “problem” remains
The EventWatcher APP Store version identifies itself as “1.20140123”. I have it set up to send to my SysLog and the Alternate Event Server is configured for my SysLog
Its a Vera 3 running 1.5.622
I can’t say that I do see “problems” per se, there have been one or two incidents where motion sensors have not triggered lights but that also happened occasionally long before I discovered EventWatcher Maybe I’m chasing a chimera but when I first installed it on a Vera Lite it showed generally less than 20% with occasional spikes to 100+. Now it seems to never get below 80-90% with occasional tops to 200+
Apps Remaining:
Push Notification
Countdown Timer
PLEG
Day/Night
VeraAlerts
Virtual On/Off Switches
MiOS Update
Variable Container
DSC Aarm Panel
Twilio API
Google Calendar Switch
Ping Sensor
AutoVera
ImperiHome ***
MultiSwitch ***
iPhone Detector ***
EventWatcher
MySensors Plugin (Arduino Sensors) ***
*** Installed in the past month or so. I removed ImperiHome with no improvement
Have you looked in the log files to see what is happening during some of those pronounced peaks ?
How many remote apps/browser windows do you have talking to Vera at one time ? They also contribute to the load.
Can you turn off your Arduino gateway for a period of time ? You may have the communications rate in some of the sensors excessively high.
On my system high resources utilization was related to a lot of error handling that seemed greatly exacerbated by a lot of unnecessary polling. It’s easy to focus on apps, as we have complete control over installing these programs. But I expect how the network is run (including the master/slave design) usually is much more important than some particular app. Perhaps it’s as simple as long term high resource usage creates conditions that don’t give enough time to some maintenance processes.
From my experience so far I would always look at polling and routes first and see how vera runs on a quieter, healthier network. The goal may be to not have a constant network constrained polling. That is the condition where vera always has poll requests queued and waiting on the last poll request to finish.
After much fiddling and gnashing of teeth I managed to get the CPU utilization down to something closer to what I’m used to. I removed some APPS and the Vera-Vera Bridging, moved the Arduino MySensor network to the secondary Vera (VeraLite [right now that is the only thing on the Secondary and its just a test mode, Gateway and one Sensor])
I then reinstalled some of the APPS and reinstated Bridging and much to my surprise CPU utilization was “reasonable”.
Images Attached are Pre- and Post-Bridging with the Arduino Network on the Secodary. Still removed from the Primary is the iPhone Locator Plugin and a few other things such as Multi-switch.
My plan is to reintroduce those that I think I really need, monitoring CPU before/after, and then to configure them fo ruse. If the CPU usage goes out of sight again I’ll have a handle on which one, if any, is the culprit.
Is there any way to test that two bridged Veras are actually talking to each other? I just checked and found that the secondary had not updated the primary for over 6 hours. The secondary answers an IP Ping so that apparently isn’t definitive. Is there any kind of “keepalive” function that should be operating? Any way to test for contact?