I’m reaching out because I’m only capable of getting the Monoprice PIR motion sensor (Monoprice PIR Sensor) to partially work with OH2. So far I have completed the following steps:
Linked the Motion Sensor to my Aeon Zstick (Gen2 I believe)
Searched for a new Thing via the Paper UI
Added the new Thing (Node10) via the Paper UI
Waited till the binding was able to identify the Thing (Motion Sensor)
Four channels were automatically created and displayed in the Paper UI ( sensor_binary, sensor_temperature, battery-level, alarm_burlar)
I created four items by cutting and pasting the channel info into the curly brackets for item binding (i.e. {channel=“zwave:device:cff9cd9b:node10:sensor_binary”} as I have with the GE dimmer switches. See items below
The Problem
When looking at the Openhab events.log file, after some time, I can see that the battery and temperature are being updated. The issue is the motion and tamper switch are not. Now… When I trigger the tamper switch or the motion sensor I see the following in the events log;
Thanks in advance for taking a look at this post. I can provide additional information upon request but may need a little guidance on where to get it. Especially if further logging information is needed. So far I’ve gotten by with the Openhab and events log only.
I think your log is missing the bit we need to see, but is it possible the ‘type’ is wrong, and these missing items should be a Switch and not a Contact?
I should also add that I originally had the items defined as Switches and not Contacts but I changed them after taking a look at the items created in the binding examples (example) for a Monoprice motion sensor. No difference between the two.
Here is a copy of my log file after setting the zwave binding log level to DEBUG. I also changed the item type to Switch as well. The log is showing what comes up after I trigger the tamper switch by opening the case.
Hi folks. Thus far, I have two of these devices. 10 months apart, the firmware has gone from 4.x to 8.x, and they are far different. Only a night or two ago, the entry was built for the 8.x firmware, and both of mine are working now. I am using OpenHAB2, and not using .items files at all. I am using Habmin2 for all configuration.
Here is my configuration for the v4.x firmware device:
I’m not sure what you mean by “entry” when you mention the build for the 8.x firmware. Are you referring to a newer version of the binding? If so, is this upgrade picked up when I do the apt-get upgrade process?
Where can I identify the firmware rev on my device?
Using only Habmin? I thought I had to have an item so I can use it in a rule.
Did your devices (4.x and 8.x) not work till a night or two ago
Because the newer device has a newer firmware that is different than the older device, it needed an updated entry in the z-wave database. This is done now, and works. Yes, you will need a new binding, one built in the last day or two specifically. I am not sure when the binaries for apt-get are packaged, but I think they are built when the distribution is created, so a fresh update should get you what you need (and a restart to pick up the new binding).
2a If you have Habmin installed, go to things under configuration, select your device, then in the right panel, select attributes.
2b If you have PaperUI installed, go to configuration -> things, click your device and then click Show Properties
3 You do need to create an item, but the item can exist in the MapDB used by OpenHAB2, and does not need to exist in a .items file. Your rules can reference it by name either way. Give this a read: http://www.cd-jackson.com/index.php/openhab/habmin
4 My 4.x device did work. Only the battery and the alarm on the 8.x device worked until the database update, and now everything works.
Sorry if this is a little off topic, but what is the difference between the binary sensor and burglar alarm? Is the alarm the equivalent of a tamper alarm?
So… Partial success. I can now get the temp, battery, and Motion (Burglar). I cannot however get the tamper (binary sensor) to come in. I have went as far as rolling back the server (on VM) to before I added the device. I updated the driver then added the device with no “custom” items. No joy on the binary sensor. But to be honest with you I’m not that worried about the tamper switch.
On to the next issue. After rolling the server back and upgrading both Openhab and the zwave binding something broke with the Ecobee binding. So I went back to the current, working, snapshot. The only issue remaining is I see in the logs that the binding is attempting to update node 9 as well as node 10 every time I trigger the motion sensor. I suspect this is due to the fact that when I was trying to get the motion sensor to work I linked (inclusion) it to the zwave controller and the first time it came in as node 9. I then unlinked (exclusion) it then proceeded to relink (inclusion). So I suspect somewhere Openhab or the binding is retaining that device as node 9. Question, does anyone know where I can clean this up at. See the log below of what I’m describing.
13:06:31.488 [INFO ] [marthome.event.ItemStateChangedEvent] - DiningMotion changed from NULL to ON
13:06:31.489 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update 'ON' for item 'DiningMotion' to handler for channel 'zwave:device:cff9cd9b:node9:sensor_binary', because no thing with the UID 'zwave:device:cff9cd9b:node9' could be found.
hi, i have been thinking about getting thispir(slightly different that one you linked on top here) sensor instead of the phillips hue due to that it has temperature, humidity and light for the same price as the hue. I have hue 1 hub, can i use that as zvawe controller or do i need something else?
@xsnrg or @john_n_tunell - Would either of you guys have a working example of your items and sitemap for this device? I cannot seem to get any values off of my device. I am fairly certain it paired - I had received an Inbox notification, ignored it (I create my Z-Wave items manually) and then created it manually with the 4 channels according to CJackson’s website. I don’t seem to get any values, though.
I don’t have an items file for zwave as I use the json db with Habmin for most of the configuration. I end up putting all of the items in a room into a group, and then my sitemap displays the group, so that is not a lot of help to you either.
Thanks, @xsnrg. So I wound up doing like you and using HABmin to set these up. Which seems to be working now, for the most part. What is weird is that one of the sensors does not report battery status, and the other cannot seem to change from Celsius to Fahrenheit. Did you ever have this problem?