#19 Hacking Sonoff Basic to control four different devices | Sonoff 4Ch Channel with Sonoff Basic

Ғылым және технология

Dear Friends & followers, today we will learn " How to control 4 different devices with a single Sonoff Basic WIFI Switch" using Tasmota firmware at a very little extra cost and efforts.
Hope you will learn & enjoy watching this video. Please consider subscribing to this channel as we will together learn & share a lot of amazing stuff and ideas that are on the way. So stay connected. Thanks a lot !!!
**************************************************************
Download Tasmota.bin: ota.tasmota.com/tasmota/release/
Download Tasmotizer: github.com/tasmota/tasmotizer
GPIO Pins on Older Sonoff Basic with ESP8266 Chip:
GPIO-0: Onboard Button
GPIO-1: TX PIN
GPIO-3: RX PIN
GPIO12: Onboard Relay
GPIO13: Onboard LED
GPIO14: Free to use
GPIO Pins on Newer Sonoff Basic with ESP8285 Chip:
GPIO-0: Onboard Button
GPIO-1: TX PIN
GPIO-2: Free to Use
GPIO-3: RX PIN
GPIO12: Onboard Relay
GPIO13: Onboard LED
Home Assistant Switch Yaml:
- platform: mqtt
name: "Lamp 2"
command_topic: "cmnd/testlamps/power2"
state_topic: "stat/testlamps/POWER2"
payload_on: "ON"
payload_off: "OFF"
qos: 1
optimistic: false
retain: false
****************************************************************
Subscribe this Channel: / @the_vccground
******************************
Music: Bensound.com
Intro Music : Hope by Tobu. • Tobu - Hope (Original ...
#vccground #sonoff #sonoffbasic #sonoff4ch #sonoffhack
*********************************************
About us: Located in Delhi, India., We provide all kind of Customized Electronic and Smart Home Solutions within India and abroad. Do contact us for any Modification, Customization, Designing and Repairs of all Electronic and Smart Home Devices. Drop an email to "vccground3.3@gmail.com" with your requirements and contact details. Our team will coordinate with you soon thereafter.
*********************************************
hamari sabhi videos ko Hindi me dekhne ke liye vccground_hindi ko neeche diye link se subscribe karen
/ @vccground-hindi
saadi saariyan video nu Punjabi ch vekhan layi vccground_punjabi nu hetth ditte link naal subscribe karo ji
/ @vccground_punjabi3663
To watch all my videos in English, do subscribe vccground by clicking the following link:
/ @the_vccground
For any query, do comment below or mail me at vccground3.3@gmail.com
Thank You for appreciating my videos.

Пікірлер: 69

  • @mikewurlitzer5217
    @mikewurlitzer5217 Жыл бұрын

    Great series of videos for a very handy and flexible device. Thanks

  • @amirhayat2799
    @amirhayat27993 жыл бұрын

    Great job man, so smart . Liked subscribed...

  • @the_vccground

    @the_vccground

    3 жыл бұрын

    Thanks bro. Stay connected for more soon. ❤️👍

  • @silviocaltabiano5981
    @silviocaltabiano59813 жыл бұрын

    Top video. Tx mate.

  • @the_vccground

    @the_vccground

    3 жыл бұрын

    Thanks for the appreciation ❤️👍

  • @mdnasarudin
    @mdnasarudin2 жыл бұрын

    Good teaching

  • @jamescullins2709
    @jamescullins27092 жыл бұрын

    Great job!

  • @the_vccground

    @the_vccground

    2 жыл бұрын

    Thanks for the appreciation. Stay connected for more such projects ❤️👍

  • @thetinytrader1564
    @thetinytrader15643 жыл бұрын

    Wonderful idea 👍🙂

  • @the_vccground

    @the_vccground

    3 жыл бұрын

    Thanks for liking

  • 2 жыл бұрын

    thanks man I have the same serial adapter as you and I was wondering if I could use it with my sonoff, I will be giving this a try thanks!

  • @the_vccground

    @the_vccground

    2 жыл бұрын

    Sure. Just go ahead. It really works 😀❤️👍

  • @kanalamr
    @kanalamr9 ай бұрын

    Excellent project

  • @the_vccground

    @the_vccground

    9 ай бұрын

    Thanks Sir. ♥️👍

  • @alswift7004
    @alswift70042 жыл бұрын

    This is one of the best videos on this subject. Can I do this to a sonoff POWR2 ?

  • @the_vccground

    @the_vccground

    2 жыл бұрын

    Thanks for the appreciation. Yes, the same can be done with all Sonoff switches including POW R2.

  • @MrBobWareham
    @MrBobWareham3 жыл бұрын

    Just joined your channel love the videos and I am looking forward to more but don't like the music well done very helpful

  • @the_vccground

    @the_vccground

    3 жыл бұрын

    Thanks for the appreciation ❤️👍

  • @RichardBronosky
    @RichardBronosky Жыл бұрын

    Notes for my personal project: 5:40 8266 GPIO 9:02 2ch Relay 9:34 Wiring

  • @-______-______-
    @-______-______- Жыл бұрын

    Hi, I wonder if you can help with some further information? In your example you show how to add additional relays to 5V and GND, and the GPIO pin of choice. But how do you give the added relays the same mains AC power as the built in output/relay of the Sonoff basic? For example, if I want to add one additional relay to the sonoff, so I can address 2 separate standalone desk lamps (one with the usual standard built in relay/output of the Sonoff, and another with the additional connected relay to a different GPIO), where they both receive the necessary power to switch on and off. How is this achieved? You show that the LEDs on the relay modules switch on and off as expected, and the relays click, but how do you get the newly added relays to output the same load as the built in Sonoff relay? Thanks

  • @the_vccground

    @the_vccground

    Жыл бұрын

    Its very easy. For the second desk lamp, Connect one of its wire directly to the cold wire of your AC socket. Connect the other wire of the lamp to "COM" terminal on the second relay. Now take an additional piece of wire and connect its one end to "NO" terminal of the relay and the other end to the hot wire of your AC mains socket. Thats it. Do read and understand it twice to avoid making the wrong connections. AC Power can be dangerous if you don't have enough knowledge about it. Do join "vccground" telegram channel if you need a connection diagram for the same.

  • @-______-______-

    @-______-______-

    Жыл бұрын

    Ok thank you. I will try and understand this further. And will join the group.

  • @user-cq4yd7mi1b
    @user-cq4yd7mi1b2 жыл бұрын

    it is great job man, thanks a lot, Can I flash my own firmware (bin file) to Sonoff devices and control them with my own application.

  • @the_vccground

    @the_vccground

    2 жыл бұрын

    Yes, definitely. Thanks for the appreciation ❤️👍

  • @n.r.2258
    @n.r.22583 жыл бұрын

    Can I put 1 or 2 additional temp.sensors on it and get I the reading of these 3 separate temperatures ?

  • @the_vccground

    @the_vccground

    3 жыл бұрын

    No, one sensor per switch. Tasmota limitations 🙄

  • @agudgi
    @agudgi2 жыл бұрын

    LOL So annoyed with myself... I knew all this, but have been brainwashed by the new minis, the duals etc. Thanks for the reminder!

  • @the_vccground

    @the_vccground

    2 жыл бұрын

    Haha. Now let the creator inside you take control of all this again... ❤️👍

  • @atabatabaee
    @atabatabaee3 жыл бұрын

    nice job , can sonoff step down convertor support driving 4 relays?

  • @the_vccground

    @the_vccground

    3 жыл бұрын

    Yes, I have tested with upto 9 relays and it worked well.👍

  • @lcarter194
    @lcarter1942 жыл бұрын

    Thanks for the details .. How can I make a SPST switch for a button?

  • @the_vccground

    @the_vccground

    2 жыл бұрын

    In tasmota configuration >>configure module, select "Switch" in place of a "button". That's it.

  • @user-bw9bh2xb8v
    @user-bw9bh2xb8v3 жыл бұрын

    Is there any simple way to install a DHT11 sensor to SONOFF by just a firmware update ot set it in motion ?

  • @the_vccground

    @the_vccground

    3 жыл бұрын

    Buy Sonoff TH. It's the most simple way...

  • @ellocovoip
    @ellocovoip2 жыл бұрын

    Hi Man, I wonder if when you configure GPIO14 as switch this could be visible in Tasmota? i mean, I would like to use this input to connect a wired door sensor

  • @the_vccground

    @the_vccground

    2 жыл бұрын

    Yes, Let it be visible, but it will work perfectly fine as a door sensor when connected to a Reed switch.

  • @ellocovoip

    @ellocovoip

    2 жыл бұрын

    @@the_vccground thank for your answer...when i put in GPIO14 switch i only can control a relay...but in Tasmota I can't see that switch. I don't know if I have to configure something else

  • @ellocovoip

    @ellocovoip

    2 жыл бұрын

    Uhmmm... When i say Tasmota i am talking about Home Assistant integration...I have no tested using commands...I will do...thanks

  • @the_vccground

    @the_vccground

    2 жыл бұрын

    @@ellocovoip To add your switch to Tasmota integration in home assistant, go to Tasmota device console and type 'setoption19 0' or (so19 0). This will add your device to Tasmota Integration.

  • @akeelfazal1968
    @akeelfazal19682 жыл бұрын

    Hi friend.please need your help.i have a dual sonoff .need to do interlock mood timer can do it?

  • @the_vccground

    @the_vccground

    2 жыл бұрын

    I have not understood what exactly you want to ask...?

  • @hehahu-wx2gn
    @hehahu-wx2gn6 ай бұрын

    if we configure any pin to pwm. is there extra option to choose frequency and duty cycle of pwm?

  • @the_vccground

    @the_vccground

    6 ай бұрын

    In Tasmota, for PWM, you can select light, fader or dimmer and it will show you a slider to control the light brightness or dimming control.

  • @hehahu-wx2gn

    @hehahu-wx2gn

    6 ай бұрын

    @@the_vccground so its only for light work? pwm can be used to drive mosfet or servo amd stepper. so tasmota cant be used for that?

  • @the_vccground

    @the_vccground

    6 ай бұрын

    @@hehahu-wx2gn Tasmota can be used for servos and stepper motors. For more details, check out this link tasmota.github.io/docs/Blinds-and-Shutters/

  • @hehahu-wx2gn

    @hehahu-wx2gn

    6 ай бұрын

    @@the_vccground i really appriciate your fast reply. and thanks for giving your time and effort. i give it a try today and installed tasmota firmware on bk7231n module to practice with its interface. my conclusion . 1. only ready setting for pins like led or pwm or relay etc. i cant go inside any option to modify like to make delay time or even to control the pwm output frequency. its all group of ready made choices u cant modify any choice. 2. when u use several pwm pins then the firmware automatically convert the buttons of 3 output pwms into one slider for rgb bulb control. like it say if u want to use multiple pwm u can use it for rgb light only. so funny. 3. any further change u want to make it says submit to github. so i think next step will be paid not free. while the light bulb that contains the module is cheaper than the module price or same. and their cloud and app free. anyway my final question. is there any free cloud app can control tasmota and change buttons and control output pwms frequency and allow me to use for my own purpose? coz the firmware allow module to output 2 values of frequencies for pwms 1 for servos and 1 for light dimming and rgb. thanks

  • @mikewurlitzer5217
    @mikewurlitzer5217 Жыл бұрын

    Ordered 6 new Sonoff Basics from Amazon, while nothing on the order or the box specifies "Power" on the board itself it says Sonoff RF R2 Power. Mfg date: 2022-03-09. I've identified the CPU as ESP8285 and found all the I/O I'll need for 4 outputs but there is no chip ID'd as U3 for the 5VDC but there is a chip on the bottom just to the upper right of the ESP8285 which looks identical and is labeled U2. I could easily measure the 3 pins if my old, old, old, hands did not shake so much. Anyone have this version and knows if that is the right chip and which pin if 5VDC? The Tasmota software works perfect and shows 4 relay outputs.

  • @the_vccground

    @the_vccground

    Жыл бұрын

    If possible, you may share a picture of the board on "vccground" telegram channel to let me have a look and help you out.

  • @mikewurlitzer5217

    @mikewurlitzer5217

    Жыл бұрын

    @@the_vccground Thank you my friend. I'll first have to get on Telegram [never used it] and get this to you. Your channel is priceless. Thanks

  • @the_vccground

    @the_vccground

    Жыл бұрын

    @@mikewurlitzer5217 You may also email the pictures on vccground3.3@gmail.com

  • @mikewurlitzer5217

    @mikewurlitzer5217

    Жыл бұрын

    @@the_vccground Thanks again. I just sent it to gmail.

  • @the_vccground

    @the_vccground

    Жыл бұрын

    @@mikewurlitzer5217 Replied your email. Did you check ?

  • @mdshakilsami
    @mdshakilsami Жыл бұрын

    I wish there was a way to control fan also with these device.

  • @the_vccground

    @the_vccground

    Жыл бұрын

    Fan can be turned on or off but to control its speed we need to build a regulator circuit first.

  • @squalazzo
    @squalazzo3 жыл бұрын

    why download firmware if tasmotizer can do even that?

  • @the_vccground

    @the_vccground

    3 жыл бұрын

    Just to simplify the process even for a novice....

  • @squalazzo

    @squalazzo

    3 жыл бұрын

    @@the_vccground adding a step? :)

  • @heribertoescalona1745
    @heribertoescalona17453 жыл бұрын

    This hack works with ewelink app?

  • @the_vccground

    @the_vccground

    3 жыл бұрын

    No.

  • @heribertoescalona1745

    @heribertoescalona1745

    3 жыл бұрын

    Ok, thanks.

  • @chandramalpradeep3926
    @chandramalpradeep39262 ай бұрын

    How this work with ewelink app ?

  • @the_vccground

    @the_vccground

    2 ай бұрын

    No, it won't work with ewelink app anymore after this modification. You can use Tasmota app instead..

  • @rithikjohny691
    @rithikjohny6912 жыл бұрын

    After flashing is it required to configure with a wifi router with internet?? My purpose : to control only via my phone's hotspot without any internet.possible??

  • @the_vccground

    @the_vccground

    2 жыл бұрын

    As of now, Router is required with or without internet. Need to work out a way to use it even without router. Wil figure out andl update soon. ❤️👍

  • @rithikjohny691

    @rithikjohny691

    2 жыл бұрын

    @@the_vccground thanks a lOt

Келесі