Page 1 of 1
Door window contact not working
Posted: Saturday 22 August 2020 13:48
by jvrr
Hi!
I have a Xiaomi door window sensor :
https://www.zigbee2mqtt.io/devices/MCCGQ11LM.html
In Zigbee2mqtt I see this.

- Knipsel1.JPG (53.52 KiB) Viewed 1174 times
And in Domoticz I see this:

- Knipsel2.JPG (16.81 KiB) Viewed 1174 times

- Knipsel1.JPG (53.52 KiB) Viewed 1174 times
Re: Door window contact not working
Posted: Saturday 22 August 2020 13:50
by jvrr

- Knipsel5.JPG (16.3 KiB) Viewed 1172 times

- Knipsel4.JPG (14.15 KiB) Viewed 1172 times
Re: Door window contact not working
Posted: Saturday 22 August 2020 13:56
by jvrr
Re: Door window contact not working
Posted: Saturday 22 August 2020 13:57
by jvrr
Any suggestion how I can make this work?
Re: Door window contact not working
Posted: Saturday 22 August 2020 14:01
by sammyke007
Don't you have to use Status Garagedeur = "Open" or "Closed" instead of false and true?
Also, what is your script trigger, time or device?
Door window contact not working
Posted: Saturday 22 August 2020 14:05
by Treve
Try garagedeur = on and garagedeur = off
Re: Door window contact not working
Posted: Saturday 22 August 2020 14:09
by Treve
This works for me with a KAKU doorswitch

Re: Door window contact not working
Posted: Saturday 22 August 2020 21:23
by jvrr
Alright, I'm a dumb-ass!!!!
Just found out my stupid mistake.
I must use IF-ELS off course...I had the radar symbol and select Else:

- Knipsel9.JPG (50.59 KiB) Viewed 1113 times
Re: Door window contact not working
Posted: Saturday 22 August 2020 21:24
by jvrr
Alright, I'm a dumb-ass!!!!
Just found out my stupid mistake.
I must use IF-ELS off course...I had to select the radar symbol and select Else:

- Knipsel9.JPG (50.59 KiB) Viewed 1113 times
Re: Door window contact not working
Posted: Sunday 23 August 2020 8:32
by Treve
jvrr wrote:Alright, I'm a dumb-ass!!!!
Just found out my stupid mistake.
I didn’t noticed either, I answered during shopping.