Earlier this month, I received a Sonoff ZBBridge Zigbee gateway, a motion sensor, and a Sonoff T2 wireless switch in order to set up everything to work as a motion activated light using Zigbee and WiFi through the eWelink Android app and cloud service. You can check out the first post to have a closer look at the hardware and accessories.
We’ve now had time to configure everything and will report the results of the project in this post. The idea is basically to detect motion with the Zigbee sensor, which then transmits the info through the gateway, and the T2 switch is controlled by the eWelink cloud.
Last time around, I thought I had a switch with a neutral wire at home, but I did not check in detail enough, and I’ve been unable to use it.
Without suitable switches in my home, it was not practical to rewire a switch with neutral especially I’m renting. So I asked somebody if they had a gang with a light switch and a socket that would ensure the neutral wire is present.
Let’s start by installing Sonoff T2 2-gang switch compatible with the US standard that is also used in Thailand. First, we’ll need to remove the cover…
There was a lot of confusion about that, and they did not feel confident to install it, especially considering the safety issue, so an electrician friend did the wiring and electrical installation connecting switch 2, and left switch 1 unused, at least for now.
The light switches are perfectly visible at night thanks to the blue LEDs.
The rest of the hardware installation is much easier. A USB to micro USB cable is used to power the gateway…
The next step is to install the eWelink app for Android and set up all three devices. Let’s start with Sonoff Zigbee bridge using the Quick Paring mode, where you’ll be asked to select a 2.4 GHz WiFi and input the password before the app tries to connect and configure the gateway.
The same process can be repeated for the Sonoff T2, except the method to enter pairing mode is to long-press one of the switches.
At this point, we can see motion events in the app or in notifications (if enabled), and control the light from Android.
The person at the “test home” had more difficulties when trying to pair the Sonoff T2 switch, apparently because she selected the wrong SSID, and the “pairing mode” concept took a while to understand. But after two evenings, everything was working, including the motion-activated light.
In order to turn on and off the light automatically with motion, we can use the Scene menu (aka Smart Scenes) in the eWelink app with one scene to turn the light on upon motion detection, and another to turn it off if motion is not detected anymore. I sent the following instructions…
Ideally, we would have to add a light sensor to make it work a night and other low-light conditions.
But the Scenes now used at the test home are slightly different since the delay is not necessary, as there’s already a delay of a few minutes before the light is switched off, and the effective period to turn the light off can be 24 hours. It does not matter.
But at least, the motion activated light is now working just fine.
At least for the demo. I was told one night the sensor stopped working, and they had to set it up again, as well as the Scenes. After that little hiccup, I’ve been told it’s been working for several days. Sadly, the sensor appears to be offline again today when looking remotely. The Zigbee gateway, clearly visible in the video above, had been moved to another location indoor, I’m told about 5 meters from the motion sensor, so it could be an explanation. I’ll try to have to move closer to see if the solution can be made more reliable. The specifications of the sensor indicate a 6-meter range, but I was told the light will only turn on when one or two meters away from the sensor which seems to be confirmed by the short demo above.
I’d like to thanks ITEAD for sending the items for review. You can purchase those on ITEAD website, or alternatively on Banggood where the Sonogg ZBBridge gateway goes for $16.28, Sonoff SNZB-03 motion sensor for $9.49, and the 2-gang Sonoff T2 wireless switch used in this review for $20.08. So the total comes up to about $45 including shipping.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.