#Migrating from HUSBZB-1 on HA OS

1 messages · Page 1 of 1 (latest)

keen turret
#

Are you doing this from within HA OS?

barren bramble
#

yes

keen turret
#

Let me try something, one moment

#

Delete the venv folder that you created and recreate it with virtualenv venv --system-site-packages

barren bramble
#

how do I delete the venv folder?

keen turret
#

rm -R venv

barren bramble
#

and then run the above and the activate command followed by the pip install?

keen turret
#

Almost

#

Re-create the venv with the above command and then run

pip install --upgrade --no-deps --force-reinstall \
    git+https://github.com/puddly/zigpy.git@puddly/new-radio-settings-api \
    git+https://github.com/puddly/zigpy-cli.git@puddly/zigpy-radio-api \
    git+https://github.com/puddly/zigpy-znp.git@puddly/new-radio-settings-api \
    git+https://github.com/puddly/zigpy-deconz.git@puddly/new-radio-api \
    git+https://github.com/puddly/bellows.git@puddly/zigpy-radio-api
#

HA OS isn't really well-suited for this so while it has packages pre-installed, it can't seem to actually install those same packages in a venv

#

This should re-use the installed ones wherever possible

barren bramble
#

ok - cool - I will follow your steps - do I need the source venv/bin/activate before the pip install?

keen turret
#

You may have to run deactivate if you're still in the now-deleted venv (and then re-activate it) but yes

barren bramble
#

ok - thx

#

no errors and was able to create the backup file

#

I assume I can now just add the new hub - restart HA and then follow the last few steps and then simply remove the nortek after I also migrate my zwave stuff?

keen turret
#

You can plug it in now and migrate the network settings to it

#

Since you already will have a Python env setup, you could also use this opportunity to upgrade the CC2652 to the latest firmware

barren bramble
#

It just arrived this weekend

keen turret
#

They rarely ship with recent firmware releases

barren bramble
#

ok - are they instructions to upgrade teh firmware you can point me at please?

keen turret
#

Oh, never mind, I thought you were using a Sonoff stick

#

If you bought one of Tube's devices he uses recent firmware

#

You may also want to double check the Z-Wave side of things, the CC2652 doesn't support Z-Wave so you may want to keep the HUSBZB-1 around if you don't have a replacement Z-Wave radio

barren bramble
#

thx - I bought a ZOOZ stick

barren bramble
#

all done - worked great - thanks for your help!