How to reset Smart Home ID / ZBW ID ?

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
misujr
Posts: 2
Joined: 31 Aug 2019 12:47

How to reset Smart Home ID / ZBW ID ?

Post by misujr »

Hi there,

I am trying to build a device fully configured and then clone the SD card image and deploy in more locations.
The problem is that when I write the cloned image, I get the same identification for find.z-wave.me .
The only mention I found about this is by PoltoS done here http://forum.zwave.me/viewtopic.php?t=21890 but there is no solution posted.
I have tried to dig deeper in the installation process and what I have managed by now is a dirty solution like this :
1. delete all the ZBW folders and z-way-server folders
2. reinstall the version of Z-wave-server with wget
But this way I loose all the config I make in the Z-way-server
I have also tried to download the zbw_1.1_all.deb and install it with sudo dpkg -i , but I get :
sudo dpkg -i zbw_1.1_all.deb
Selecting previously unselected package zbw.
(Reading database ... 40084 files and directories currently installed.)
Preparing to unpack zbw_1.1_all.deb ...
[ ok ] Stopping zbw_connect (via systemctl): zbw_connect.service.
Unpacking zbw (1.1) ...
dpkg: dependency problems prevent configuration of zbw:
zbw depends on z-way-server; however:
Package z-way-server is not installed.

dpkg: error processing package zbw (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (232-25+deb9u4) ...
Errors were encountered while processing:
zbw


Last thing I have tried :

sudo apt-get install zbw
Reading package lists... Done
Building dependency tree
Reading state information... Done
zbw is already the newest version (1.1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
zbw : Depends: z-way-server but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


Can anyone please give me a hint in the direction to sort this out ? I am sure it should be a way to re-authenticate with find.z-wave.me once the image is deployed in a new device.

Best Regards,
Misujr
misujr
Posts: 2
Joined: 31 Aug 2019 12:47

Re: How to reset Smart Home ID / ZBW ID ?

Post by misujr »

@PoltoS - Thank you ! That surely put me on the right track. I would've never figure that out alone :-) .

Now for anyone that would find the need to do this I will put here the command modified so it wown't throw any errors :
Step 1: Run the following command from your raspberry pi's terminal ( direct, ssh, etc)
sudo wget 'http://find.z-wave.me/zbw_new_user?box_type=razberry' -O /tmp/zbw_connect_setup.run && sudo bash /tmp/zbw_connect_setup.run -y && sudo /etc/init.d/zbw_connect start
Step 2: Restart z-way-server so the change will propagate in the entire system (the changes means your new ID)
sudo /etc/init.d/z-way-server restart
Step 3 :
Go to https://find.z-wave.me/ and enjoy your newly set device.

!!!!! TLDR !!!!!
Every time you run this command, you will get A NEW ID ! Do not run this command on a production machine that you don't have backed up or it not in your hands as you might loose the connection to it :-)

Best Regards,
Misujr
Post Reply