Cheap Chinese WIFI module
Moderators: leecollings, remb0
-
- Posts: 1601
- 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
Try it in a few days to...
What is the switch i need to set the Sonoff?
Whit the Espeasy settings
What is the switch i need to set the Sonoff?
Whit the Espeasy settings
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: 1601
- 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
Please..alexsh1 wrote: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
Alexsh
Where do in need to place the screwdirver??
I do have a 5 pins Sonoff..
Is there a other option.
Is there some that have a good how to..
I try to flash 3 sonoff with 3 different USB TTL ,..
And no succes with all...
some one have a idea/???
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
Re: Cheap Chinese WIFI module
Read this article? http://tech.scargill.net/more-sonoff/Derik wrote:some one have a idea/???
-
- Posts: 4
- Joined: Wednesday 10 August 2016 8:12
- Target OS: Windows
- Domoticz version:
- Location: South Australia
- Contact:
Re: Cheap Chinese WIFI module
Has anybody tried putting espeasy on one of these sonoff switch/temp+humidty modules? https://www.itead.cc/sonoff-th.html
Software: Win2012R2, Domoticz, Mosquitto, Koenkk Zigbee2MQTT, Broadlink Python Plugin.
Hardware:CurrentCost128 3x IAMs, 5x Temperature sensor Wemos D1 Mini with 'ESPEasy', Zigbee via CC2531, ArduinoMega RFLink Gateway, Broadlink RM Mini3
Hardware:CurrentCost128 3x IAMs, 5x Temperature sensor Wemos D1 Mini with 'ESPEasy', Zigbee via CC2531, ArduinoMega RFLink Gateway, Broadlink RM Mini3
-
- 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
Sorry, I have just seen this post.Derik wrote:Please..alexsh1 wrote: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
Alexsh
Where do in need to place the screwdirver??
I do have a 5 pins Sonoff..
Is there a other option.
Is there some that have a good how to..
I try to flash 3 sonoff with 3 different USB TTL ,..
And no succes with all...
some one have a idea/???
No, there is no other way, unless you want to solder a wire (this is what I did at the end) - this is extremely difficult one due to the size of the board so unless you are comfortable with this, do not try to do it as you may destroy the board.
This is the fix for WiFi + 433Mhz version.
Find R21 pads with a magnifying glass. You have to touch the R21 pads with a screw driver BEFORE powering the board with 3.3V
DO NOT POWER THE BOARD WITH 220-240V!!!
This is the reference:
http://tech.scargill.net/more-sonoff/
-
- 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
These ones must have the same board, but you will be on your own - I have not seen anyone modifying them. Why ordering it if you can order a WiFi one and add DHT11/22 with easyesp?Driftvk wrote:Has anybody tried putting espeasy on one of these sonoff switch/temp+humidty modules? https://www.itead.cc/sonoff-th.html
- Westcott
- Posts: 423
- Joined: Tuesday 09 December 2014 17:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: UK - Glos
- Contact:
Re: Cheap Chinese WIFI module
Hi All,
Much to my surprise I've managed to flash my Wifi-only Sonoff with ESPEasy v147, and configure it with its web interface.
I've managed to follow the "Tutorial Domoticz Switch" all the way to the bottom, apart from working out how to "toggle GPIO-0 " in the Testing section.
So, how to do the next step - control it from Domoticz?
Is there a tutorial for this anywhere?
UPDATE!
Added MQTT hardware to Domoticz, and can update a dummy switch with mosquitto-pub.
Much to my surprise I've managed to flash my Wifi-only Sonoff with ESPEasy v147, and configure it with its web interface.
I've managed to follow the "Tutorial Domoticz Switch" all the way to the bottom, apart from working out how to "toggle GPIO-0 " in the Testing section.
So, how to do the next step - control it from Domoticz?
Is there a tutorial for this anywhere?
UPDATE!
Added MQTT hardware to Domoticz, and can update a dummy switch with mosquitto-pub.
Zwave - Sigma Z+ stick, Fibaro, Horstmann, Neo Coolcam, EUROtronic
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
- Westcott
- Posts: 423
- Joined: Tuesday 09 December 2014 17:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: UK - Glos
- Contact:
Re: Cheap Chinese WIFI module
Further update!
No need for any of that MQTT malarkey!
It can be done by adding 'Devices' and 'Rules' with the ESPeasy web interface, and setting Domoticz Switch on/off actions to something like -
http://172.16.176.25/control?cmd=event,TurnOn
where TurnOn is a Rule.
And GPIO-0 is the pushbutton on a Sonoff 5-pin Wifi device.
No need for any of that MQTT malarkey!
It can be done by adding 'Devices' and 'Rules' with the ESPeasy web interface, and setting Domoticz Switch on/off actions to something like -
http://172.16.176.25/control?cmd=event,TurnOn
where TurnOn is a Rule.
And GPIO-0 is the pushbutton on a Sonoff 5-pin Wifi device.
Zwave - Sigma Z+ stick, Fibaro, Horstmann, Neo Coolcam, EUROtronic
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
Re: Cheap Chinese WIFI module
Is there any info on how to controll the wifi module without flashing it with ESPeasy?
It seems like a timeconsuming prosess if its possible to send normal http commands to it from a dummyswitch in domoticz.
It seems like a timeconsuming prosess if its possible to send normal http commands to it from a dummyswitch in domoticz.
-
- Posts: 142
- Joined: Tuesday 24 January 2017 23:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Australia
- Contact:
Re: Cheap Chinese WIFI module
Second tore Andre, surely we should just be able to directly send http to this?
I can see them on wish for $8 might buy a couple to see,
If any dev guys want to try adding direct support to domoticz pm me and I'll see send you a couple of them.
I can see them on wish for $8 might buy a couple to see,
If any dev guys want to try adding direct support to domoticz pm me and I'll see send you a couple of them.
V 2020.2 RPI 3
RFlink 334 mhz
mysensors
broadlink
Mirabella Genio Globes
RFlink 334 mhz
mysensors
broadlink
Mirabella Genio Globes
- sincze
- Posts: 1300
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: Cheap Chinese WIFI module
tnx, for your post.superczar wrote: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
Ordered 2 to try to do the same
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
- sincze
- Posts: 1300
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: Cheap Chinese WIFI module
Both Sonoff Items arrved today.
- Soldered 5 pin header to the board and followed these instructions. (used some flux)
- https://www.youtube.com/watch?v=fN_QKOWvG1s
- My 5 pin devices have the PUSH button attached to GPIO0 so putting it in flash mode is easy.
They are now both running ESPEasy.
Just some images I also used to figure out the pins.
- Soldered 5 pin header to the board and followed these instructions. (used some flux)
- https://www.youtube.com/watch?v=fN_QKOWvG1s
- My 5 pin devices have the PUSH button attached to GPIO0 so putting it in flash mode is easy.
They are now both running ESPEasy.
Just some images I also used to figure out the pins.
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
-
- Posts: 200
- Joined: Wednesday 20 November 2013 20:36
- Target OS: Linux
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Cheap Chinese WIFI module
Still doubting on how reliable these units are for €8. Something with 220v on it I would definitly want to trust.
Verzonden vanaf mijn iPhone met Tapatalk
Verzonden vanaf mijn iPhone met Tapatalk
- sincze
- Posts: 1300
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: Cheap Chinese WIFI module
A well I buy CoCo 433mhz (3) units for 15 euro's including a remote at the Hornbach..krizzz wrote:Still doubting on how reliable these units are for €8. Something with 220v on it I would definitly want to trust.
Verzonden vanaf mijn iPhone met Tapatalk
They also switch 220v
So divide 15/3. From that point of vieuw 8 euro's seems reasonable.
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
-
- Posts: 200
- Joined: Wednesday 20 November 2013 20:36
- Target OS: Linux
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Cheap Chinese WIFI module
But probably Hornbach only sells units aproved by TUV after testing. I even have a little bit more faith in this...
Verzonden vanaf mijn iPhone met Tapatalk
Verzonden vanaf mijn iPhone met Tapatalk
- sincze
- Posts: 1300
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: Cheap Chinese WIFI module
+1 for you Krizzkrizzz wrote:But probably Hornbach only sells units aproved by TUV after testing. I even have a little bit more faith in this...
Verzonden vanaf mijn iPhone met Tapatalk
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
-
- Posts: 200
- Joined: Wednesday 20 November 2013 20:36
- Target OS: Linux
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Cheap Chinese WIFI module
But please know I am going to try and find a job for the switches to do . Also the sonoff's are not (yet) mentioned in the RAPEX http://ec.europa.eu/consumers/consumers ... dex_en.htm database of the EU. So it still looks like there safe. But I would rather see a test reportsincze wrote:+1 for you Krizzkrizzz wrote:But probably Hornbach only sells units aproved by TUV after testing. I even have a little bit more faith in this...
Verzonden vanaf mijn iPhone met Tapatalk
Verzonden vanaf mijn iPhone met Tapatalk
- sincze
- Posts: 1300
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: Cheap Chinese WIFI module
That is a nice link. Really informative.krizzz wrote: But please know I am going to try and find a job for the switches to do . Also the sonoff's are not (yet) mentioned in the RAPEX http://ec.europa.eu/consumers/consumers ... dex_en.htm database of the EU. So it still looks like there safe. But I would rather see a test report
Verzonden vanaf mijn iPhone met Tapatalk
Do you use it a lot?
I heard of it but had never seen it.
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
-
- Posts: 200
- Joined: Wednesday 20 November 2013 20:36
- Target OS: Linux
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Cheap Chinese WIFI module
Me neither! Some guy at another forum poster the link. What i am curious about is when something Spears on the list. When somebody's house burned down?sincze wrote:That is a nice link. Really informative.krizzz wrote: But please know I am going to try and find a job for the switches to do . Also the sonoff's are not (yet) mentioned in the RAPEX http://ec.europa.eu/consumers/consumers ... dex_en.htm database of the EU. So it still looks like there safe. But I would rather see a test report
Verzonden vanaf mijn iPhone met Tapatalk
Do you use it a lot?
I heard of it but had never seen it.
Verzonden vanaf mijn iPhone met Tapatalk
- sincze
- Posts: 1300
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: Cheap Chinese WIFI module
Just the settings for easy_setup.
And at the bottom the settings for the virtual switch in domoticz.
Ow and for the internal LED
##UPDATE:
On the ESP Easy Under Tools -> Advanced, I enabled rules. http://www.letscontrolit.com/wiki/index ... rial_Rules
Under rules I entered:
In this way If I call from domoticz:
This will switch on / off the lamp AND the LED light inside of the Sonoff box. .
In addition pressing the PUSH button on the Sonoff will trigger the light as well and update the domoticz status.
A Slight modification in the device name was needed.
ESPEasy settings for switching a bulb for example.And at the bottom the settings for the virtual switch in domoticz.
Code: Select all
On: http://IP_Address_of_Sonoff/control?cmd=GPIO,12,1
Off: http://IP_Address_of_Sonoff/control?cmd=GPIO,12,0
Code: Select all
On: http://IP_Address_of_Sonoff/control?cmd=GPIO,13,0
Off http://IP_Address_of_Sonoff/control?cmd=GPIO,13,1
On the ESP Easy Under Tools -> Advanced, I enabled rules. http://www.letscontrolit.com/wiki/index ... rial_Rules
Under rules I entered:
Code: Select all
on lamp_on do
gpio,12,1
gpio,13,0
endon
on lamp_off do
gpio,12,0
gpio,13,1
endon
on SW_1#Switch do
if [SW_1#Switch]=1
gpio,12,1
gpio,13,0
else
gpio,12,0
gpio,13,1
endif
endon
Code: Select all
On: http://IP_Address_of_Sonoff/control?cmd=event,lamp_on
Off: http://IP_Address_of_Sonoff/control?cmd=event,lamp_on
In addition pressing the PUSH button on the Sonoff will trigger the light as well and update the domoticz status.
A Slight modification in the device name was needed.
Last edited by sincze on Tuesday 28 February 2017 22:48, edited 4 times in total.
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
Who is online
Users browsing this forum: No registered users and 0 guests