After playing fiddler on the Vera I managed to get my NX8V2 and 584e board connected to my Vera. I am a new user on UI7 fw1.7.388 starting about 3 weeks ago and have managed to add a door lock, numerous switches, and install the Linear GD004 which I found out later is not supported. I’m holding my breath for when the support is added for it.
Anyway I have an issue that I have not been able to solve with the CaddX plugin v81. It appears that although I can get the Zones to scan it names them all the same name (whatever is in the Zone1 edit box) and only creates 1 device on the devices list. I have tried deleting them and start over. However, after hitting the delete button, then the back or control button (tried 'em both), followed by a Save Changes, they are still there in the list when I go back to the zones tab. And the 1 device that was created is still in my devices list.
Perhaps someone out there has some guidance. Maybe I can find and edit the file that contains the zone information directly then create the devices manually.
Ok well I woke up this morning and voila all the zones mystically appeared with the correct name. Does it just take some time for the configuration to synchronize?
I will try to give you all the information I have to better narrow down the potential issues.
IE 10 and 11 are a total bust in UI7. Apparently, Vera uses some controls that have issue with positioning and z-order. Most notably, the dropdowns. These will appear as unselectable with nothing in the list (ie Rooms dropdown). Anyhow, I did try to see what it was looking like in IE 10 and 11 nonetheless. Primarily for the Vera I use Chrome 38.0 and that is what I set up the zones with.
Some of the things I tried while the list had all the incorrect names nothing changed.
Check it in IE both versions - Both appeared with the incorrect names.
Clear browser cache and check it again
Oddly leaving it alone and coming back the next day showed all my zones with the correct names and all the devices were created for the zones. This leads me to believe that the list isn’t committed until the files are flushed. There is also another observation that the connect tab data did not appear until the zones corrected themselves. However, now the connect tab does appear with the connection information to the WizNet. Also, when I was first trying to figure it all out, the Configure tab just showed the Debug to Luup Log checkbox and no other configuration options. It is now showing (I assume all) 12 settings from the panel. Not knowing much about Lua it seems like something needs to be flushed/committed when the command completes. I might need to contact ZeroBrane.
Note that after adding the zones the screen says “Close dialog and press SAVE to commit changes” but there is no dialog to close. I assumed you meant the Save button on the Control view but this might be where your original code isn’t being called. I have never seen UI5 but assume it uses JQuery dialogs. Perhaps there is a button on a dialog that contains the save button that never appears.
I wasn’t able to look at the log while the list was loading since I had the Secure My Vera checkbox checked. Apparently, ssh access is restricted with this checked. By the time I figured this out it was all working correctly. Either way I’ll bet the better place to have been looking was in the browser console anyway after thinking more about it.
Let me know if there is anything I can do to help get this up to snuff w/UI7. Once it is installed and configured it appears to be working fine so this is all about the journey and not the destination.
Thanks, that’s really helpful. Chrome should be fine; I personally use Firefox, which seems to be what the MCV developers use too, based on its compatibility with Vera JavaScript.
The absent SAVE button is likely the cause of your troubles. On UI5 there was a big red SAVE button which you could hardly miss. This would commit any changes made in the browser to the Vera, and restart the Luup engine. On UI7, this button has disappeared, and all of Vera’s native controls now trigger an implicit SAVE without you pressing anything. But plugins don’t have access to this functionality (that I’m aware of), so to commit your zone discovery information to Vera, you need to hie straight to the Apps > Develop Apps > Serial Port Configuration > Reload Luup button, which is actually the only place where the old manual SAVE button now exists in UI7. This is, how do I say?, a mite inconvenient.
I’m yet to get a good answer from MCV on how I’m supposed to have my JavaScript commit its changes to Vera without forcing the user to hike across the UI to press that button.
I think it may be back in some form for 1.7.437. There is now a button at the bottom of the advanced page on all devices named “Reload Engine.” As an aside I stumbled across the Reload Luup button this weekend and put 2 and 4 together to come up with the solution to the issue. If you manually add a zone then go to the advanced section and press Reload Engine it shows up. This is identical to what happens when you go to the serial port configuration. Perhaps the mystery to making the changes happen instantly are buried within the secrets of the advanced tab. Is there some method to invoke an immediate reconfigure for the device?
I set my NX584 up with UI7 and everything worked except for the zone scan. I did have a lot of trouble manually naming the zones because of this save button problem and quickly learned that I needed to take my time with one entry at a time and a browser refresh or a reload luup from the develop apps page. After everything was set it works great! I am able to pull events and user codes but I haven’t revisited the zone thing since I got it configured manually.
I do have strange issue with the fact that I have 2 partitions, and when I put one partition in another room it always somehow moves back to the same room as the plugin and the 1st partition. My only other complaint is that if I unplug the Vera to go pair something I have to revisit the serial port setup page to get it connected again.
I just updated to the newest Vera version today because I saw they were bringing back some features. No problems so far. Thanks for the great plugin!
Best Home Automation shopping experience. Shop at Ezlo!