# New sonoff zigbee door sensor

**URL:** <https://community.openhab.org/t/new-sonoff-zigbee-door-sensor/106755>\
**Category:** Beginners\
**Tags:** zigbee, sonoff\
**Created:** [October 19, 2020, 5:00pm UTC](https://community.openhab.org/t/new-sonoff-zigbee-door-sensor/106755 "2020-10-19T17:00:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_gigli](https://community.openhab.org/user_avatar/community.openhab.org/martin_gigli/32/37588_2.png) [@Martin\_gigli](https://community.openhab.org/u/Martin_gigli)\
**Post date:** [October 19, 2020, 5:00pm UTC](https://community.openhab.org/t/new-sonoff-zigbee-door-sensor/106755/1 "2020-10-19T17:00:50Z")

</div>

Hi, I’m trying to pair the new sonoff zigbee door sensor, but I having troubles. First I have Opnehab version 2.5.9 in a linux sever using openhabian. I have a zigbee controller HUSBZB-1 connet to a raspberry pi usig this tutorial [Share Z-wave dongle over IP (USB over IP using ser2net / socat ) guide](https://community.openhab.org/t/share-z-wave-dongle-over-ip-usb-over-ip-using-ser2net-socat-guide/34895) . Zwave is working so the connection is stablish. If I set to pairing i can see the device,and add it (it is detect it as ewwlink ds01) . It offer me 3 channel, tamper, contact and low battery. But nothing else happend. No channel is triggerd, i don’t know if the device is some how broken, incorrectly detected or the zigbee bridge is incorrectly configurate.  
The device is show as online.  
Thanks

---

<div class="post-metadata">

**Author:** ![Martin\_gigli](https://community.openhab.org/user_avatar/community.openhab.org/martin_gigli/32/37588_2.png) [@Martin\_gigli](https://community.openhab.org/u/Martin_gigli)\
**Post date:** [October 19, 2020, 6:23pm UTC](https://community.openhab.org/t/new-sonoff-zigbee-door-sensor/106755/2 "2020-10-19T18:23:16Z")

</div>

ok, it was not my problem, it was a device problem.

---

<div class="post-metadata">

**Author:** ![Martin\_gigli](https://community.openhab.org/user_avatar/community.openhab.org/martin_gigli/32/37588_2.png) [@Martin\_gigli](https://community.openhab.org/u/Martin_gigli)\
**Post date:** [November 13, 2020, 12:30am UTC](https://community.openhab.org/t/new-sonoff-zigbee-door-sensor/106755/3 "2020-11-13T00:30:46Z")

</div>

After a new device a some testing I conclude that the problem is with the configuration of ser2net. But i don’t know why.

My /etc/ser2net.conf is very basic and copy from this forum.

```auto
3333:raw:0:/dev/ttyUSB0:115200 8DATABITS NONE 1STOPBIT
3334:raw:0:/dev/ttyUSB1:57600 8DATABITS NONE 1STOPBIT

```

socat-ttyUSB1.conf also very simple

```auto
SOCAT_DEFAULTS=-d -d -s -lf /var/log/socat.log
SOCAT_CONNECTION=pty,link=/dev/ttyUSB1,raw,user=openhab,group=dialout,mode=777 tcp:192.168.nnn.nnn:3334

```
