Count of Nodes and Devices?

Is there a simple way to accurately get the number of nodes and devices? I recently open a trouble ticket with MCV about delays I am experiencing on my Vera 3/UI5. They said it is because I have 64 devices and 240 nodes and the Max they recommend for Vera 3 is 150 nodes. I simply don’t see or can count 240 nodes so I’d like to know how to do that.

This URL will give you a list of devices. Z-Wave devices, as compared to plugin devices, are indented.

vera_ip_address:3480/data_request?id=invoke

You could also use this script to dump them all to a text file.

I think there may be a misunderstanding somewhere. The maximum number of Z-Wave nodes in a network is 232. You can’t have 240 nodes.

[quote=“Z-Waver, post:2, topic:190977”]This URL will give you a list of devices. Z-Wave devices, as compared to plugin devices, are indented.

vera_ip_address:3480/data_request?id=invoke

You could also use this script to dump them all to a text file.

I think there may be a misunderstanding somewhere. The maximum number of Z-Wave nodes in a network is 232. You can’t have 240 nodes.[/quote]
@Z-Waver…No misunderstanding… this is what the “experts” at MCV actually emailed me:

"I have checked your unit and I have noticed that you have more than 240 nodes in your network.

Please know that we recommend to add up to 150 nodes on the Vera 3 controller. After you have exceeded this limit, the unit can act slow and you might encounter delays when you are trying to change the configuration of your unit or the settings of your devices.

For the moment, I have unchecked following options from Setup ? Z-Wave settings:
*By default Vera should automatically configure devices
*Use Vera routing instead of Z-Wave (requires 4.5)
*Limit neighbors to Z-Wave discovery (requires Vera routing

Please monitor the behaviour of the unit and let me know if the changes that I made improved the speed of your Vera 3 unit.

Thank you.
Regards,
Brian
MiOS
Customer Care"

I will use the suggestion you posted to get the Node count.

[quote=“Z-Waver, post:2, topic:190977”]This URL will give you a list of devices. Z-Wave devices, as compared to plugin devices, are indented.

vera_ip_address:3480/data_request?id=invoke

You could also use this script to dump them all to a text file.

I think there may be a misunderstanding somewhere. The maximum number of Z-Wave nodes in a network is 232. You can’t have 240 nodes.[/quote]
I counted 110 devices in my Z wave network. Is that a lot? My system is suffering very long delays in Saving whenever I change anything. A Save can sometimes take 7 to 10 minutes. Any suggestion on what to try next is appreciated. I’m still waiting on a response back from MCV.

110 Z-Wave devices should not be a problem for a Vera 3. But, if that number is a mix of Z-Wave devices and numerous plugin devices, then that is another story. Regardless, 7 to 10 minutes to save is no where near normal. If that 7 to 10 minutes includes configuring Z-Wave devices, especially many battery operated devices, it’s a possibility.

You asked how to count devices. I can’t diagnose a problem based on the device count. I’d need lots of other information. Critically important information like, did this problem come on slowly, as you added devices and plugins, or did it suddenly start happening without changes? If the former, then you’re probably facing some sort of load issue. If the latter, then something is probably broken and I’d start looking at recent plugins or changes to plugins.

[quote=“Z-Waver, post:5, topic:190977”]110 Z-Wave devices should not be a problem for a Vera 3. But, if that number is a mix of Z-Wave devices and numerous plugin devices, then that is another story. Regardless, 7 to 10 minutes to save is no where near normal. If that 7 to 10 minutes includes configuring Z-Wave devices, especially many battery operated devices, it’s a possibility.

You asked how to count devices. I can’t diagnose a problem based on the device count. I’d need lots of other information. Critically important information like, did this problem come on slowly, as you added devices and plugins, or did it suddenly start happening without changes? If the former, then you’re probably facing some sort of load issue. If the latter, then something is probably broken and I’d start looking at recent plugins or changes to plugins.[/quote]
Of the 110 nodes there are 64 actual Zwave devices and I guess the balance of nodes are plugin. My system has been working normal for a very long time. This problem wasn’t gradual in developing and it was first seen 2 weeks ago when I added a door/window sensor. I thought the new door sensor was the issue so I removed it but the problem has stayed with me. The reason I started with node count was because MCV suggested my system ( over 240 nodes) was the issue. And you alerted me to the notion of 240 was impossible. Should I try with loading an earlier backup?

If a door sensor started all this, then restoring from a backup prior to the inclusion of the door sensor seems like an excellent idea that is likely to work.

A door sensor should not have caused something like this. I don;t know how it could or how to resolve the issue. But a restore should work.

I’ve read through a bunch of posts and there is a suggestion that I might have a corrupted user_data.json.lzo file. With what I have described is this a possibility?

Sure it’s a possibility and it’s easy enough to test that theory. Although, problems with user_data.json.lzo usually present as an inability to save changes, changes are saved but forgotten. I’ve not seen cases where it caused a successful save but with a 10 minute delay.

Excuse my ignorance but how would I go about testing this theory? I am learning but far from an expert.

Perform a backup first.

Then, follow the other posts to restore a previous version of user_data.json.lzo SSH into Vera and

cd /etc/cmh cp user_data.json.lzo user_data.json.lzo.bak cp user_data.json.lzo.1 user_data.json.lzo

Or try restoring from a backup prior to the inclusion of the door sensor.

@Z-Waver…do you have any ideas where I could attempt to find my problem, the folks at MCV appear to be guessing. I don’t have a corrupt user_data.json file or too many Zwave nodes. This delay extends everywhere. Even when I tried to exclude a motion sensor it takes 5 minutes to get the “Sent Command” after I hit Go. MCV had me do a heal/repair and reconfigure all Zwave devices. All that did was nothing and none of the devices would reconfigure. All this but the unit appears to be working as a controller. I’ve been afraid to move to UI7 since everything is working so well on UI5. I have ordered the VeraPlus and moving my system there might fix this. My plan was to wait for a long time to let VeraPlus bugs get worked out before I migrated to there. Staying on UI5/Vera 3 is what I need to get fixed.

I’d start by getting some statistics using SSH and check:

Free memory

 free

Memory used by Vera

top

Look for /usr/bin/LuaUPnP process.

How big is the saved file

ls -lh /etc/cmh/user_data.json.lzo

The issue is that saves take over five minutes, correct?
Does this happen when using Firefox?
Did you try replacing the user_data.json.lzo? (I don’t think this is likely to help.)
Did you restore from a backup prior to the problem showing up?
What plugins are installed?
Did you EVER enable the Ergy plugin?
The Vera Lite has a reliable internet connection, no special filtering or firewalling?

Free memory
23400K

Memory used by Vera
PID PPID USER STAT VSZ %MEM %CPU COMMAND
7697 2199 root S 134m 108% 1% /usr/bin/LuaUPnP

How big is the saved user_data.json.lzo file
105 KB

The issue is that saves take over five minutes, correct?
Yes but the delay extends to starting Device include/exclude and heal/repair process.

Does this happen when using Firefox?
Yes but also using Chrome and IE.

Did you try replacing the user_data.json.lzo? (I don’t think this is likely to help.)
I did but all of the files (.1-.5) have essentially the same date and size but replacing didn’t help.

Did you restore from a backup prior to the problem showing up?
I restored from several backup dates and nothing improved.

What plugins are installed?
Nest, Simple Alarm, PLEG, Program Logic Core, Wunderground, Day or Night, System Monitor, Event Watcher, VeraAlerts, Tag Reader, Battery Monitor, Imperihome, Sonos Cpntroller, UpnP Event Proxy, Say the Weather, Harmony Hub Control, Blue Iris Camera

Did you EVER enable the Ergy plugin?
I did over over a year ago when I bought the Vera 3 but uninstalled it soon after.

The Vera Lite has a reliable internet connection, no special filtering or firewalling?
I have a Vera 3 and the internet connection is reliable, no special filtering or firewalling.

First, have you looked at your log file in the time span of the delayed save? Are there any errors that could indicate a problem? If so, do not follow the below steps.

If everything there looks fine then I’d proceed.

Your Vera process memory usage is high, but not by much. It may be a problem, but I don’t think so.

Ergy is often a problem. Double check that it was uninstalled properly. Uninstall again, if needed.

I’d be suspicious of other plugins possibly causing an issue as well. I’d take a backup and then start uninstalling plugins, to see if removing any of them resolve the problem.

I’d uninstall one plugin after another until things got better or I ran out of plugins. If things improved after two or three plugins and memory used by Vera had just dropped below 100% then I’d be unsure if it was that last plugin specifically, or if it was finally freeing enough memory.

To test the latter, I’d restore the backup and uninstall the “one” that I thought was the issue. If the problem comes back then it wasn’t that “one” but probably memory.

I’d remove my least favorite or important plugins first. But, looking at your list, a good delete order would probably be:
Battery Monitor
Say the Weather
Wunderground
Harmony Hub Control
Blue Iris Camera
Event Watcher