I’ll get your device sent back - I’m not sure I’ll be able to do it for a few days as I’m travelling Tue-Fri. I also dont recall if yo gave me the return address so you might want to ping me an email with that at some stage.
My initial tests shows its working, but those were very, very breef tests.
Just to make sure, could you, before returning the device, do some thorough tests, just to make sure?
It would be a pitty if you send it back and some things aren’t working 100%
I am swamped with work the next couple of days, so my time is also limited.
Its no problem for me if you keep the device a bit longer.
If i recall correctly i did sent you a email with my return address, but i will send you another one
No problem!
Ok - I’ll hang on to it for a bit. I’m not sure I’ll be able to do too much more testing on this, but if you find any problems let me know and I’ll take a look.
You’re right - I have the email with your address .
@Avner, @Hamish,
Maybe you guys can also help test this device with the development binding, so we can make 100% sure it’s working as it is suppose to now that Chris has still the device.
Thanks a lot,
I very much want to test it but I’m in a time crunch. I’ll try in the next few days. it will be great if @chris could keep the device for a bit longer.
Thanks
I tested the HSM 100 device and I think that it is working now.
I installed the zwave development binding (see note1) and verified that I can get motion, temperature, and lux events from the device (note2) as well as see them renderred in basicui (note3)
I’m still not clear about how to set the duration for motion alarm to be turned off (see the xml file in note4)
The device turned once from ON to OFF after ~30 min, but then it turned to ON and never back to OFF
Where would I see the duration parameter or other related parameters (e.g. poll period) in the xml file (see note4) or in PaperUI (see note5)?
note2 - add the HSM100 device, and verify that events are received from the device
I applied hard reset to the zwave controller and included the HAM100 device. After this I was able to see events in the log file events.log
cat /var/log/openhab2/events.log
2017-04-16 21:56:07.229 [ItemStateChangedEvent ] - Hsm100Lux changed from NULL to 88
...
2017-04-16 21:56:07.578 [ItemStateChangedEvent ] - Hsm100Temp changed from NULL to 22.8
...
2017-04-16 21:58:02.702 [ItemStateChangedEvent ] - Hsm100AlarmMotion changed from NULL to ON
...
2017-04-16 22:17:28.215 [ItemStateChangedEvent ] - Hsm100AlarmMotion changed from ON to OFF
note3 - HSM100 temerature, lux and motion alarm show up in basicui
I’m also not sure - I don’t think I saw the device report an OFF - only ON. There was a config parameter (param 1 I think) that stated it set the off time, but I’m not convinced it did anything. I know I was configuring the device as I could turn the LED off on the front.
Maybe this is something for you all to look at while I still have the device - I don’t think there’s a lot I can do about this but best to try now if possible.
Although I got some motion alarm events, I don’t think the device is useful in its current state. It didn’t issue any motion alarms besides the ones I reported, even after several hours of activity.
The device LED is blinking when there is motion near it indicating that it is sensitive to the motion but this is not shown in openhab2
The device that I’m using is the Ezmotion+ According to the manual here the parameter that is responsible for the duration between ON and OFF commands is parameter 2 (see note1), which is indeed set to its default value (20 min) in PaperUI.
I’ll test the device more tonight to check why it is not sending ON / OFF commands reliably.
@chris, is the + version supported now? I do see only one version for ezmotion in the device list (in here) and I think it is for the NON + one
note1 - parameter 2 dictates the duration between ON and OFF
Yes - I suspect we need to split the two devices into separate database entries if they are different (ie parameters or command classes are different). From what I’ve seen, they could be different, but I can’t find any logs or XML files from your device any more (all the dropbox links don’t work).
@chris, I want to reduce the “on time” (parameter 2) from 20 min (the default value) to e.g. 3 min to test motion alarms going on/off.
In PaperUI, the save button is always disabled. How can I persist the new value?
Would I need to wake up the device?
@chris, @Avner, do you guys also experience the behavior that sometimes HABmin states that the controller can’t communicate with HSM100 device? Restarting the binding solves the problem.
I am not sure if its the binding (dev-binding) or if its the device.
One of my HSM100 (mains powered) is 10 cm away from the controller!
On another note, whats your experience so far with the device and the dev-binding?
What do you mean exactly - can you show me the screenshot? It might be that the controller is reporting the device as failed - this is something I need to look at, but it’s not at the top of the list just yet.
I’m not using the device (it’s all packed up awaiting it’s call to go home ).
polling-time - 10 min
With these settings I was hoping to see on/off every 3 min (or every ~10 min since it was mentioned here that triggering an off/on event be a combination of both the polling-timeand the on-time) but I did not see such events.
The log file shows a Queue full error on the zwave thread (note1) so maybe the missing events problem is not related to specifically to the device this time (I’ll add another device and check if the missing events were specific to the device or due to a more general zwave problem). @chris, do you know what could cause the Queue full error on the zwave thread?
– note1 - Queue full error on the zwave thread
cat /var/log/openhab2/openhab.log
...
2017-04-17 05:43:28.805 [ERROR] [WaveSerialHandler$ZWaveReceiveThread] - Exception during ZWave thread.
java.lang.IllegalStateException: Queue full
at java.util.AbstractQueue.add(AbstractQueue.java:98)[:1.8.0_121]
at java.util.concurrent.ArrayBlockingQueue.add(ArrayBlockingQueue.java:312)[:1.8.0_121]
at org.openhab.binding.zwave.internal.protocol.ZWaveTransactionManager.processReceiveMessage(ZWaveTransactionManager.java:345)[200:org.openhab.binding.zwave:2.1.0.201704162057]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.incomingPacket(ZWaveController.java:1215)[200:org.openhab.binding.zwave:2.1.0.201704162057]
at org.openhab.binding.zwave.handler.ZWaveControllerHandler.incomingMessage(ZWaveControllerHandler.java:636)[200:org.openhab.binding.zwave:2.1.0.201704162057]
at org.openhab.binding.zwave.handler.ZWaveSerialHandler$ZWaveReceiveThread.run(ZWaveSerialHandler.java:320)[200:org.openhab.binding.zwave:2.1.0.201704162057]