HABmin + Z-Wave binding

Hi there!

In HABmin under configuratin->binding i have two Z-Wave bindings.
1st is: 1.8.0.201508211938
2nd is: 1.8.0

Is this correct?

Are there two in your addon folder?

If you did an apt-get install all your addons should be in
/usr/share/openhab/addons

There should be no folder /addons at all in /etc/openhab.

Edit: and you should only have ONE binding of the same type in /usr/share/openhab/addons, so delete one of your z-wave bindings.
Either you install the zwave binding via apt-get (preferred, because you get updates via apt-get update && upgrade)
sudo apt-get install openhab-addon-binding-zwave

or grab the newest zwave binding from cloudbees if you need to have support for the newest devices.
But in this case you have to manually delete the snapshot binding if you do an apt-get update && upgrade.

Ok thx…will try.

I have extract demo-files to /etc/openhab, so there is an addons folder.

In /usr/share/openhab/addons are two because i think one from HABmin
"…Place the org.openhab.binding.zwave*.jar into the addons directory…"

and the other from installing z-wave binding with:

sudo apt-get install openhab-addon-binding-zwave

Okay, now I know what you did wrong, you mixed to different install methods, manual install and apt-get install, that doesn’t work!

Manual install:
you just download the runtime and extract the files to /opt/openhab.
Your addons go to /opt/openhab/addons.
Configuration files are in /opt/openhab/configurations
/opt/openhab and the corresponding subfolders is the only directory you have with a manual install.

apt-get install:
you install via apt-get, your addons go to /usr/share/openhab/addons.
Configuration files are in /etc/openhab/configurations
For other file locations see https://github.com/openhab/openhab/wiki/Linux—OS-X#file-locations

Unfortunately, you cannot install the demo via apt-get, in the case you want to use the demo, you need to mix manual install and apt-get install (this is the one and only case where you should do that):
Download the demo, extract, copy /addons to /usr/share/openhab/addons, copy /configurations to /etc/openhab/configurations, then point your browser to
http://<your_ip>:8080/openhab.app?sitemap=default or just to
http://<your_ip>:8080

If you are a beginner in Linux AND openhab I suggest starting from scratch …

Good luck.

Thx for ur explaination sihui…i will try it.

U re right, i am new to linux and openhab.
I decided to test a raspi with linux cause the costs of a raspi are not very high
and the z-wave stick is also usable under windows, if i fail on linux!

I have no problems setting up my raspi with homegenie, zwave.me and domoticz
under linux, but i think openhab maybe be the better one! So i am here…:slightly_smiling:

But i think the descriptions/wiki or whatever is a little bit confusing for newbies!
HABmin-Readme told me exactly where to put the files, Demo-Files-Readme said
to put the files over the openhab-runtimes… i thought etc/openhab…

You think right, it is :slightly_smiling:
It takes a while to get used to it, but with the help of this forum you will make it work.

No problem… if i can run a system high customizable and
supporting a lot of technologies, its worth to spend time in configuration…!!!

Next hurdle will be my DanfossThermostats. :fearful:

No problem at all, I have one:

items:
Number DanLivConnZSet1 "Heizung Bad [%.1f °C]" <heating> (gTest) { zwave="8:command=thermostat_setpoint,setpoint_type=1,setpoint_scale=0" }
Number DanLivConnZBatt1 "Batterie Heizung Bad [%d %%]" <heating> (gBattery) { zwave="8:command=BATTERY" }

sitemap:
Setpoint item=DanLivConnZSet1 minValue=4 maxValue=30 step=1

OK, after a little break i am back to openhab/HABmin. :grin:

apt-get installation is done and HABmin is up and running.
Added my first Danfoss but i think this will be my next hurdle…

I see no temperature at all.

Added a new sitemap and try to configure my thermostat. So fare so good, but how can
i tell a new item to use node2 in my case?

See my post above:

Instead of my node nr. 8 use node nr. 2:

items:

Number    DanLivConnZSet1    "Thermostat [%.1f °C]" {zwave="2:command=thermostat_setpoint,setpoint_type=1,setpoint_scale=0" }
Number    DanLivConnZBatt1   "Batterie Thermostat [%d %%]" { zwave="2:command=BATTERY" }

sitemap:

Setpoint item=DanLivConnZSet1 minValue=4 maxValue=30 step=1
Text item=DanLivConnZBatt1

First thanks for your quick answer!

I have seen and read your post above and i have feared this…
Is it always this way to bind a switch or something else to a node?

I thought i can create a new item in HABmin and then bind it to
a node by choosing node via drop-down-menu or so.

In OH1: no.
In OH2: almost yes, not via habmin, but via PaperUI …

HABmin currently has better support for ZWave than PaperUI - at least to start with. I think PaperUI has now been upgraded to properly support saving config in a way that’s compatible with zwave - if not, it should be soon I think.

Sorry, yes, you are right, i was not precise enough …

OK, seems that its working…thx again! :slightly_smiling:

Am i right, that i can set it up directly via HABmin if i know
the right command of the device? Doing it with copy+paste
to items and sitemap was fast and easy for the first time but in
future i can do it directly in HABmin?!

Is it possible to see some graphical lines about the thermostat,
how temperature is changing/switching?