Sonoff Zigbee Bridge

When my Switch Button is off, my sonoff zigbee bridge send in API the state ‘online: true’.
Thr bridge is ON, but the switch button is OFF.

This is happen with all devices(switch, motion sensor or window sensor) configured in the bridge.
The same state is appear in the ewelink app.

What APIs? More details would be much appreciated.

I am using both:

  • Java: com.github.realzimboguy.ewelink.api.ewelink-api-java
  • Node-red: node-red-contrib-ewelink

Both implementations have a web socket listener.
Example:

Devices - ID - State:
01 Sonoff Bridge Zigbee - A - ON
01 Sonoff Switch - B - OFF
01 Sonoff Motion Sensor - C - OFF
01 Sonoff Door Sensor - D - ON

After turn off and turn on the Bridge, I received the json:
{“action”: “sysmsg”, “apikey”: “xxxx”, “params”: {“online”: true}, “deviceid”: “A”}
{“action”: “sysmsg”, “apikey”: “xxxx”, “params”: {“online”: true}, “deviceid”: “B”}
{“action”: “sysmsg”, “apikey”: “xxxx”, “params”: {“online”: true}, “deviceid”: “C”}
{“action”: “sysmsg”, “apikey”: “xxxx”, “params”: {“online”: true}, “deviceid”: “D”}

In App, the four devices appear ONLINE too. Is not true.

loops in @jiale.liu

Some suggestion ?

I have a problem with my Sonoff zigbee bridge.

I have 1 humidity sensor 2 buttons and 3 motion sensors

All Sonoff

It keeps dropping some items off.

I have to unplug and plug back in nearly daily.

Often the sensor stop working and I have to delete and re add to get them to read again.

The two switches are in the same room and 1 can stop working (goes off line)

Often the humidity temp sensor stops working and when put back online will give the same reading for days until deleted and added back

Any ideas?

What‘s the current version of your Zigbee bridge?

1.6.1

lo siento pero no hablo Ingles, yo he tenido ese mismo problema durante meses, incluso compre mas gateway ZB, para tener uno en cada planta, compre luego el gateway ZB avanzado (plus) para ver si fallaba menos, incluso conecte los gateways a SW USB para poder apagarlos y encenderlos en remoto, pero nada, al cavo del rato, se desconectavan, desde sonfoff me recomendaron, tener un dispositivo ZB tipo shitch , y lo he conctado al gateway plus, tambien he conectado varias bombillas ZB a ese gateway, y el SW ZB lo tengo en una planta de la casa diferente a la del gateway, esta configuracion me la recomendaron porque en el Gateway plus no admitia añadir mas de 11 disposiitvos, desde que hice estos cambios, a demas de poder añadir ya van por 18 dispositivos, estos ya no se me desconectan, de hecho de los 3 gateway de la antigua generacion, ya he quitado dos , y me quedan por mover los 5 dispositivos de uno de los gateways antiguos al plus, aun eventualmente se me desconecta algun dispositivo, pero ya no se si sera por problema de bateria, pero ya no es como antes que se me descnectaban 15 o 16 cada 4 o 5 horas
el tema esta en disponer de un SW ZB conectado al mismo gateway, yo ese SW ZM le he conectado una alarma, y lo utilizo como alarma avisadora en las escenas que he creado de seguridad

1.6.1

“online”:true or false,It only means that the device is online and offline, not in the on-off state.

Recently, we are also detecting the offline condition of the sub equipment. If the sub equipment is frequently offline, we can only think that it is caused by the firmware.

Still dropping 1/2 of my zigbee devices daily.

have purchased/ ordered a SONOFF NSPanel Pro Smart Home Control Panel.

That has zigbee hub in it so will try that when it arrives and let you know.