Cheap Chinese WIFI module
Moderators: leecollings, remb0
-
- Posts: 98
- Joined: Monday 28 July 2014 9:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Stockholm
- Contact:
Cheap Chinese WIFI module
Hi All,
I just found what seams to be a cheap WIFI switch on dx.com, anyone managed to control this or similar from Domoticz? And I dont have any 433 only z-wave devices to day so it would be via the WIFI that would make the trick..
http://www.dx.com/p/diy-smart-wi-fi-wir ... oUi3xXhDWI
or
http://www.dx.com/p/diy-wi-fi-wireless- ... oUiWRXhDWI
Perhaps one should not use for heavy load but for smaller, lights?
I just found what seams to be a cheap WIFI switch on dx.com, anyone managed to control this or similar from Domoticz? And I dont have any 433 only z-wave devices to day so it would be via the WIFI that would make the trick..
http://www.dx.com/p/diy-smart-wi-fi-wir ... oUi3xXhDWI
or
http://www.dx.com/p/diy-wi-fi-wireless- ... oUiWRXhDWI
Perhaps one should not use for heavy load but for smaller, lights?
/lennart
-
- Posts: 46
- Joined: Tuesday 10 December 2013 22:27
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: Cheap Chinese WIFI module
If it uses http protocol, then you could use simple scripts (ran by switch) to control it.
Orange Pi (@ Debian) / MySensors Serial / GPIO / Custom Serial 433 MHz Transmitter (for plug switches and livolo wall switches) / JSON&Bash API scripts
- Keptenkurk
- Posts: 103
- Joined: Wednesday 21 August 2013 17:24
- Target OS: -
- Domoticz version:
- Location: Waalre, The Netherlands
- Contact:
Re: Cheap Chinese WIFI module
Lennart,
Both units use a ESP8266 (i like the Sonoff better) so have a look at ESP8266 posts to see how to interact with it from Domoticz.
You could even run micropython on it. BTW also available at Banggood
/paul
Both units use a ESP8266 (i like the Sonoff better) so have a look at ESP8266 posts to see how to interact with it from Domoticz.
You could even run micropython on it. BTW also available at Banggood
/paul
Re: Cheap Chinese WIFI module
But that requires connection to the serial port to re-program the module.Keptenkurk wrote: You could even run micropython on it. BTW also available at Banggood
- Keptenkurk
- Posts: 103
- Joined: Wednesday 21 August 2013 17:24
- Target OS: -
- Domoticz version:
- Location: Waalre, The Netherlands
- Contact:
Re: Cheap Chinese WIFI module
If you search through the micropython link it says : This box, has a switch, light, and a relay on board. The the serial port is run to the edge ready for headers. The switch is is on GPIO0 so all you have to do is solder some headers and hold the button down to reflash it. It runs my micropython perfectly.
Haven't seen one myself but well worth to give it a go. I'll order one to find out!
/paul
Haven't seen one myself but well worth to give it a go. I'll order one to find out!
/paul
-
- Posts: 98
- Joined: Monday 28 July 2014 9:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Stockholm
- Contact:
Re: Cheap Chinese WIFI module
Thx, but to complicated for my skill level... Well, just an idea, will stay with z-wave for now...
/lennart
- Keptenkurk
- Posts: 103
- Joined: Wednesday 21 August 2013 17:24
- Target OS: -
- Domoticz version:
- Location: Waalre, The Netherlands
- Contact:
Re: Cheap Chinese WIFI module
Thanks for the pointers anyway!
/paul
/paul
-
- Posts: 158
- Joined: Saturday 11 January 2014 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Cheap Chinese WIFI module
Very nice module this sonoff!
I soldered the pin-headers at j1 and flashed espeasy on it.
It has 512kB 1MB flash size.
I'm thinking of cramming an ACS712 for current measuring in to this module. Have to investigate available pins.
I soldered the pin-headers at j1 and flashed espeasy on it.
It has 512kB 1MB flash size.
I'm thinking of cramming an ACS712 for current measuring in to this module. Have to investigate available pins.
Last edited by Raspberry Piet on Monday 25 January 2016 22:12, edited 1 time in total.
-
- Posts: 1
- Joined: Saturday 15 March 2014 12:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2.4223
- Contact:
Re: Cheap Chinese WIFI module
Do any of you know if the RfxTrx433 supports the "Sonoff-protocol"?
And yes, the Sonoff looks pretty interesting..and cheap..
And yes, the Sonoff looks pretty interesting..and cheap..

-
- Posts: 158
- Joined: Saturday 11 January 2014 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Cheap Chinese WIFI module
Don't know about the 433Mhz Sonoff-protocol.Karelin wrote:Do any of you know if the RfxTrx433 supports the "Sonoff-protocol"?
And yes, the Sonoff looks pretty interesting..and cheap..
My Sonoff module is a wifi-only version.
-
- Posts: 39
- Joined: Wednesday 31 December 2014 12:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Cheap Chinese WIFI module
Piet,Raspberry Piet wrote:Very nice module this sonoff!
I soldered the pin-headers at j1 and flashed espeasy on it.
It has 512kB 1MB flash size.
I'm thinking of cramming an ACS712 for current measuring in to this module. Have to investigate available pins.
Do you have de model with wifi and 433?
Raspberry Pi (3x)
Master Domoticz installed on a Synology
RFXCOM RFXtrx433E USB
RFLink
USB Z-Wave Mini Adapter
Mi-light
QuinLED
Landis+Gyr ZME120ACd
Kamstrup_M401
USB-IR-Schreib-Lesekopf Alecto WS1700
Watermeter with TCRT5000
Kodi
DS18B20
Master Domoticz installed on a Synology
RFXCOM RFXtrx433E USB
RFLink
USB Z-Wave Mini Adapter
Mi-light
QuinLED
Landis+Gyr ZME120ACd
Kamstrup_M401
USB-IR-Schreib-Lesekopf Alecto WS1700
Watermeter with TCRT5000
Kodi
DS18B20
-
- Posts: 158
- Joined: Saturday 11 January 2014 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Cheap Chinese WIFI module
Nope, wifi only version here.jossie67 wrote:Piet,Raspberry Piet wrote:Very nice module this sonoff!
I soldered the pin-headers at j1 and flashed espeasy on it.
It has 512kB 1MB flash size.
I'm thinking of cramming an ACS712 for current measuring in to this module. Have to investigate available pins.
Do you have de model with wifi and 433?
Flashed OTA MiniESPEasy on it. Now it will be easy to connect i2c devices.
Re: Cheap Chinese WIFI module
Just flashed one with my own MQTT image after modifying for this hardware.
Works great, and cheap too
Works great, and cheap too
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: Cheap Chinese WIFI module
Just a question about this (i ordre 6pcs) but 1 question remain.
About output, this a 230v output with L+N ? Like can be a kaku wall switch ?
About output, this a 230v output with L+N ? Like can be a kaku wall switch ?
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Re: Cheap Chinese WIFI module
Yes, L/N in, 2 wire load out.deennoo wrote:Just a question about this (i ordre 6pcs) but 1 question remain.
About output, this a 230v output with L+N ? Like can be a kaku wall switch ?
-
- Posts: 784
- Joined: Wednesday 10 December 2014 13:06
- Target OS: Linux
- Domoticz version: beta
- Location: Bordeaux France
- Contact:
Re: Cheap Chinese WIFI module
Great thx
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
- bbqkees
- Posts: 407
- Joined: Sunday 17 August 2014 21:01
- Target OS: Linux
- Domoticz version: 4.1x
- Location: The Netherlands
- Contact:
Re: Cheap Chinese WIFI module
I succesfully reflashed a Sonoff module to ESPEasy R78 with an Arduino Uno.
This might also be useful for others when you do not have a usb-serial cable at hand.
During the entire procedure below, do not connect the mains voltage!
First solder the 4-pin header. Then connect 3.3V and GND of the Arduino to the header.
Pin near switch: 3.3V
Rx
Tx
GND
(for pinout also see internet).
Then connect the 2 remaining wires to Tx and Rx of the Arduino (Arduino pin 1 and 0).
Furthermore you need to connect the reset pin of the Arduino to ground.
Plug in the Arduino to the pc and (download and) open the EspEasy flash tool (flash.cmd).
Choose the COM port of the Arduino, set the size to 1024 and choose a revision (78).
Now before you press enter press the button on the Sonoff and keep it pressed until the flash tool is ready (might not be necessary to keep it pressed al the time).
If the flash tool gives an error switch the wires on Tx and Rx and try again.
If it still does not work, unplug the 3.3V wire on the Sonoff, and while pressing the button on Sonoff reconnect the 3.3V wire.
Then flash it again.
If it worked you get the ESP0 network.
This might also be useful for others when you do not have a usb-serial cable at hand.
During the entire procedure below, do not connect the mains voltage!
First solder the 4-pin header. Then connect 3.3V and GND of the Arduino to the header.
Pin near switch: 3.3V
Rx
Tx
GND
(for pinout also see internet).
Then connect the 2 remaining wires to Tx and Rx of the Arduino (Arduino pin 1 and 0).
Furthermore you need to connect the reset pin of the Arduino to ground.
Plug in the Arduino to the pc and (download and) open the EspEasy flash tool (flash.cmd).
Choose the COM port of the Arduino, set the size to 1024 and choose a revision (78).
Now before you press enter press the button on the Sonoff and keep it pressed until the flash tool is ready (might not be necessary to keep it pressed al the time).
If the flash tool gives an error switch the wires on Tx and Rx and try again.
If it still does not work, unplug the 3.3V wire on the Sonoff, and while pressing the button on Sonoff reconnect the 3.3V wire.
Then flash it again.
If it worked you get the ESP0 network.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 169
- Joined: Wednesday 30 September 2015 11:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v3.8975
- Location: United Kingdom
- Contact:
Re: Cheap Chinese WIFI module
I have Sonoff RF and this is not an easy process to flash this one as one has to touch the R21 pads with a screwdriver (pulls GPIO0 to GND to enter the flash mode) on the PCB before giving a 3.3 V power via FTDI
NOTE: DO NOT PLUG 240V while uploading the firmware!
I still have to figure out the RF part - I found this https://www.itead.cc/blog/itead-intelli ... or-arduino
I manage to pair but still cannot switch on/off which is very annoying.
NOTE: DO NOT PLUG 240V while uploading the firmware!
I still have to figure out the RF part - I found this https://www.itead.cc/blog/itead-intelli ... or-arduino
I manage to pair but still cannot switch on/off which is very annoying.
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Cheap Chinese WIFI module
Dear..andriej wrote:If it uses http protocol, then you could use simple scripts (ran by switch) to control it.
Do you have an example of the script?
Edit:
Is this possible without a Espeasy flash?
So i mean is there a WiFi Sonoff Api?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- Posts: 65
- Joined: Wednesday 14 January 2015 12:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: India
- Contact:
Re: Cheap Chinese WIFI module
Just tried out one with ESP_easy firmware - Was a fairly easy process if you are a little famiilar with soldering
Works far better than my flaky (and expensive) Wemos -and small enough to be housed inside the wall electrical panels
Ordering a bunch of these doohickeys
Works far better than my flaky (and expensive) Wemos -and small enough to be housed inside the wall electrical panels
Ordering a bunch of these doohickeys

Who is online
Users browsing this forum: No registered users and 1 guest