Page 1 of 2

AEOTEC Door / Window Sensor 6 (model ZW112)

Posted: Saturday 28 May 2016 15:30
by urbaxe
Hi!
Has anyone got AEOTEC Door/Window Sensor 6 http://aeotec.com/z-wave-gateways#DoorWindowSensor6 (model ZW112) to work with Domoticz on a Raspberry PI and a Aeotec Z-Stick Gen5.
I see that the sensor is not listed on the compatibility list http://www.domoticz.com/wiki/Hardware#A_2
But it is included in manufacturer_specific.xml

Code: Select all

<Product type="0002" id="0070" name="Door Window Sensor 6" config="aeotec/zw112_doorwindow6.xml" />
It is possible to include the node and it generates three devices.
The two magnets to control the on/off has no impact on any of the switches.
The switch (Door Sensor) is allways On
Therefore, it does not work.
Node list
Node list
node_list.png (33.44 KiB) Viewed 6446 times
Device list
Device list
device_list.png (8.69 KiB) Viewed 6446 times

Domoticz version Version: 3.5181
Build Hash: 5127f7f
System: Raspberry Pi
Browser: Chrome
Domoticz SD card image: Yes

Re: AEOTEC Door / Window Sensor 6 (modell ZW112)

Posted: Sunday 29 May 2016 10:08
by gizmocuz
The Gen5 door sensor is supported, had not seen the new generation one.

Is it possible you can debug openzwave, and post the log here when you open/close the door.
To do so, goto the openzwave hardware setup, and enable 'debug mode'
Now when the hardware is started, open/close the door (a few times)
The log is placed in the 'Config' folder, and named 'OZW_Log.txt'
This log can become quite large
Once you copied the log to your local disk, please disable the logging again

Also send you a PM

Re: AEOTEC Door / Window Sensor 6 (modell ZW112)

Posted: Sunday 29 May 2016 13:57
by urbaxe
I publish the log OZW_Log.txt here at the forum, as it does not contain any sensitive data.
I did a toggle as you can see att the end of logfile.
The sensor is refering to Node009
OZW_Log.txt
(69.08 KiB) Downloaded 209 times

Re: AEOTEC Door / Window Sensor 6 (modell ZW112)

Posted: Sunday 29 May 2016 14:02
by gizmocuz
Could you check a few things:

- Node 1 (the controller) is in the 'Live Line' of this node ? (most times group 1)
- Could you play with parameter 121 (set it to 'Sensor Binary Report or Basic+Report)
(you have to wake your device before you press the apply configuration button

Re: AEOTEC Door / Window Sensor 6 (modell ZW112)

Posted: Sunday 29 May 2016 16:59
by urbaxe
Here is the log with sensor parameter Basic Set and Sensor Binary Report
OZW_Log.txt
(71.63 KiB) Downloaded 154 times

Re: AEOTEC Door / Window Sensor 6 (modell ZW112)

Posted: Sunday 29 May 2016 17:00
by gizmocuz
Does not work either?

Re: AEOTEC Door / Window Sensor 6 (modell ZW112)

Posted: Sunday 29 May 2016 17:01
by gizmocuz
Do you have 'accept new hardware' enabled in the settings, you might get a new device
Else... i hope to order one in a week, but maybe someone else has an idea...

Re: AEOTEC Door / Window Sensor 6 (modell ZW112)

Posted: Sunday 29 May 2016 17:22
by urbaxe
Yes i have 'accept new hardware' enabled in the settings, but no luck geting a new device.
I did it once again.
The question is, should I return the sensors to my supplier, or should I wait for a solution.
It should not be impossible, or ...?
OZW_Log.txt
(69.83 KiB) Downloaded 149 times

Re: AEOTEC Door / Window Sensor 6 (modell ZW112)

Posted: Sunday 29 May 2016 17:24
by gizmocuz
It is probably going to work when i get my hands on it....
Or for now you have to debug the code

(Node1 is added to group 1 of the sensor ? did not see a confirmation there...)

Re: AEOTEC Door / Window Sensor 6 (modell ZW112)

Posted: Sunday 29 May 2016 17:38
by urbaxe
Not what I am aware of
This loglines occures in the Domotics log Window when doing a include node.
2016-05-29 17:29:24.245 OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: SENSOR BINARY, Label: Sensor, Instance: 0
2016-05-29 17:29:24.247 OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: BATTERY, Label: Battery Level, Instance: 1
2016-05-29 17:29:24.248 OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: ALARM, Label: Alarm Type, Instance: 1
2016-05-29 17:29:24.250 OpenZWave: Value_Added: Node: 9 (0x09), CommandClass: ALARM, Label: Alarm Level, Instance: 1
I think I'll wait until you looked at the device.
They're very discreet and smooth and I want them to be functional.
It's worth waiting for, notify as soon as you have something going on.

Re: AEOTEC Door / Window Sensor 6 (model ZW112)

Posted: Thursday 09 June 2016 7:39
by gizmocuz
It works correct.
Standard this node sends a basic-report, you need to change this to a binary report as mentioned above.

Go to the openzwave hardware setup, select the door sensor from the node table

Now change parameter 121 to 'Sensor Binary Report'

Scroll down to the button 'Apply configuration for this device', but do NOT press it yet

Wake-up your sensor by pressing on the button, the light will be green, then press the apply button

Re: AEOTEC Door / Window Sensor 6 (model ZW112)

Posted: Thursday 09 June 2016 23:13
by urbaxe
gizmocuz wrote:It works correct.
Standard this node sends a basic-report, you need to change this to a binary report as mentioned above.

Go to the openzwave hardware setup, select the door sensor from the node table

Now change parameter 121 to 'Sensor Binary Report'

Scroll down to the button 'Apply configuration for this device', but do NOT press it yet

Wake-up your sensor by pressing on the button, the light will be green, then press the apply button
Yes, I can now confirm that it works with Sensor parameter 121 set to 'Sensor Binary Report'.
My device "Door Sensor" will now go Off/On when the magnets are away and near the switch.

Thanks gizmocuz, in your interest for helping me.
Configuration_AEOTEC Door_Window_Sensor_6_(model ZW112).png
Configuration_AEOTEC Door_Window_Sensor_6_(model ZW112).png (185.61 KiB) Viewed 6298 times

Re: AEOTEC Door / Window Sensor 6 (model ZW112)

Posted: Friday 10 June 2016 8:26
by gizmocuz
Thanks for the feedback, as said, this was suggested in my second answer..

Re: AEOTEC Door / Window Sensor 6 (model ZW112)

Posted: Monday 11 July 2016 18:55
by Olgmo
I was a little disappointed that the two reed sensors on board not gave individual status. That would be great for a tilt and turn window.

Re: AEOTEC Door / Window Sensor 6 (model ZW112)

Posted: Tuesday 15 November 2016 17:42
by arjanm83
I also got my Aeon Labs ZW112 door/window sensor 6 working, but have issues showing the battery level.

First the battery level was available, but after a couple of days it didn't show anymore.
I tried setting a wake up time, enabling low battery setting, even tried polling data, but Domoticz doesn't show the battery level of the door sensor anymore.

I'm running the latest stable release of Domoticz (3.5877).
Any idea how to get the battery reports back in Domoticz?

Re: AEOTEC Door / Window Sensor 6 (model ZW112)

Posted: Monday 23 January 2017 21:49
by leoncornelissen
I still have problems with changing this value in Domoticz. When I follow the steps, no matter what I try, as soon as I press apply settings, the gen stick or my domoticz installation crashes.
What can I do to add it correctly?

Update, I first did an update and a reboot from putty. Now the update does not result in a crash but the value is not updated.
Attached my OZW_log. can someone help me in the right direction?

Update 2, I now see I have a ZW089 sensor. does that change the way of working?

Re: AEOTEC Door / Window Sensor 6 (model ZW112)

Posted: Monday 06 February 2017 1:32
by manutremo
arjanm83 wrote:I also got my Aeon Labs ZW112 door/window sensor 6 working, but have issues showing the battery level.

First the battery level was available, but after a couple of days it didn't show anymore.
I tried setting a wake up time, enabling low battery setting, even tried polling data, but Domoticz doesn't show the battery level of the door sensor anymore.

I'm running the latest stable release of Domoticz (3.5877).
Any idea how to get the battery reports back in Domoticz?
I'm having this same problem with these sensors. None of my sensors are showing battery level info. Any ideas on how to recover it?

Re: AEOTEC Door / Window Sensor 6 (model ZW112)

Posted: Monday 20 March 2017 14:07
by arjanm83
I've had a discussion by email with Aeotec about these door window sensors.
It turns out that these modules do not send battery information when waking up (when a door is opened or closed).
Also, setting wake up times does not help, because the module will still not send the battery information.
Even polling did not work for me.

Aeotec confirms this and said to be working on a firmware update. However, this could take a long time, according to them.

If you're looking for a door window sensor that will provide its battery status, then do not buy this one.

Re: AEOTEC Door / Window Sensor 6 (model ZW112)

Posted: Friday 31 March 2017 20:48
by arjanm83
Update: I discovered this module DOES send out a battery message.
But only when the low battery level is reached and when this low battery message is enabled.

This is the message I saw in one of the Aeotec Z-Stick Gen 5 firmware upgrade tools:
08:33:31.826: Received: 008 - COMMAND_CLASS_BATTERY.BATTERY_REPORT, data: FF

What do I have to do to have this message picked up by Domoticz?
Added this question to the bug forum as well.

Re: AEOTEC Door / Window Sensor 6 (model ZW112)

Posted: Tuesday 11 April 2017 19:52
by mjdb
I have four Aeotec ZW112 Door Window Sensor 6 sensors. I use Domoticz to control them.

After installing and having them work stable, I went to settings --> Hardware --> Open Z-wave --> Settings.
Select the ZW112 sensor.
Change Param 01. Low Battery Check: to "Enabled";
Change Param 121. Report Type to Send: to "Basic Set and Sensor Binary Report".
Click the Apply button.
Go to the physical sensor and press the action button for three seconds. The led should be "purple".
To be sure, I clicked the Apply button again.

Repeat this for all sensors ;-).

Now in devices the battery-level is displayed as 100% (I charged them two days ago).

I am interested to see how this develops...