Platform information:
Hardware: _Raspberry Pi model 3B
OS: _Openhabian - latest
Issue of the topic: I cannot retrieve motion data from the motion sensor
Hi all,
I guess I’ve missed something on how to set up the Everspring SP816-1 motion sensor.
After setting the inclusion mode the Z-Wave binding picked up 2 new items, 1 Unknown and the SP816 itself.
My problem is that I cannot see any data other than the battery level.
Would anyone have a sample config for this.Do I need to set up an item manually?
When I set inclusion mode I see the Z-Wave controller acknowledging the inclusion.
2019-08-30 16:41:45.926 [vent.ItemStateChangedEvent] - zwave_serial_zstick_2e1f0cba_serial_ack changed from 47 to 48
Is there an xml file for node 2 in /var/lib/openhab2/zwave ?
If not it may not have been fully discovered. If there is an xml file you can post it here for more advice.
Did you try to associate the device and fail or disassociate & then try again? Node 2 may be a phantom failed node defined on the controller.
It is best to remove that from the controller so devices do not try to route to the network through it.
I am not sure ho best to do that
Agreed - it should be removed, but as it doesn’t exist there is no fear that it will be used for routing. Firstly, it doesn’t exist, so it won’t respond to routing requests. Second, it’s a battery device - they don’t participate in routing anyway.
You can try with HABmin for starters. There is an option in the thing for this device to remove it - if it’s still just in the inbox, then it needs to be created as a thing. You could then try the “Add device to failed device list” (but it should already be there) and then the “Remove device” option.
Sometimes, this doesn’t work and you’d need to use the Silabs tool - sometimes that also doesn’t work (both HABmin and the other tools do the same thing, but the controller gets to decide if it will remove the device, and it will only remove it if it thinks it has failed).
That just means that you haven’t deleted node 2 from the controller. Each time you re-include it, it will be given the next available node ID, so that’s why it’s now up to 6.
So being determined to get a working motion sensor I went to pick up an Aeotec TriSensor. It paired straight away with the Z-Stick and when I did a manual search it detected 4 new unknown devices
So that would eliminate the Everspring as having any issues.
The TriSensor was paired at the dealer and it registered fine on their Elan system, so it appears that it’s not the Z-Stick either.
Would anyone have an idea as to what could be going on with the binding?
You need to check the zwave.log file to see what’s happening here. Chris via his website has an online log file viewer that will give you some idea what’s happening. Or just upload a zipped copy of your zwave.log file from a clean boot. Shutdown openHAB and delete all log files, then start openHAB again. Force a wakeup of all your zwave devices and then give it an hour. Stop openHAB again and zip zwave.log & openhab.log, upload them here and we’ll be able to take a look for you.
I suspect this has nothing to do with the binding - inclusion is a process that is handled between the controller, and the device.
As I said earlier, each time you include a device, the controller will allocate it a new device ID. When the binding starts, it asks the controller for a list of all the devices that are in the network - this is the list you see.
So, it’s hard to really comment on why you have multiple nodes showing up without knowing what you have actually done, but either the stick has an issue, or it is something that you are doing.
@chris I completely agree that the binding is fine and the issue would lie somewhere between me and the hardware.
I’ve attached the zwave.log file from a fresh boot and did a new search for the devices (and deleted the existing xml files for the nodes.). I would appreciate if you could have a quick look and let me know if you see anything interesting there.
this is fine - it means that these devices can’t be resolved to something that is in the database, but that’s no surprise if they don’t exist.
The question is what was done previously to generate these nodes. Did you do a hard reset on the stick after you were trying to install the SP816 and before you started with the new device?