Accéder au contenu principal

Articles

Affichage des articles du 2019

ADAPTATION of RF WIFI GATEWAY USB STICK

For this new article we will adapt a new device; the SMART RF & WIFI GATEWAY or SMART HOME MODEM (difficult to have the real name with this kind of generic product ...) The shape of the stick and its theoretical abilities attracted me at first time in aliexpress , I was asking myself what kind of microcontroller handle the wifi and RF on this size. A simple package with a short user manual and the USB Stick. At the rear a link enable to download an app, but it is not the way I want to go. If with a screw driver or a knife we open it, we can see a surprise ! It seems to have an ESP on it. We can see also a buzzer, a button and 2 leds. At the right we see the 433mhz antenna with its decoder. The part of the uC back that we can see looks like a lot with the back side of an ESP12 .We see also 4 small holes that remind us the kind of programming holes present on the SONOFF devices. Do they enable to flash the chip? By checking

NEW SONOFF RFR3 as a 433toMQTT gateway?

I had the occasion to test the new Sonoff rfr3. This device is the evolution of the Sonoff RF basic. The Sonoff RFR3 act as a relay, you power it with AC and you can pilot the relay with the app provided by Sonoff. But of course this it not my goal here.   DANGER OF ELECTROCUTION   Before digging into it. I warn you about the risk of manipulating high voltage devices. You have a risk of electrocution. If you don't have the competencies call an electrician. Don't put in danger yourself, your entourage or your home. The first thing to verify was to see if i can flash OpenMQTTGateway on it, pilot the relay and check the buttons pushes. Before unmounting the SONOFF you must disconnect it from AC. As I have already done some flashing by FTDI I decided to reuse this method (I didn't tried SonOTA). There was no special issue encountered during the flashing process.  You will find hereafter the platformio used for the flashing.

SONOFF RM433 remote control with 8 buttons

It’s a nice little remote control with 8 buttons, it is powered with a 12V 27 battery. You can also buy a base, the remote fits into it by a magnet. The protocol used is compatible with OpenMQTTGateway modules below: ZgatewayRF (ESP32 or ESP8266 with an RF receiver) ZgatewaySRFB (Sonoff RF Bridge) Here is the official link:   SONOFF Official SONOFF RM433 - RF receiver for Remote Control | SONOFF Official SONOFF RM433 is a 433MHz transmitter. With it, you can remotely control the devices and appliances that can receive 433MHz RF Now if we take a look to the  power consumption  of this sensor we can see that: When sending signal 9mA during around 0.5s Sleep current less than 1uA continuously Duration estimation See relative comparison into the  list of compatible devices It should last more than 1 year with 20 actions per day. Some pictures: Power consumption when no action OpenMQTTGateway_devices_SONOFF-RM433_sensor_sleep_current.jpg 437×792 103

SONOFF DW1 door sensor (one state)

This door/window sensor is powered with a 12V 23A battery and send one signal when opened. The protocol used is compatible with these different gateways:  ZgatewayRF (ESP32 or ESP8266 with an RF receiver) ZgatewaySRFB (Sonoff RF Bridge) ZgatewayPilight (coming with WDS07 integration) Here is the official link:   SONOFF Official SONOFF DW1 - Door And Window Alarm Sensor | SONOFF Official SONOFF DW1 windows door alarm sensor can work with SONOFF RF Bridge 433 that can detect the opening status and sends alarm notification message to the app. Now if we take a look to the  power consumption  of this sensor we can see that: When sending signal 10mA during around 2s Sleep current less than 2uA continuously Duration estimation See relative comparison into the  list of compatible devices 1 It should last more than 1 year. Some pictures: Power consumption when no action OpenMQTTGateway_devices_SONOFF-DW1_current_sleep.jpg 484×969 123 KB Back