OH4 Smart Zigbee Bridge Sonoff

I’m new to OH and I’m watching a lot of tutorials, unfortunately some maybe a little dated, for today’s evolutions. Even if the foundations remain…

working environment data:

Linux MKLX 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux
Version:     4.1.0.M4 (Build)

User:        openhab (Active Process 2922)
User Groups: openhab tty dialout audio bluetooth

I’m using some zigbee sensors to do some testing.
I have a zigbee bridge and would like to automate their functionality.

Sonoff Brand

  1. ZB Bridge-P (Bridge Wi-Fi, Hub Bridge…)
  2. Motion Sensor SNZB-03
  3. Smart LCD Temperature, Humidity Sensor

I used eWeLink app to connect all devices.
Via the sonoff library Sonoff Lib. I linked the account sonoff.


2023-12-08 09:39:02.845 [DEBUG] [connection.SonoffWebSocketConnection] - Websocket Sending Message:ping
2023-12-08 09:39:03.063 [DEBUG] [connection.SonoffWebSocketConnection] - Pong Response received
2023-12-08 09:39:34.907 [DEBUG] [connection.SonoffWebSocketConnection] - WebSocket message received {"action":"update","deviceid":"a480012345","apikey":"47c88....5e10","userAgent":"device","d_seq":14195,"params":{"motion":0,"trigTime":"1702024773000"}}

2023-12-08 09:39:34.909 [DEBUG] [unication.SonoffCommunicationManager] - Unable to forward state for a480012345 as no listener present

I can’t configure the bridge and sub devices???

How is it best to set things up?

Wi-Fi Mode?
Zigbee Library OH ?
Library Sonoff ?
flash Tasmota ?

Thank you!!

The ZBDongle-P isn’t compatible with the openHAB Zigbee binding at present, you’ll need the ZBDongle-E instead. You can however using the ZBDongle-P with Zigbee2MQTT, which is a little more complicated to get setup. But does work well once your done.



Yes, these links are useful. As seen in the logs this device also reacts and is displayed. How can I handle it?

I flashed it with Tasmota and formated the MQTT messages to use it in Openhab

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.