IOT| Home Automation | Sonoff 4ch Pro part1| Tutorial # 20



hey what's up Nasir Malik here welcome to another IOT tutorial today I have a banggood tutorial for you so today we're gonna be looking at sauna for channel pro switch it's a Wi-Fi switch that works with Amazon Alexa and Google home and we're gonna also be using a RF remote with it and we're gonna walk through it and see how we set it up and figure out how we can incorporate into our big scheme of things so before I move forward I wanna thanks a banggood for sponsoring this tutorial so please go visit their site and they run specials time to time and the coupons so you can get a discount on the items so I'm using this so enough for Channel Pro I also be demonstrating this for 33 mega it's remote control with the SONA 4 channel pro so I will include all the links in the video description below with the coupon codes and stuff so let's get into the tutorial just to mention this is one of my one of the favorite site top sites where I order my parts and stuff you know maybe you find a lot of the stuff I usually go into electronics and Arduino stuff and they have a bunch of stuff here that you could take a look at it and there are a lot of good stuff here so and go through their site and then let me know I mean if you wanted me to do a review or tutorials on any of their products so please do put them in comments below I will definitely try to get to it so let's get back to the tutorial so let's discuss what we're gonna be doing in this tutorial so we're gonna set up a mobile app I'm gonna do Android app it's similar for iOS to set it up and control this on off switch we're gonna sink our remote control the RF remote control and control the zone after that we're gonna demonstrate three working modes self-locking inching and interlocking it's just delay timer from the dip switches there from quarter second to a four second from app you can actually set it up for you know you can schedule it for different days and time set schedule and count on timers and demonstrate controlling it from Amazon Alexa and if I have a time and me do a google assistant so this is a typical setup for the SONA for channel pro switch so the way it works is if you look at it these are the AC neutral and Load connectors right here and you can control up to four devices if you see device 1 2 3 4 and to control these manually from the buttons they provide these buttons here these are push buttons you can control them press them turn it on and off and depends on whatever mode it is it will behave according to that mode and on this side you don't see it but there are LEDs on it and status power light on there and they will light up showing which channel is on or off so so the way you hook this thing up it's very simple so you're going to connect your the neutral wire to this connector right here it says n on it and then you would do is connect your load wire to this load pin right there or connector and I'm using the I'm not using the correct color combination how I presented and you know when your wiring AC voltage I'm doing this so it's visible in the video so I'm just that's why I'm taking these colors so next what you need to do is once you connect these this is basically powers up the module right here in device and you can actually sync it with your install the app on your phone and sync it and you can control individual switches at this point and the lights will come on and off so two connected devices I have these four bulbs here and it could be anything any devices here so basically you can control of AC from 90 to 250 volts in here and DC 5 to 24 volt so I'm not gonna get into DC for now just when I stick with the AC now and you can go up to I think 10 amp load on this so it works only with 2.4 gigahertz B G and n routers it won't work with 5 gigahertz Wi-Fi routers to connect the devices it's very simple and easy to do so connect a hot wire to middle pole on all four devices if you're not using all 4 just provided to the ones you're gonna be using so by default this middle pole is connected to this pole right here and this one is open it's not connected so when you give a command to relay switches and it connects the middle pole to this so this is true for all four of them so any device that is connected to this pole right here by default when you turn it on by default it will be turned off and if you need it to have it turned on by default then you connect it there so what's next what you need to do is seem to connect each device with this pole since we want this to be turned off by default and when we give a command needs to be turned on so it's the same thing for the rest of them you connect all of these 4 devices like next you need to do is to route the neutral wire to the devices so this is pretty simple setup this is how you will set it up and for operate anything from 90 volt AC to 250 volt AC and it could be lightbulbs fans or any other devices that you have I think T so also I mean it doesn't have to be device it could be your outlets you can connect your outlets to it and power your outlets and then you know you can have devices connected to it that can be controlled so here I have a plug that is hooked up to wires I'm gonna connect these two wires to this on off switch so one will go into load press this pin in and push the wire in that's it make sure it's snug take the other wire put it into the neutral press it down and push the wire in and that's it make sure it's snug and we're gonna go ahead and plug it into the power strip there we go I'm gonna turn it on and you can see the light blinking so by default it is an inching mode if I press the button it will lie down for a few seconds and I turn off each channel so let's install the mobile app and sync it so what you need to do is go to the Play Store and find the link app and you need to install it and it'll take a little bit and once it's installed open the app and then select your country and type in a female and and once you do type in email click Next and it's gonna send you email a verification code go to your email get that and type it in here and then type in your password and confirm password and once it's done of your string you can log in with your email and password and now you're ready to add the Salaf device so you'll click on this plus button to add a sawn-off device and it's in now in caring mode so what you need to do is you need to press any of the one of those buttons R 1 R 2 R 3 R 4 and you need to press it and hold it down like for five second and you can read it says that and then when you see the LED flashing rapidly you can let it go and now you're in a sync mode and then you can click Next and enter the Wi-Fi name make sure you select two point for her gigahertz Wi-Fi router he won't work with five gigahertz click Next Wow and then you wait until it configures your device it will take a couple of minutes we're just going to wait for it now I'm it's registering now and now I'm going to give a name you have to give your device a name so let me see what I'm gonna call it I will name it neck media's one and click complete say ok and now you're synched up and you can click on the button and you'll see the light coming on and going off so ok so now we're done with installing the mobile app and configuring it in syncing so enough so let's sync the RF remote control next ok guys so we're gonna sink over RF remote right here that this one up for Channel Pro it's very easy to do you can see it's already plugged in and light is up so to there on this remote basically there are four buttons as you can see a B C and D so it's very easy to sync this remote to this device so what we need to do is to be able to sync each one of these buttons right here and that means thinking to each of these relays to four buttons on the remote and you can sync it to any one of these buttons so what I'm going to do I'm going to sync the r1 which controls the r1 relay right here sync it to a button right there so what you need to do is quickly press this button twice and then press and hold this button down for a little bit and you should see a green LED lighting on here for that channel so I'm going to do one two and then I'm gonna press this and you can see it is psyched up and you saw the green LED now if I click on it I can control the channel but other buttons don't really do anything because they're not synced up so let's sync the r2 again to the B button so you have to press this quickly twice and then you press this and hold it for half a second or a second and then it'll connect so right now if I press this button it doesn't do anything so I'm gonna do one two and then I'm gonna hold and there you go it's synced up that's how it is so but if you want to clear these sync no these buttons and you don't want this remote to be used for this device anymore you can simply open up their four screws here and you can simply open up and this button right here let me show you guys I wanna be careful cuz it's live so this button right there I hope you guys can see you press it down until all the LEDs light up and then I go off that's it now it's basically it clears the the syncing code from the remote so now I if I press these buttons it won't do anything by default my devices in inching mode so what it means is when I press a button it turns on a channel or this relay for a quarter of a second with the current setting and then it turns it off automatically so if you look at it all the channels are gonna work similarly so now for take it out from the inching mode and put it into the self locking mode I simply needs to turn it off and change the s6 switch to zero there we go like that and then put it back and now I'm going to turn it on you can see LEDs coming on so when it's on okay now it's on so now if I press a button it comes on and it stays on but it's an interlocking mode what the interlocking means is the at any given time the one channel is on if you try to turn on the second or third or fourth Channel it's gonna turn off the channel that is on and turn it the one you press back on so what I mean is the channel one is on currently right now mmm like that and it is gonna stay on so I'm gonna press is channel for the switch to and it's gonna turn on the relay to but it's gonna turn off the relay one so watch and you can see it turned off this led and it turned off this relay and then turn this one on same way for the third one or the fourth one so this is an interlocking mode so to get this out of the interlocking mode it's very simple and easy you turn it off and look at the k5 switch right there and you will see right there I'm gonna turn this back to on position they're off right now so this is k5 on on on on also what I need to do other than turning these on I need to put this s6 into on position like that after that turn it back on and now I'm going to press the channel one it's gonna come on I'm gonna press the channel two and it's gonna stay on one press the channel three and that's gonna stay on I'm gonna press the channel 4 and devil stay on this is self locking mode so the all four channel is going to stay on indefinitely unless I go back and turn one of them off or in any one of them off and this is self locking mode so one thing to keep in mind that you can mix self locking in inching mode but you cannot mix it with interlocking so let me demonstrate that so we're gonna turn it off I'm gonna pick it up and I want channel 1 to turn on and automatically turn off in a quarter of a second whatever the setting you have set in the dip switches it's gonna turn it off from here so I can do that so I'm going to turn it to the off position and I'm going to turn it back on and now you can press channel 1 channel 1 come on and it turns off automatically but other three will be in self locking so you can turn them on and off and they will hold that position even though you seen these LEDs going on and off that and you can hear the relay switching also I have not connected any devices because it complicates things so ok guys for this tutorial this is it in the next tutorial from this song off switch I'm going to include some of this the Raspberry Pi as we discuss in one of the previous tutorials will when I be creating a hub and we're gonna try to figure out how we can use the Raspberry Pi where this on off switch and somehow control the switch from this pi I'm gonna see if there's possible to do it with the original frame where to control this oness which otherwise will flash of our own sketch into it and then we'll try to control it from PI and do something like that so in next tutorial we will also demonstrate how to set it up with Alexa and Google home and control this on off switch with from the both devices please leave your comments below and let me know what you like and what you don't like about this tutorial so that will help me to improve this channel so until next time bye

29 Comments

  1. Pedro Henrique Peixoto said:

    Nice tutorial. I'd love.to see more tutorials of the Raspberry Pi.

    June 30, 2019
    Reply
  2. FACHMANN NVK said:

    Hi bro can i used it to control up down and stop button in my rolling shutter. As my motor is a 3phase one help me

    June 30, 2019
    Reply
  3. Vinicius said:

    I would like to control the Sonoff 4CH Pro R2 using a RF 433MHZ modulo with a Arduino.

    Does anyone know how to? Could you make a video about it?

    Thanks.

    June 30, 2019
    Reply
  4. Snows Tech said:

    Thanks man , Helped me out with how to turn on Self locking mode. My home lights were turning on in interlock and I was clueless as to why !

    June 30, 2019
    Reply
  5. Md Shahzad Raza said:

    Hello Sir " i need your help.. That's possible 2 deceive connect in one mobile with one mobile App.. please help me sir.. Thanks

    June 30, 2019
    Reply
  6. Gaurav Shrivastava said:

    Subscribed

    June 30, 2019
    Reply
  7. M said:

    Awesome video dude! What tool do you use to draw your schematics?

    June 30, 2019
    Reply
  8. Bruce Turner said:

    I plan on using the 4ch pro to control my evaporative cooler (8amp motor) I"m wondering what size wire can the unit accept? I will be using ch1 for the pump ch2 for the motor on/off output to ch3 and use ch3 to switch between low and high motor.

    June 30, 2019
    Reply
  9. Bor Rangos said:

    whats d difference with this 4ch pro and d 4ch pro r2?

    June 30, 2019
    Reply
  10. ravindra rodrigo said:

    Thanks for clear explain dear. Wishing all the best

    June 30, 2019
    Reply
  11. Vasko Tomanov said:

    A god example that worked perfectly for me here : https://github.com/i4things/NodeAPI/tree/master/examples/ESP8266-01/1CH_RELAY/thing

    June 30, 2019
    Reply
  12. Subha Prakash Sahoo said:

    Excellent bro… I wanna know remote pairing and connection, you solved my question👍🏻👍🏻👍🏻👍🏻 thanks

    June 30, 2019
    Reply
  13. Hans Up said:

    Excellent

    June 30, 2019
    Reply
  14. gabibbo69 said:

    Good day, in your lightbulb scheme that you show, the neutral wire to the bulb is the same wire as the Sonoff. Can it be a "different" neutral wire that might be found closer to the bulb? Thank you

    June 30, 2019
    Reply
  15. John Carey said:

    hi this is tops im going to this my projector screen can you tell me how to name so can ask my echo spot to turn on and turn off the screen please and can i link the lights in lounge to go off at time screen come down

    June 30, 2019
    Reply
  16. Ed van Schleck said:

    danke 🙂

    June 30, 2019
    Reply
  17. John Carey said:

    ? has anyone use this bit kit electric projector scree to bring it up and down witch echo dot

    June 30, 2019
    Reply
  18. John Carey said:

    very very good and so helpfull thank you

    June 30, 2019
    Reply
  19. Emerson Santos said:

    Só esqueceu de instalar um interruptor de ligar a lâmpada pois é usado também.

    June 30, 2019
    Reply
  20. Rv vince said:

    super !!!!!!!!

    June 30, 2019
    Reply
  21. Kunal Gode said:

    Brother i have one question. If there is no wifi connection after installation of sonoff 4 ch and 4 ch pro then without wifi can i use the given buttons on the sonoff device without internet. Please answer. I will be waiting.

    June 30, 2019
    Reply
  22. izsak itt said:

    Careful! Don't handle the device with its cover removed when it is energized, plugged into the AC line! The "L" designation of the AC input refers to "Line", not "Load".

    June 30, 2019
    Reply
  23. Harry Radzuan said:

    This is super comprehensive! I love this tutorial! Thanks a lot!

    June 30, 2019
    Reply
  24. Timmy Ball said:

    I wonder is some one could help, just brought this and it seems to work well from the Phone app. But I’m trying to hook up my RF remote
    It’s a 4 button 433Mhz remote. I pair switch A to R1. When I press button A it works 👍 but R1 is also controlled by Buttons B C and D
    If I go ahead and pair R2 to button B, now all buttons control R2.
    Am I doing something wrong or do I have a faulty remote ?

    June 30, 2019
    Reply
  25. Eoin Healy said:

    Is the setup and configuration the same for DC power?

    June 30, 2019
    Reply
  26. Fred Caroline said:

    Man,, from watching a lot of other people try to explain about the 4ch pro, you are the only one that explains so clear about the sonoff 4ch. I thank you….. so fucking clear great.

    June 30, 2019
    Reply
  27. leglessinoz said:

    The incoming active/live/hot connection is not load. Load is whatever you are controlling. ie the output side

    June 30, 2019
    Reply
  28. De Dks said:

    where can I find part 2? thx

    June 30, 2019
    Reply
  29. rescuecow90 said:

    Can anyone tell me what battery the remote fob users?

    June 30, 2019
    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *