Everspring HSM02 door/window sensor
-
- Posts: 160
- Joined: 03 May 2014 07:02
Everspring HSM02 door/window sensor
Yesterday, I picked up one of these sensors to experiment and learn with. It is included and associated with both group 1 and 2. In the Blue UI, I can see the sensor and opening and closing the contacts shows up immediately in the UI. I am able to read the battery status from a web browser but I can't figure out how to read the status of the sensor. I figured that http://127.0.0.1:8083/Run/zway.devices[ ... evel.value might get it but it gives me an error "Cannot read property 'value' of undefined.
Re: Everspring HSM02 door/window sensor
.SensorBinary.data[1].level.value, if it is SensorBinary version 1. Otherwise the number might be different. Check the entire .SensorBinary.data tree and look which numeric child nodes it has.
-
- Posts: 160
- Joined: 03 May 2014 07:02
Re: Everspring HSM02 door/window sensor
Is there a method to figuring out what commands have what attributes to them? I have the code running now to catch the change and update the rest of my system. So many things to figure out on each new piece. Still working the Kwikset lock....
Re: Everspring HSM02 door/window sensor
You can open http://ip:8083/ZWaveAPI/Data/0 and see the entire tree of devices, instances and command classes with all existing data. In most cases all possible data holders are created after interview, but sometimes data holders are created dynamically after data is received from device.
-
- Posts: 160
- Joined: 03 May 2014 07:02
Re: Everspring HSM02 door/window sensor
Between looking at the logs and the data tree, I'm quickly coming to the conclusion that this is a busy little controller. I am eventually going to have to figure out a better way of communicating between the Z-Way program and my application. For the moment however, I am getting closer to what I need to figure out in order to get it to work. Thought I had the lock figured out but it tossed me another curve ball....