Why Migrate to Z-way from vera and how?
-
I expect this document to be dynamic based on inputs from people who try but did not want to completely rewrite it here:
-
Ahhh I was going to suggest this as a topic. Almost tempted now as I have some time on my hand but....
C
-
What is holding you back? We are here to help!
-
WAF more than anything else, plus time and hardware
And I do know you'll help!
C
-
WAF is exactly what forced my hand... couldn't stand the maintenance and random delays/failures anymore.
It does take time (short heavy investment for long term greater return) and some hardware though. -
I'm not furloughed, and have a couple of new projects on the boil, so don't actually have a great deal more time than before (and my students still want on line classes so even my evenings are used some of the time)
<Touches wood> Currently my set up is stable. Would love a gradual migration. I can buy the kit but it seems a bit big bang.
C
-
So to get this straight in my own mind can I
- Go buy a Pi 3 B+ and SSD
- Install Debian / OpenLuup / Reactor
- Make the Vera Z-wave dongle available to OpenLuup
- 'Migrate' all my reactor instances 'off' Vera onto the Pi
- Use the Pi to create and new Reactors and replace the final couple of scenes I have
- Then think about migrating all my devices to a new Z-wave hardware.
Trying to make this a small steps as possible
Cheers
C
-
@CatmanV2 said in Why Migrate to Z-way from vera and how?:
- Make the Vera Z-wave dongle available to OpenLuup
If, by this, you mean using openLuup's VeraBridge plugin to access its existing ZWave devices, then, yes, I think you have the sequence correct.
It sounds like a lot of steps, but they're not too difficult... I know almost nothing about Linux / Debian, but seem to have managed thus far.
AK
-
@CatmanV2 said in Why Migrate to Z-way from vera and how?:
So to get this straight in my own mind can I
- Go buy a Pi 3 B+ and SSD
- Install Debian / OpenLuup / Reactor
- Make the Vera Z-wave dongle available to OpenLuup
- 'Migrate' all my reactor instances 'off' Vera onto the Pi
- Use the Pi to create and new Reactors and replace the final couple of scenes I have
- Then think about migrating all my devices to a new Z-wave hardware.
Trying to make this a small steps as possible
Cheers
C
Pretty much the exact steps I took. Steps 1-3 I had done maybe a year ago. At that time most my logic was in Pleg so I needed to move everything to reactor. Step 4 was the decision maker to completely ditch Vera. Once I did that, no more vera reloads where I was left in the dark because some logic did not execute or a light did not turn on. Step 6 I just did over the past 2 weeks and is well worth the effort. I feel like I have control over my z-wave network now with the "expert ui" of z-way.
-
Thanks. So can I backup Reactors from Vera and restore to OpenLuup?
C
-
@CatmanV2 said in Why Migrate to Z-way from vera and how?:
Thanks. So can I backup Reactors from Vera and restore to OpenLuup?
C
Yes. But you will have to manually change the device numbers of devices used in the Reactors. For example, device 25 on vera will be 10025 on openluup through the VeraBridge. Then again, with z-way, the device numbers will change. Z-way uses node # so If device 25 on vera has a node ID of 12, its z-way device number will probably be 20120.
-
I've not switched yet, but I was thinking about a script that could:
- get the device ID from the Vera (using nodeid and parentid)
- alter the device number in openluup+Zway, in order to reflect the old number
- migrate scene accordingly
I'm running openluup+Zway (as secondary) since a couple of weeks, and this should be doable, from my finding. I just have to figure it out a plan for scenes.
-
To move from vera bridge to zway, I wrote a script that retrieves the backup reactor file, finds all devices that are referenced in the 10000's, determines there node ID#, generates z-way device numbers in the 20000's based on the node id, and provides a new reactor backup file with the 10000's replaced with the new 20000's. It worked pretty well and saved me a lot of time. Some devices were not fully correct as child device numbers do not seem to be standard. I will share if somebody wants it but I am hesitant because it is not full proof and I am not an expert in lua.
-
There is a built-in VeraBridge GetVeraScenes action which migrates scene timers and actions (not triggers) changing the device numbers accordingly.
-
@akbooer the pain for me is in the triggers, since scenes are mainly calling code with an indexed table for devices. I could probably just migrate them to variable watches before. We'll see.
I've been using the new openluup console and I must say I like it a lot!
-
Well all my temperature sensors dropped out again last night at about 2120 local. I should have worried when I got a 'Device is responding again' notification for the Fibaro Universal when I never got one that it wasn't responding.
It sounds like simpler might be:
- Buy the Pi and the SSD
- Install Raspbian, Openluup, Z-wave bridge
- Restore and edit reactors
- Kill all the remaining scenes (for me this is probably not an issue and in fact would be a good place to make sure Reactor is working on Open luup)
Now at that point, vera is doing really nothing at all other than accepting Z-wave commands from OpenLuup?
C
-
@therealdb said in Why Migrate to Z-way from vera and how?:
the pain for me is in the triggers
Yes, I know. I never implemented the Vera-style triggers because their implementation was so flawed (along with the definition of events, etc.) AltUI Device Variable Watches work fine, but migrating the would require some editing of the WatchedVariables AltUI data structure (and it hardly seems worth it.)
I've been using the new openluup console and I must say I like it a lot!
Thanks for that – glad it works well for you! I have a plan for native openLuup triggers (easily defined from the openLuup console.) Their implementation is the main area where openLuup is deficient (along with the real-time updating of the devices page, and ...)
-
@CatmanV2 said in Why Migrate to Z-way from vera and how?:
Now at that point, vera is doing really nothing at all other than accepting Z-wave commands from OpenLuup?
It's actually still using the Luup layer to translate between HTTP and ZWave commands, but in this mode it seems to stay up for reasonable amounts of time. You'll still suffer from the fundamentally flawed ZWave stack implementation, though, as I'm sure @rafale77 would agree.
-
Hmmm so only a partial solution.
Razberry or USB? Razberry is about half the price and would fit nicely on the Pi?Any other benefit to the dongle?
C
-
@CatmanV2 said in Why Migrate to Z-way from vera and how?:
Hmmm so only a partial solution.
Razberry or USB? Razberry is about half the price and would fit nicely on the Pi?Any other benefit to the dongle?
C
Check out this post with some discussion.