Why so sluggish at times?

Hi @parkerc

I have updated a little more detail on the datamine thread - post there your problem and shall see what I can do to help as mine still working well so far.

Have a look at this link - http://wiki.micasaverde.com/index.php/Luup_Requests#update_plugin

I have reviewed this but am still confused - do I run from a scene with the request in the Lua section? doing that give an error in lua code message? obviously I am changing the ip address and also the id of the plugin.

could you provide an example if you use this?

thanks.

You should just be able to place the URL into your browser (making sure you update the vera_IP to that of your Vera unit and the Plugin_ID to that of the app/plugin you want to update (the ID is what MCV give it on the App Store)

http://vera_ip:3480/data_request?id=update_plugin&Plugin=Plugin_ID

Hi @Parckerc,

Fantastic - all worked a charm, great stuff thank you.

So I went to the mios app store and searched for the app and the id is in the address bar. added that and the vera ip and posted the url in a browser - I received a message “ok” and then saw the vera interface working away, shortly after I was able to check app and see the version number had updated, tremendous - thank you. :slight_smile:

Just an update on this.

I have now:

  • Updated all plugins to latest
  • Sorted sending Vera’s logs to USB stick
  • Have DataMine logging via CIFS
  • Installed InfoViewer as another means of debugging and for general use.
  • Tidied up my Lua code - mainly by transitioning over to PLEG.

I have seen improvements already! which is great news so thanks to all for the advice given. I believe the biggest change was seen when moving over to PLEG. Before using PLEG I had many timers and virtual switches. This was seen in the logs with many many lines showing the timers counting down. Using PLEG I was able to reduce a lot of these so this created, I think, less work for Vera and reduced the need for extra plugins that as such freed up RAM. Viewing the logs now via info viewer there is notably less going on and my system is clearly responding far far better. Few am I pleased!!

Next:

  • I seek to continue to refine my set up integrating better use of PLEG as I would say I am only 50% of the way through the transition. (yes it has taken me some time but worth it)
  • I will likely then try to better group my PLEG instances to reduce further the amount of Plugin instances to fully optimise as best I can the Vera system.
  • I still think I can optimise the Z-Wave network however and have begun some further initial reading here. I have stopped the manual heal each night by disabling the “use MIOS routing” check box and I like the fact that I can now use the report properly to see the health of each node. however I think what I would like to do is delete each nodes neighbours and ‘AutoRoute’ and possibly ‘manualroute’ fields if populated and then do another full heal - so as to almost start a fresh and have brand new identification of the network as a whole and hopefully as a result gain the best routes to each node. I wish to do this as looking at the ‘AutoRoute’ field of each node I see lots that have failed (e.g. 1-4x 7.5x…) so I assume each heal I do does not clear out routes that no longer work? More reading needed and likely best for me to start an new thread specifically for this?

So far all in all this have been a very worth while process if a little protracted.