I’m pretty new to this whole thing. Recently paid for and installed PLEG and Program Logic apps. At first everything was working great. I started to mess around with Sonos text to speech control and it went downhill quickly. I uninstalled both PLEG apps, rebooted my veralite, and reinstalled both apps (followed by another reboot). For the life of me I can’t get any commands to work. To test, I’m just having it turn on and off a light when a door is open. The scene runs fine when programmed through Vera, but I can no longer get this basic function to work with PLEG. Is there some sort of “hard reset” I’m missing? It seems so powerful at first and now it won’t even turn my lights on and off… Thanks in advance for any help you can provide.
Here’s a picture of the action I’m trying to run off the door opening. Before, when I clicked ‘do it now’ it would perform the option no problem (turn on the light). Now nothing at all happens… I feel like I’m missing something simple but for the life of me I can’t figure it out.
Yes that started showing up as undefined the same time the “run this now” button stopped working. No amount of resets, lock or vera lite, seem to solve it. I’m on my 4th uninstall reinstall cycle. The oddest part is, like one in ten times when I unlock the door the light will turn on. The lock also is operating great with normal vera scenes outside of PLEG. Speech to text is actually working really well in those scenes also.
Is there a better way to do a clean install aside from uninstalling both apps and unplugging the vera lite to cycle power? Maybe I’m missing a step? Just weird that it was working great at first…
If you change the config you need to reload LUA and Refresh the Browser (I refer to this as the Vera Two Step)
This has always been an issue with Vera.
UI5 used to have a Reload button on the top of the Dashboard that turned Red when the a reload was needed. UI7 does NOT.
There is a reload button on the bottom of the ADVANCED TAB for every devices.
There is a BUG in UI7 (MCV Code) that causes some things to take up to 1 minute to respond. So be patient when you make changes.
Thank you! That explains why sometimes it would have “ghosts”, and run things that were done previously (I wasn’t waiting a minute). Can you explain what you mean by reload Lua if I change the config? I found the reload button, do I press that every time I make a new action, condition, etc.? I think that’s what I’m confused about.
[quote=“RichardTSchaefer, post:8, topic:185311”]If you change the config you need to reload LUA and Refresh the Browser (I refer to this as the Vera Two Step)
This has always been an issue with Vera.
UI5 used to have a Reload button on the top of the Dashboard that turned Red when the a reload was needed. UI7 does NOT.
There is a reload button on the bottom of the ADVANCED TAB for every devices.
There is a BUG in UI7 (MCV Code) that causes some things to take up to 1 minute to respond. So be patient when you make changes.[/quote]
I really wish UI7 would add that reload button back
and also a static informational bar on top that you can scroll back on like with UI5
[quote=“RichardTSchaefer, post:10, topic:185311”]Reload LUA is restarts the Vera stoftware running in the Vera Box.
You do not need to power cycle your Vera.
This also takes about 1 minute.
Make all of your changes … when you are done … then Reload LUA.
Many nontrivial plugins require Vera to restart to see/act upon the changes in the configuration of the plugin.[/quote]
OK, so I’ve started to reload the LUA using that button after each change. That has made it better. I’ve also simplified my code to:
trigger: light turned on
condition: trigger light turned on is true
action: wait 20 seconds and turn off light
I also set up a notification separately in PLEG to notify me if the condition ever becomes true, for troubleshooting purposes. The odd part is that now it takes anywhere between 10 and 50 (roughly) seconds for the notification to be sent, and the timer seems to start then to turn off the light. Almost like there’s a huge delay in PLEG from even recognizing my condition. Is there a better way to test this? Here’s my code pics:
edit: so I just tested the light switch again and it now turned off after only 9 seconds? It seems that the notification waits until the action is performed as well, which is odd…
edit 2: OK I think I’m on the right track now… seems that the delay was just in my switch reporting it’s changed value. Wish that was as quick as my yale lock. You’d think being plugged into power all the time would make it faster but apparently not… Also noticed a bug where when I initially went to add an action, there was no “immediate” option. I added the first interval of 00:00:20, and although it labeled it correctly as a delay of 20 it was actually running the code as though it was in the “immediate” section. I deleted the whole action and started over, seems to be working ok so far. The whole interface on UI7 seems to be finicky though, should I be using internet explorer instead of Chrome? Does this matter?
Nothing in Vera is fast and that’s related to a bunch of different things not just PLEG. When people get down to 5sec to maybe 10sec delays I dismiss it as normal. Now if you have min. delays then there is a problem. I have never been able to stop watch an action and make it happen excalty when I want and do the same every time. Bottom line don’t set your standards to high or you might be disappointed.
The execution engine does not have any delay related problems on UI7 that I have noticed.
The delays are all in the UI7 web interface … and they will be there with any browser … these are problems with the MCV provided interface code.
I suspect, but have not proven, that the same problems may exist for all 3rd party mobile remotes.
Little things like the missing Immediate tab is my bug … (an initialization bug for empty actions).
[quote=“RichardTSchaefer, post:15, topic:185311”]The execution engine does not have any delay related problems on UI7 that I have noticed.
The delays are all in the UI7 web interface … and they will be there with any browser … these are problems with the MCV provided interface code.
I suspect, but have not proven, that the same problems may exist for all 3rd party mobile remotes.
Little things like the missing Immediate tab is my bug … (an initialization bug for empty actions).[/quote]
Yes, after getting a little deeper into UI7 that appears to be correct. Which is unfortunate. I only paid $99 for the veralite, but I would have gladly paid $500 for a controller that was better built. I just don’t think that exists today from my research. Thanks for all the help, I’m slowly building all my old scenes into PLEG with more advanced functionality ;D
If your problem lies in ui7 then downgrade to ui5. That’s what myself and Richard use on our daily unit.
Also on your comment that you would have paid more for something better, you did by the cheapest unit Vera has to offer with only half the RAM (which will be your next problem) as the others.
I’m currently exploring other options and like you finding that everything has problems in some are or another from UI, price, apps, plugins, support or hardware there is nothing that has it all. Vera isn’t the best, but it’s cheap, it has alot of free plugins which support the most devices I have seen to date.
Been recently testing Homeseer due to the powerful hardware options, and with 1,000 plus price tags and 20 to 50.00 plugins with alot that don’t even exist here. I’m changing my mind to just sit tight.
If your problem lies in ui7 then downgrade to ui5. That’s what myself and Richard use on our daily unit.
Also on your comment that you would have paid more for something better, you did by the cheapest unit Vera has to offer with only half the RAM (which will be your next problem) as the others.
I’m currently exploring other options and like you finding that everything has problems in some are or another from UI, price, apps, plugins, support or hardware there is nothing that has it all. Vera isn’t the best, but it’s cheap, it has alot of free plugins which support the most devices I have seen to date.
Been recently testing Homeseer due to the powerful hardware options, and with 1,000 plus price tags and 20 to 50.00 plugins with alot that don’t even exist here. I’m changing my mind to just sit tight.[/quote]
Ah, I did not realize the other Vera had more ram, I thought it was mainly for folks without a router already. I may have to look into that eventually (or whatever comes next, I haven’t heard great things about their latest controller, I believe the ‘edge’).
You are certainly correct, every system I’ve researched has drawbacks of one kind or another. With the general userbase support (this forum and others) and huge plugin library for Vera, I think like you I’m happy where I am currently. One of my hopes is that since I invested quite a bit into z-wave hardware, down the road I’ll be able to buy whatever fancy new controller comes out but still keep most if not all of the HW I’ve got in place in my walls. Fingers crossed
I would guess 90% of the people disable the router in it. It’s nothing great but the RAM is what you need. Really we need even more. Each plugin drains it, and when you start adding everything up you system becomes unstable. From there you end up trying to cut corners, and come up with fixes to counter act this which only leads to more frustration and problems.
[quote=“Dnomyar220, post:18, topic:185311”](or whatever comes next, I haven’t heard great things about their latest controller, I believe the ‘edge’).[/quote]I own an EDGE for testing. It’s faster processor, double the ram of the light and has the new Z-wave Plus chip in it (google all of the benefits from the plus or 500 series chip). Problem is it’s a month old and ofcourse has bugs and problems of being so new. So today I would stay away, but in a few more months 90% of the bugs will be worked out (I know people want all those gone this month, but I think realistically) and it will be good.
[quote=“Dnomyar220, post:18, topic:185311”]You are certainly correct, every system I’ve researched has drawbacks of one kind or another. With the general userbase support (this forum and others) and huge plugin library for Vera, I think like you I’m happy where I am currently. One of my hopes is that since I invested quite a bit into z-wave hardware, down the road I’ll be able to buy whatever fancy new controller comes out but still keep most if not all of the HW I’ve got in place in my walls. Fingers crossed :)[/quote] I feel the same way.
Best Home Automation shopping experience. Shop at Ezlo!