AEOTEC Door / Window Sensor 6 (model ZW112) Topic is solved

For Z-Wave related questions in Domoticz

Moderator: leecollings

User avatar
urbaxe
Posts: 17
Joined: Tuesday 24 May 2016 0:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10311
Location: Sweden
Contact:

AEOTEC Door / Window Sensor 6 (model ZW112)

Post 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 6438 times
Device list
Device list
device_list.png (8.69 KiB) Viewed 6438 times

Domoticz version Version: 3.5181
Build Hash: 5127f7f
System: Raspberry Pi
Browser: Chrome
Domoticz SD card image: Yes
Last edited by urbaxe on Monday 30 May 2016 9:02, edited 2 times in total.
Raspberry Pi 3/v4.9700 - Tellstick DUO - Aeon Z-Stick gen5 - RaspBee - Wall mounted tablet + Imperihome - MANY switches/sensors
User avatar
gizmocuz
Posts: 2547
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post 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
Quality outlives Quantity!
User avatar
urbaxe
Posts: 17
Joined: Tuesday 24 May 2016 0:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10311
Location: Sweden
Contact:

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

Post 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
Raspberry Pi 3/v4.9700 - Tellstick DUO - Aeon Z-Stick gen5 - RaspBee - Wall mounted tablet + Imperihome - MANY switches/sensors
User avatar
gizmocuz
Posts: 2547
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post 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
Quality outlives Quantity!
User avatar
urbaxe
Posts: 17
Joined: Tuesday 24 May 2016 0:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10311
Location: Sweden
Contact:

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

Post by urbaxe »

Here is the log with sensor parameter Basic Set and Sensor Binary Report
OZW_Log.txt
(71.63 KiB) Downloaded 154 times
Raspberry Pi 3/v4.9700 - Tellstick DUO - Aeon Z-Stick gen5 - RaspBee - Wall mounted tablet + Imperihome - MANY switches/sensors
User avatar
gizmocuz
Posts: 2547
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post by gizmocuz »

Does not work either?
Quality outlives Quantity!
User avatar
gizmocuz
Posts: 2547
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post 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...
Quality outlives Quantity!
User avatar
urbaxe
Posts: 17
Joined: Tuesday 24 May 2016 0:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10311
Location: Sweden
Contact:

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

Post 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
Raspberry Pi 3/v4.9700 - Tellstick DUO - Aeon Z-Stick gen5 - RaspBee - Wall mounted tablet + Imperihome - MANY switches/sensors
User avatar
gizmocuz
Posts: 2547
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post 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...)
Quality outlives Quantity!
User avatar
urbaxe
Posts: 17
Joined: Tuesday 24 May 2016 0:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10311
Location: Sweden
Contact:

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

Post 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.
Raspberry Pi 3/v4.9700 - Tellstick DUO - Aeon Z-Stick gen5 - RaspBee - Wall mounted tablet + Imperihome - MANY switches/sensors
User avatar
gizmocuz
Posts: 2547
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post 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
Quality outlives Quantity!
User avatar
urbaxe
Posts: 17
Joined: Tuesday 24 May 2016 0:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10311
Location: Sweden
Contact:

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

Post 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 6290 times
Raspberry Pi 3/v4.9700 - Tellstick DUO - Aeon Z-Stick gen5 - RaspBee - Wall mounted tablet + Imperihome - MANY switches/sensors
User avatar
gizmocuz
Posts: 2547
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post by gizmocuz »

Thanks for the feedback, as said, this was suggested in my second answer..
Quality outlives Quantity!
Olgmo
Posts: 23
Joined: Tuesday 28 June 2016 12:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Norway
Contact:

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

Post 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.
arjanm83
Posts: 14
Joined: Tuesday 15 November 2016 17:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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?
leoncornelissen
Posts: 24
Joined: Monday 27 April 2015 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8258
Location: Netherlands
Contact:

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

Post 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?
Attachments
OZW.log
(58.51 KiB) Downloaded 111 times
manutremo
Posts: 69
Joined: Saturday 19 November 2016 17:02
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

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

Post 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?
arjanm83
Posts: 14
Joined: Tuesday 15 November 2016 17:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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.
arjanm83
Posts: 14
Joined: Tuesday 15 November 2016 17:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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.
mjdb
Posts: 71
Joined: Thursday 12 January 2017 13:38
Target OS: Raspberry Pi / ODroid
Domoticz version: all beta
Location: NL - Pijnacker
Contact:

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

Post 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...
- - - - - - - - - - -
2 x Domoticz on Raspberry Pi; 2 x RFXtrx433; Aeotec Z-Stick
KlikAanKlikUit ICS-2000 as Relay
Aeotec MultiSensors 6; Danfoss Z Thermostats 014G0013; Kaku Switches, Z-wave Switches
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest