Unablel to make Zwave USB Stick work (ZME_UZB1)

Can somebody tell me how to start openhab as root? I only know how to do it with the service.

Got to the file /etc/default/openhab and edit Line 5.
I guess you also have to chmod all the openhab files to root:root.

BUT: I never did that, so you may have to find additional wiki sources to achieve your goal …

Good luck.

Thanks! I will try!

You should simply be able to go to the openhab installation folder (wherever that is on your system) where you will find some scripts such as start.sh.

Stop openhab running as a service with sudo service openhab stop.

and run the script sudo ./start.sh

This will run the system in your local console and you’ll be able to see the output immediately.

Thanks Chris!
We can close this topic. I set-up everything from scratch again and now it works!

Thanks everybody!

Hi I am a very beginner.
I’d like to re-open the topic as I have a similar problem.
OH (paperui) does not see the zwave stick
This is the screenshot

The Port /dev/ttyACM0 is the one of the stick instruction and is shown if i do dmesg
Any suggestion?
thanks

You have reopened a topic for openHAB version 1!

In openHAB2 you just have to configure the correct port and that should do it.
So if you did the above permission changes it may go into the wrong direction.

How did you install openHAB2: Manual? Repo? openHABian?

I installed manually openhab on a PI zero

If you are using the service to start openHAB automatically at boot, make sure your permissions are set to user:group openhab:openhab.
You can do that with

sudo chown -hR openhab:openhab /opt/openhab2

assuming you did that manual install in folder /opt/openhab2.

Then restart openhab

sudo systemctl restart openhab2.service

and verify you have the correct port set to your zwave controller:

It did not work (H404), I am starting to install the openhabian on the SD.
I hope to be lucky now.
I’ll come back to you when ready. Thanks

Hi sihui,
I installed openhabian and now the UZB1 is online, but I cannot find bindings for Neo Cool Cam switch. Any idea?
However thanks for the help

Never heard of those, are they zwave devices?

If yes, you need the zwave binding (best option is to use the snapshot binding)

The discovery found something, but the description is not coherent, how can I check that it is just my smart power swotch?

anyway I added as item, but I am not sure the inclusion mode
and then how can send a command to the item?

It’s not fully initialized yet (=unknown device). Which binding version are you using? Stable or snapshot? If it does not work after a couple of minutes (=initialization finished) it might only work with the newer snapshot binding.

it works, incredible!
Thank you again
In the description of the bindings in the manual there is this Raspberry Pi RC Switch Binding, but I do not find it in the add-ons, you know how I can use the 433 mhz receiver/trasmitter?

I’m using mine with the Tinkerforge RF Switch and the Tinkerforge Binding, you may also use scripts in various languages and connect to it with the exec or mqtt binding.
Use the search function in this forum, there are a lot of different options …

ok I’ll study the solution
thanks Sihui