I could have saved loads of time by having an OpenLuup instance running as a backup of my primary Vera lite. (Fyi, I run OpenLuup in a virtual machine on my Synology Nas.) If OpenLuup can download all device & scenes information from my Vera, it should theoretically also be possible to send this info back to a freshly “factory resetted” clean Vera, right?
Am I correct in my assumption? If yes, can I ask for some guidance in how to accomplish this? If no, could this be possibly implemented in a future version?
I don’t see what it gives you that’s different from a normal restore from backup? I see that this didn’t work for you, though.
It’s certainly possible to recreate devices and scenes, although the difficulty is that you can’t specify the device numbering, except by some chicanery, so the scene operation will likely be wrong.
UI7’s native backup/restore function failed inexplicably and after 4 hours of trying I have lost enough faith in it to be looking for alternative solutions.
I can actually live with recreating scenes as device id’s while have changed. I don’t use that many scenes and the ones I use are pretty basic so I can document them relatively easily. Over the past week I spent the bulk of my time getting all my devices excluded & included again. Really nice to have to re-open wall switches and hunt for exotic inclusion/exclusion instructions from different devices. (kudos however to the green wave multi plug for the easiest inclusion process, just plug it in and press one button -:).
In other words, if I can recreate my devices by using OpenLuup I would say that sounds like a great improvement.
How would I go about doing this? Is it like creating a ‘reverse bridge’ from OpenLuup to Vera?
[ol][li]Luup devices and variables[/li]
[li]Zwave configuration[/li][/ol]
Whilst (1) is relatively easily done, the sticking point may well be (2) … I don’t know how to synchronize the virtual Luup devices with the physical Zwave ones.
Basically you keep all your scene code in one file. It also contains the device IDs accessed by the scenes in one place as well. A rebuild of scenes just needs a change to the scene numbering lookup table. In addition, doing this in bulk, may just be a matter of modifying the “user_data.json” file:
You wouldn’t need to edit the user_data file since, unlike devices, you can do everything you want to do with scene creation / editing / deletion dynamically on a running system.
Best Home Automation shopping experience. Shop at Ezlo!