Тёмный

Raspberry Pi Automation #2: Energenie Wireless Sockets 

ExplainingComputers
Подписаться 1 млн
Просмотров 92 тыс.
50% 1

Raspberry Pi home automation tutorial using Energenie Pi-Mote wireless sockets. Video includes socket pairing and Python 3 code for setup and timer control of two sockets.
All code and other resources for videos in this series can be found here: www.explainingc...
You can learn more about the Energenie Pi-Mote Starter Kit on the Energenie website here: energenie4u.co... Please note that I have no association with Energenie and purchased the product shown in this video.
You can find the Energenie Pi-Mote Starter Kit on Amazon.co.uk here: www.amazon.co.... (affilate link).
If pursuing home automation projects, you may find useful my video “Raspberry Pi: Using GPIO Inputs”: • Raspberry Pi: Using GP...
And this video on using MotionEyeOS to set up a Raspberry Pi network camera: • Raspberry Pi MotionEye...
My review of the Raspberry Pi 3B+ shown in the video is also here: • Raspberry Pi 3 Model B+
More videos on computing and related topics can be found on the ExplainingComputers channel at: / explainingcomputers
You may also like my other channel, ExplainingTheFuture, at: / explainingthefuture
#RaspberryPi #HomeAutomation #Automation #ExplainingComputers

Наука

Опубликовано:

 

20 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 244   
@StuartGrimshaw-px1wz
@StuartGrimshaw-px1wz 11 месяцев назад
Very late to this party! Bought this kit, and was confused by the pairing socket 1 vs. 2, so took the easy route and typed it into RU-vid. And lo and behold, an ES video from the days when I imagine the view count was not yet in the millions. The acoustics have improved somewhat :) I inherited a box (!) of Pi from a mate's dad, and this is one of those things that are perfectly suited to a v1 board, of which I now have half a dozen, all looking for an excuse to be plugged-in and ssh'd-up. So, belated thanks for a great video.
@perrymcclusky4695
@perrymcclusky4695 5 лет назад
What a bright idea, programming a pie with a snake to turn two lights on and off! This video is simply electrifying. It is amazing what a little Raspberry can do. Thank you for the video and looking forward to your next one.
@srtcsb
@srtcsb 5 лет назад
I couldn't find Energenie here in the states, but I found a nice four outlet unit at Adafruit for about the same price. I'm sure Amazon might have similar hardware also. I do like this video series... Been thinking a lot about how to automate this way versus using one of the pre-configured "hub" systems. I know that this Energenie project isn't on the network, but there have been problems with the hub systems and network security (TV's, refrigerators, information hubs like alexa/Google/Bing... ). Building and coding your own automation let's you put as much or as little security in it as you want. Excellent Chris. Thanks and looking forward to more in the series.
@jezzermeii
@jezzermeii 5 лет назад
I personally like how all of this is done without needing the use of the internet, makes things feel much more secure. :) Take care and thanks for the great video!
@semperparatus3685
@semperparatus3685 5 лет назад
Agreed. Ppl don't understand the holes these little wifi gadgets punch in their network security. I could almost accept the risk setting up a barrier with another router if these wifi gadgets were cheap BUT $75 FOR A LIGHT SOCKET?!? I guess if you don't care about your customers security you could make some real money...until the class action lawsuit...
@jezzermeii
@jezzermeii 5 лет назад
@@semperparatus3685 Although a lot of 'Internet of Things' gadgets seem cool and nifty, I really don't see the point in them. As far as I am concerned, if a product doesn't actually add value (aside from being a cool gimick), then I'd rather not waste my money. And, of course, the security concerns alone are enough to make you heave. Remember, you are the product with these things! I like to keep my digital footprint as minimal as possible.
@DoctorOnkelap
@DoctorOnkelap 7 месяцев назад
not only the internetuse of other products is the problem. You also need a closed source app. As soon as burglars wise up there is going to be such a rise in breakins...
@semperparatus3685
@semperparatus3685 5 лет назад
This channel's music and format remind me of my Electronic training and Mr. Wizard type shows. I watch them over and over! Much love Professor!
@sharathch1800
@sharathch1800 2 года назад
I implemented cloud controllable relays, thanks to your tutorial. I am grateful to you.
@ExplainingComputers
@ExplainingComputers 2 года назад
Great to hear. :)
@semperparatus3685
@semperparatus3685 5 лет назад
Update:I have X10 security and lights which HAD a serial PC interface that is no longer supported. After watching this episode I've found X10 updated a while back to a USB interface which is still not supported. After some digging I found some clever people have given me an ancient roadmap (tongue and cheek) to use the USB with Rasp pi. With that I am using it to control my lights, fans,etc and X10 even has modules for 220V (US) for controlling AC units. My home and my fathers home are 100% Solar powered with 70 KWH battery banks and he has had trouble with large draw appliances depleting his batteries. I am using the Rasp Pi to read the batt volts and if below set linit send signal via X10 to shut down his appliances so he doesn't have to rush home if it rains. Thanks Professor for the inspiration and in your own way helping to solve a very real problem in our homes. Cheers!
@SS-hw1ou
@SS-hw1ou 5 лет назад
Is there anyplace where you have uploaded your project so that I could build one too
@BonesFPV
@BonesFPV Месяц назад
2 meters apart? That’s crazy. Great video btw. Thank you.
@Matteinko
@Matteinko 5 лет назад
Good Afternoon from Slovakia!
@ExplainingComputers
@ExplainingComputers 5 лет назад
Greetings from the UK. Here we are again, communicating from all over the world! :)
@electron-1979
@electron-1979 5 лет назад
@@ExplainingComputers Yes. Hello from Oz!
@johncnorris
@johncnorris 5 лет назад
Those devices are nice when wanting to setup a quick electronics project. There was a similar product marketed in the US called X10 about 10 or so years ago. I'm not sure what happened to them but you could add sensors, light switches, and remotes to control 256 devices. I wrote a bunch of scripts in Perl that worked pretty well. I still want to see a better Pro-sumer version some day.
@subStuff
@subStuff 5 лет назад
spot on... was reminded of the same...
@neatodd
@neatodd 5 лет назад
I've had 4 sockets and the rpi board for quite a while now. They work well and have good range.
@semperparatus3685
@semperparatus3685 5 лет назад
HOLY SOLDERLESS BREADBOARD BATMAN! I've been trying to control my 433mhz with arduino or pi so THANK YOU!
@sanjaybhatikar
@sanjaybhatikar 4 года назад
Your videos fire up my neurons. Keep me coming!
@martyburgess341
@martyburgess341 5 лет назад
Very cool stuff! Good for when no one is home but you want to make it look like someone is home. Could also work for a disabled person who is wheelchair bound.
@Beldrama
@Beldrama 5 лет назад
This is amazing!!! Please continue this series!!
@ExplainingComputers
@ExplainingComputers 5 лет назад
I will!
@chef5588
@chef5588 5 лет назад
Love this channel, really nice to see Python in use since I only have experience with Java. Keep up the good work :)
@povilasstaniulis9484
@povilasstaniulis9484 5 лет назад
Resource-wise, Python isn't really well suited for small embedded machines as it's a VM language which is almost always much slower and memory hungry than a language which compiles to native code (Python is less bloated than Java though). But Python is rather easy to learn, I guess that's why they chose it as a "main" language for programming the Pi.
@rogerkoh1979
@rogerkoh1979 5 лет назад
I think it could be done in program in node red with dashboard and timer. Just my opinion, if you intent to let other people to operate without python knowledge.
@electron-1979
@electron-1979 5 лет назад
I like Node-RED!
@ianpowell6443
@ianpowell6443 Год назад
Hi Christopher. Thanks for such helpful content. I'm new to RPi and will be buying soon. I'm particularly interested in using the Engine type plugs. We had solar PV installed recently, unfortunately using excess solar is not so straight forward which is how I came to your videos. A very useful and cost effective solution would be for a Pi to be connected to a CT sensor to switch the plugs on as the export rises above say, 100 watts. If inductive loads are plugged in e.g. oil filled radiator, then better value would be taken instead of the feed in tarriff. Commercially available systems are expensive and less flexible needing hard wiring on the 240v side. So a Pi controlled smart plug could simply use existing wiring. Regards.
@wajahatahmad2551
@wajahatahmad2551 4 года назад
Why This Respberry Pi is So Amazing
@WarrenPhotographic
@WarrenPhotographic 3 года назад
Hi Christopher. Thanks for a really instructive video. Please can you tell me if the EnerGenie keeps it's connections and settings if there is a brief power cut? Or do you have to press the button again to reconnect, once the power comes back on? Thanks
@ExplainingComputers
@ExplainingComputers 3 года назад
Thanks for this. The connections are kept -- the unit maintains its settings until you choose to reprogram it.
@WarrenPhotographic
@WarrenPhotographic 3 года назад
@@ExplainingComputers Thanks Christopher. I appreciate you getting back to me so promptly.
@Vampier
@Vampier 5 лет назад
I buy cheap TP-link switches and have installed HomeBridge on a Pi that links directly to Apple Home - saves me quite a lot of electricity a month. Those switches are also Wifi so it's more reliable in my opinion. But great video to get into home automation :)
@EnglishLaw
@EnglishLaw 5 лет назад
WiFi is much less reliable than 433
@taidee
@taidee 5 лет назад
This is very exciting Prof., thank you very much for these projects.
@jackburton8352
@jackburton8352 5 лет назад
Run on python 2 save yourself the hassle. Why have they not updated the software? Maybe you should send them your edited code Chris.
@elviraeloramilosic9813
@elviraeloramilosic9813 5 лет назад
Hello professor Dumbledore. 👋🏻 No need for magic wand. Excellent video and yes, exciting! Love it! Raspberry and python! Excellent! My favourite tinkering with small functional useful SBCs I can use all around house for all possible and impossible tasks.
@ExplainingComputers
@ExplainingComputers 5 лет назад
Hi Elvira -- here we are again. Hope life is treating you well. I've been tinkering with an Orange Pi the last few days, more of a trial that a Raspberry Pi! :)
@elviraeloramilosic9813
@elviraeloramilosic9813 5 лет назад
ExplainingComputers That's wonderful! I always wanted to see Orange Pi in action! Can't wait. 🤩 Considering the life, yes, indeed! Sunny weather finally! Last Saturday: my bike, my device {photography purpose}, airplane/flight mode on. Life mode: relax on. Brain mode: low power consumption mode on. 🤣
@ExplainingComputers
@ExplainingComputers 5 лет назад
I like the idea of a lower power consumption brain mode. I will seek that out. :)
@electron-1979
@electron-1979 5 лет назад
@@ExplainingComputers Try Armbian for OPi
@NewAgeDIY
@NewAgeDIY 5 лет назад
Nice product and I'm in luck it's available in Canada Amazon.ca. Around $65.00. Thanks for bringing it our attention Chris.
@PsiQ
@PsiQ 5 лет назад
i would recommend you buy a "manual" remote control set and hack into the manual remote control. For that price you could buy two identical sets, get double the sockets and have a spare "manual" control left. - Bonus would be, you could simply override the RasPi with your manual remote control any time. And you would have a approved and "allowed to transmit" product.
@MicrobyteAlan
@MicrobyteAlan 5 лет назад
Good morning from Florida’s Space Coast. Apple Pi👍🏽
@SouravTechLabs
@SouravTechLabs 5 лет назад
Great video professor. I was thinking to implement this with a relay connected to the GPIO. And I have a Ruby script (gem rpi_gpio is needed) that utilizes the GPIO pins!
@davidclancy4321
@davidclancy4321 5 лет назад
Why not just use home assistant and a cheap esp8266 plug? Just a suggestion. Good video.
@cgraham6
@cgraham6 5 лет назад
Or purpose-built programmable plug timers, but I suppose those aren't as much fun since they don't require any tinkering.
@jensschroder8214
@jensschroder8214 Год назад
I have Tasmota Wifi sockets. These can be switched on and off with a wget command on the Rasp Pi.
@didiyontingwi
@didiyontingwi 5 лет назад
Alhamdulillah..dapat ilmu lagi.. Salam dr indonesia..
@ExplainingComputers
@ExplainingComputers 5 лет назад
Greetings from the UK! :)
@didiyontingwi
@didiyontingwi 5 лет назад
Thanks for knowledge.. Sorry i am speak in indonesian language because i am can't speak english.. I used google translate.. Thanks again for the knowledge
@ExplainingComputers
@ExplainingComputers 5 лет назад
I too used Google Translate. :)
@Trotter_Tolkien
@Trotter_Tolkien 5 лет назад
Great video, would love to see if you can integrate this device, with Amazon Alexa or Google Home, so you could use those devices to tell the Pi to turn them on or off
@codebeat4192
@codebeat4192 5 лет назад
If you have already some set with a remote, you can buy a cheap 433mhz rf-module set (transmitter and receiver) ,about 0,99 euro on ali. It is very easy to use with Arduino so I guess it might also work with rasbpi. The only thing you have to do is find the right frequency however when there is an remote, you can listen to the remote to find the correct code. Cheap! ;-) With the rasbpi you can connect it to the internet by designing a webpage with controls that you can access over the web.
@richardturnnidge
@richardturnnidge 5 лет назад
I've had one of these running several years now on a Pi2 and is solid as a rock. I made a simple web page that enables the sockets to be controlled from anywhere. You can increase the reliability of the range by soldering a small antenna to the board. They give instructions what length to do that, only a basic bit of copper wire..
@ExplainingComputers
@ExplainingComputers 5 лет назад
Great to have this feedback, thanks.
@almurray2000
@almurray2000 3 года назад
Hi Richard, I hope you read this. I am trying to set-up the same thing! However my cgi gateway only runs python3 code and despite downloading Christophers re-coded Python code I can't get it to run. Please point me in the right direction!
@almurray2000
@almurray2000 3 года назад
@@ExplainingComputers Chris, your python3 code doesn't seem to execute for me, have you tried it recently?
@richardturnnidge
@richardturnnidge 3 года назад
@@almurray2000 my little pi is still running fine. I don't think it's even been re-booted in ages, although I would have to try to find the code running on it. Let me check tomorrow and get back to you. I will have to remember the login to the pi! I recall a basic php script and a simple shell script.
@richardturnnidge
@richardturnnidge 3 года назад
@@almurray2000 not sure if it helps, but I have managed to check what I did. Firstly, I am only using two remote switches. I have a very small php file serving a basic web page interface. I then have a small python file which is called every time the web page user hits a submit button. Obviously your web server needs admin over these files to execute. Don't ask me to explain any of it as it was a few years ago and I was basically pulling together sample code and praying!!! But, maybe it helps you! This is the file which runs the code to set the switch status. It gets the sys.argv sent from the php call and decides which (1 or 2) to turn on or off. FILE: "switches.py" #import the required modules import RPi.GPIO as GPIO import time import sys cmd = sys.argv lamp = cmd[1] state = cmd[2] print lamp print state # set the pins numbering mode GPIO.setmode(GPIO.BOARD) # Select the GPIO pins used for the encoder K0-K3 data inputs GPIO.setup(11, GPIO.OUT) GPIO.setup(15, GPIO.OUT) GPIO.setup(16, GPIO.OUT) GPIO.setup(13, GPIO.OUT) # Select the signal to select ASK/FSK GPIO.setup(18, GPIO.OUT) # Select the signal used to enable/disable the modulator GPIO.setup(22, GPIO.OUT) # Disable the modulator by setting CE pin lo GPIO.output (22, False) # Set the modulator to ASK for On Off Keying # by setting MODSEL pin lo GPIO.output (18, False) # Initialise K0-K3 inputs of the encoder to 0000 GPIO.output (11, False) GPIO.output (15, False) GPIO.output (16, False) GPIO.output (13, False) # start checking what we need to do if lamp=='1': if state=='on': # lamp 1 on print "lamp 1 on" GPIO.output (11, True) GPIO.output (15, True) GPIO.output (16, True) GPIO.output (13, True) # let it settle, encoder requires this time.sleep(0.1) # Enable the modulator GPIO.output (22, True) # keep enabled for a period time.sleep(0.25) # Disable the modulator GPIO.output (22, False) else: # lamp 1 off print "lamp 1 off" GPIO.output (11, True) GPIO.output (15, True) GPIO.output (16, True) GPIO.output (13, False) # let it settle, encoder requires this time.sleep(0.1) # Enable the modulator GPIO.output (22, True) # keep enabled for a period time.sleep(0.25) # Disable the modulator GPIO.output (22, False) elif lamp=='2': if state=='on': # lamp 2 on print "lamp 2 on" GPIO.output (11, False) GPIO.output (15, True) GPIO.output (16, True) GPIO.output (13, True) # let it settle, encoder requires this time.sleep(0.1) # Enable the modulator GPIO.output (22, True) # keep enabled for a period time.sleep(0.25) # Disable the modulator GPIO.output (22, False) else: # lamp 2 off print "lamp 2 off" GPIO.output (11, False) GPIO.output (15, True) GPIO.output (16, True) GPIO.output (13, False) # let it settle, encoder requires this time.sleep(0.1) # Enable the modulator GPIO.output (22, True) # keep enabled for a period time.sleep(0.25) # Disable the modulator GPIO.output (22, False) # Clean up the GPIOs for next time GPIO.cleanup() ----------------------------------------- This is the file you open from your web browser via your web server on the Pi. The UI is just four buttons which send a bespoke message to the Pi to execute the switches.py code. Either '1' or '2', followed by 'on' or 'off': FILE "switches.php" Messaging Page Select a lamp... Lamp 1 on Lamp 1 off Lamp 2 on Lamp 2 off
@linuxrobotgeek
@linuxrobotgeek 5 лет назад
Wish there was a US version of this so I could try it out.
@sethrd999
@sethrd999 5 лет назад
I would think 433 as this is a general spectrum band used for toy walkie talkies and other packet radio stuff ala door bells / garage door controllers. 868 would be the other free to use iirc ( the UK is somewhat more fickle so do check ).
@michaelhawthorne8696
@michaelhawthorne8696 5 лет назад
I have used these type of controllers for a number of years now but not with a Pi only the supplied controller. I have found that after a while the units have a tendancy to 'Stick On' (Inductive loads that take large currents on switch on, (high powered lamps and I think Google Home)) and the only way to turn your device off is to select off and give the unit a good single sharp hard knock. This must be because the cheap circuit inside must be arcing when transitioning from On to Off to On and 'Welding' the relay contacts shut. I haven't bothered to implement a solution yet but a Y (or X, probably Y as these are designed to fail open) class capacitor across the contacts may prevent this arcing and stop the contacts from welding together. Also, when you take the unit out from the socket, they (After about a minute or so) lose their pairing and you need to go through this process again. (On the devices I have used anyway) Hope this helps.
@ExplainingComputers
@ExplainingComputers 5 лет назад
Very useful feedback, thanks for sharing here. I had the sockets removed from power for about an hour and they remained paired when reinserted. I did not test longer than that though. They are clearly intended to be left inserted.
@quantuminfinity4260
@quantuminfinity4260 5 лет назад
I have just been thinking about trying to set up a raspi to control an outlet! I was going to use a relay, but this way is a little less invasive with the wiring in the walls!
@PsiQ
@PsiQ 5 лет назад
Just by a standard cheapo set with a "manual" remote control and hack into the remote control (optocoupler or directly, usually switches to gnd or vcc). But please keep in mind, that those power sockets take power all the time because they always listen, AND take even more power if they have to hold the relay in ON state.
@quantuminfinity4260
@quantuminfinity4260 5 лет назад
@@PsiQ I was planing one doing some stuff with Internet Of Things, so they could be controled remotly and just for fun as well!
@AndrewJones-tj6et
@AndrewJones-tj6et 5 лет назад
Can't help thinking this as a modern day Catweazle marvelling "Electrickery" as he flicked the light switch on and off.
@briancrane7634
@briancrane7634 5 лет назад
Those MASSIVE UK mains sockets look positively FRIGHTENING compared to the diminutive US sockets! It looks as if you could power a land excavator with a single one of those!
@cdl0
@cdl0 5 лет назад
You can, but as every British person knows, its two main purposes are to power fast-boiling kettles for making tea quickly, and for inflicting pain when stepped on barefoot in the dark at night. :-)
@not_ever
@not_ever 5 лет назад
We also have less anxiety about home invasion here because every single one of us has at least one three pronged deadly weapon within easy reach at all times.
@chriholt
@chriholt 5 лет назад
Fascinating info Chris, thanks as always!
@billykotsos4642
@billykotsos4642 5 лет назад
Greetings from London!!!
@ExplainingComputers
@ExplainingComputers 5 лет назад
Greetings! :)
@ozzymandius666
@ozzymandius666 5 лет назад
Hmmm...with a temperature sensor, you could thermostat and timer controlled heaters and air conditioners on the cheap!
@ExplainingComputers
@ExplainingComputers 5 лет назад
Exactly. You clearly see the potential here! :) Using a PIR sensor, you could also control them based on where human beings actually are . . .
@MrBobWareham
@MrBobWareham 10 месяцев назад
I am very surprised that they work at 30 meters, that's a long way for 433Mhz radio, thanks for the video very interesting, looking forward to the sensors.
@AnimeHyperDimention
@AnimeHyperDimention 5 лет назад
You can use this to feed the fish.
@apristinemadani
@apristinemadani 5 лет назад
Excellent video
@StephenNu9
@StephenNu9 5 лет назад
Very good.
@weerobot
@weerobot 5 лет назад
Great Scott Marty.....
@NicoDsSBCs
@NicoDsSBCs 5 лет назад
Great video Christopher. I should look more into IoT like this. I'm now reviewing a USB3 low light camera. I'll compare it with the raspberry cam V2, the NanoPi DUO2 with it's cam, and my action camera's I use to film my videos. It works amazingly with low light. Great colors in the dark with only my pc display for light. The other camera's only have blurry dark image then. I'm going on a big cycling trip thru the UK next month. I'll take that camera along to film myself at night in my tent. I'll go to Calais -> Dover, and then ride under London along the sea, then go up and above London to Harwick to take the boat to Rotterdam. And from there back to Belgium. I've been enough times in London. And I don't want to ride my bicycle with my trailer thru London. I hope the British roads are ok for me. I see many small roads when watching British movies. I really need the trip. I've had some very bad things happening last years/week. And now would like to be able to put it to rest. Have a great day. Thank you for all your great content. It has helped me when I was doing bad. And it brought me to making my own videos too. Greetings, NicoD
@ExplainingComputers
@ExplainingComputers 5 лет назад
Thanks for this Nico. I have thought about you this week as I've been making a video on an Orange Pi 3. :) Should post a couple of weeks today (unless my Atomic Pi arrives very rapidly!).
@NicoDsSBCs
@NicoDsSBCs 5 лет назад
@@ExplainingComputers I would have loved to buy the Atomic Pi. But since I'm saving money for my trip I'm not buying anything now. I should have some great gadgets comming for free. When back from my trip I'll have enough work to do. I'm also changing jobs. I might have a bit more time then to make RU-vid videos. You could try the nightly Armbian images for the Orange Pi3. dl.armbian.com/orangepi3/nightly/ These are untested. But the latest builds. You can not yet get official Armbian support for it since it's still in development. Some things don't work yet. In a few months things should be a lot better when kernel 5.2 matures. Greetings.
@thundaga4005
@thundaga4005 5 лет назад
I'm sure if he had them at the time, Kevin McCallister would have made good "Home Alone" use of this.
@mihailvormittag6211
@mihailvormittag6211 8 месяцев назад
👍
@rwprime1
@rwprime1 4 года назад
At 14:10 and 14:16 mins, I'm curious if you wouldn't have gotten the Traceback (on ctrl+c) if you had used: except KeyboardInterrupt: # as they did in ENER002-2PI_Py3.py GPIO.cleanup() # I like clean exits
@fynbo1007
@fynbo1007 5 лет назад
Love it, thank you for sharing your amazing video. God bless you and your family
@lorderectus1849
@lorderectus1849 2 года назад
Oh look 👀 it’s an energenie in a box 📦
@mitchelvalentino1569
@mitchelvalentino1569 5 лет назад
Very interesting video. Thank you.
@fredneedle123
@fredneedle123 5 лет назад
A new one? Cool.
@davidb.5911
@davidb.5911 3 года назад
Very informative video, thank you very much!
@jesuscardona5184
@jesuscardona5184 5 лет назад
Thanks. Excellent information.
@oceania68
@oceania68 5 лет назад
Interesting things Raspberry Pi can implement in home automation compared to home automation of yesteryear, looking forward to the motion sensor edition and hopefully include video survellience stored on a device (or view with Mobile Phone capabilities) along with security lighting.
@ExplainingComputers
@ExplainingComputers 5 лет назад
Thanks for this. I did a video on setting up a motion controlled surveillance camera using the Pi here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-8YUM7jio6dk.html There are so many possibilities here! :)
@timothy8428
@timothy8428 5 лет назад
Home automation was soooo going to be the next big thing. And then it wasn't.
@oceania68
@oceania68 5 лет назад
@@ExplainingComputers ahh yes, the motioneyeOS, I forgot about that episode, thanks for reminding me.
@ExplainingComputers
@ExplainingComputers 5 лет назад
@oceania68 MotionEye of course uses the camera to detect motion (very processor intensive). In the next video in this series I'll be using a PIR dectector. :)
@dartfrogdk
@dartfrogdk 5 лет назад
ohhh i get so excited when i see those sexy british sockets, they are soooo tiny
@dartfrogdk
@dartfrogdk 5 лет назад
@@unlokia well not at all
@k1ng401
@k1ng401 5 лет назад
They’re massive compared to Australian sockets
@rager1969
@rager1969 5 лет назад
Hmm, why don't they make a Python 3 version of their script available? Clearly they are both aware of it and know what changes are needed, so it would be nearly effortless to provide that script as a third download link.
@ellooku
@ellooku 5 лет назад
I got the notification exactly the same time I need such a socket.
@MikelNaUsaCom
@MikelNaUsaCom 4 года назад
topic suggestion: voice control... just because it's more convenient than clapping or having a timer.
@daveholden3935
@daveholden3935 5 лет назад
Nice video as always. If the Timer function is in the RPi code, what happens if the mains supply fails, or there is a 'brown-out?. Does the code re-start (but no Timer?) I don't think you've covered it, but perhaps time for a proper RPi UPS HAT or add-on?. Not the usual cheap ones which under-power -with the 'lightning strike' always displayed.
@ExplainingComputers
@ExplainingComputers 5 лет назад
The code would only restart if the Pi were set to run it on boot (which I have covered in other videos, if not here). I like the idea of a Pi UPS HAT. :)
@majorextrasun8880
@majorextrasun8880 5 лет назад
Nice Product.
@kirupakaran7765
@kirupakaran7765 5 лет назад
Hi there can you do a video on the best budget single board computer with USB 3.0 and Gigabit Ethernet for NAS and open media vault. Thank you
@ExplainingComputers
@ExplainingComputers 5 лет назад
That would be the Rock64 -- video here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-gT-EGNl9bZA.html Or comparison video including other options here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-U5Y6XwFyU2s.html
@newflytech4942
@newflytech4942 5 лет назад
It is really cool
@stedogue
@stedogue 4 года назад
Hi I think this is really cool, I'm really looking forward to your update on this for the lux sensor, the little project I'm working on hopefully with your help is I've got solar panels on the back of my house and a wemo plug on my hot water tank so my plan is when the sun comes out it turns my wemo switch on that is connected to the heating element in my hot water tank ,ideally I need to put some rules in when the sun gets brighter it will trigger the switch when it goes over 1kw, if you have any ideas please let me know, I'm extremely new to this but this idea has been banging round in my head for sometime, I look forward to any replies.
@ulrichkalber9039
@ulrichkalber9039 5 лет назад
To make it really magic Display "LUX" on switching on and "NOX" on switching off
@karlscheel3500
@karlscheel3500 5 лет назад
Nice product for the control of mains-powered device control. Is it certified as safe for everyday use by a recognized consumer product safety authority? Also, is there any type of security built-in, or can it be switched using _any_ similarly equipped Raspberry Pi, Arduino, etc. (i.e., by a drive-by hacker)?
@ExplainingComputers
@ExplainingComputers 5 лет назад
The Energenie products are CE certified. I drive-by hacker should not be able to get in, as the device has to be paired with the transmitter on the Pi.
@rohanjoshi8420
@rohanjoshi8420 5 лет назад
Thank you very much your IoT project and review helps us alot thank you. I have question I want make nas-storage for home which bord I used to get well performance and work 24x7 and I connect multiple hhd or sad to it ?
@ExplainingComputers
@ExplainingComputers 5 лет назад
The multiple drives is the issue with SBCs. :) A Rock64 makes a nice NAS -- ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-gT-EGNl9bZA.html -- but for multidrives, consider something like a RockPro 64: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-9CCQicHwfDI.html Or maybe a Rock Pi 4B, as it has two USB 3.0 ports.
@Henchman1977
@Henchman1977 5 лет назад
I like how the sockets are shipped Human Centipede style.
@stephendoran9412
@stephendoran9412 Год назад
Hi this is a great video, as was the previous chapter with the lightbulbs. I have a question: the remote control functionality is very much down to the Energenie product. I can't find this online, maybe they went bust. Can you recommend a suitable alternative product. I'd really like to use this format, rather than your wired example, because a few years ago I had an Arduino catch fire and obviously this method keeps the 220/240V away from the Raspberry itself.
@johnc5238
@johnc5238 5 лет назад
Another fascinating and detailed guide. I note the 4 socket pack dates back to 2010 on Amazon. Is there potential for major "improvement" in a new version should one be released in the foreseeable or can I order one now even though I don't have a pressing need atm?
@ExplainingComputers
@ExplainingComputers 5 лет назад
I doubt this tech will improve. Development is now focused on online / WiFi hardware.
@DoctorOnkelap
@DoctorOnkelap 7 месяцев назад
​@@ExplainingComputers Yes unfortunately the least intelligent product version the uneducated hordes use brainlessly to make things very easy for future thieves burglaring their homes keep winning out. Even governments are pushing 'smart' electricity meters which are basically n invitation for e-stalking or worse.
@shazam6274
@shazam6274 5 лет назад
Nice "small movie light"! Costs about a half dozen RPs and Pi-motes or same as AMD PC w/o graphics card?
@ExplainingComputers
@ExplainingComputers 5 лет назад
You are correct. An Arri 150 is indeed about £/$350+. Most of the lighting on this channel is done with two Arri 650 Plus Fresnels, with the 150 added in as necessary for various highlights or shadow fills -- most commonly illuminating the inside of USB ports on side-angle close-up shots of SBCs. All not cheap -- until you compare them to the LED options! :)
@_BlackSpectrum
@_BlackSpectrum 5 лет назад
Nice video , but I think relay would be cheaper !
@ExplainingComputers
@ExplainingComputers 5 лет назад
Certainly. I covered relay control in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bOGltcgiXiU.html
@AndrewGulak
@AndrewGulak 5 лет назад
Your 220v sockets look so big and ungainly to my American sensibilities (or lack thereof).
@endersftd
@endersftd 5 лет назад
They're way safer than American-style outlets, though.
@CodeMastersChannel
@CodeMastersChannel Год назад
good video
@MrCrazyspider
@MrCrazyspider 5 лет назад
Thank you very much sir
@statorworksrobotics9838
@statorworksrobotics9838 5 лет назад
Excellent 👍 those GPIO lines were what I needed today, thanks! Python is not that fast performancewise but it's great for quick proofs of concept, really liking it.
@BharatMohanty
@BharatMohanty 5 лет назад
Last...... Preparing dinner while watching
@mv-experiments
@mv-experiments 4 года назад
Bought the EU version of these sockets. Switching on/off reliability is pretty low for me. Hardly usable that way.
@umka7536
@umka7536 5 лет назад
Raspberry Pi + OpenHab + tons of different HW. E.g. Shelly Smart Plug - connected over Wi-Fi, controlled by MQTT or HTTP. Please make review of OpenHab
@ExplainingComputers
@ExplainingComputers 5 лет назад
I will cover OpenHab. :)
@rubik3511
@rubik3511 4 года назад
Is there a similar product for Arduino?
@lorderectus1849
@lorderectus1849 2 года назад
Theres a bit of Harry Potter going on in here!
@daviddavidsonn3578
@daviddavidsonn3578 5 лет назад
could you pair 2 or more devices together. so when sending the code "turn on socket 1", it actually turns on 2 or more sockets at the same time ?
@ExplainingComputers
@ExplainingComputers 5 лет назад
Probably, yes - in that you could pair more than one socket as "Socket 1", etc.
@sanjaybhatikar
@sanjaybhatikar 4 года назад
You should have been a contemporary of Nikola Tesla.
@BrianThomas
@BrianThomas 5 лет назад
They're huge! Chris, what do you think of the Web Of Things gateway from Mozilla? Can you do a review on that?
@ExplainingComputers
@ExplainingComputers 5 лет назад
I will indeed be covering web-based devices/services later in this series. :)
@BrianThomas
@BrianThomas 5 лет назад
@@ExplainingComputers Awesome. You do such a great job. I really look forward to seeing it.
@paulabraham2550
@paulabraham2550 5 лет назад
Why do the devices need a 2 metre separation?
@ExplainingComputers
@ExplainingComputers 5 лет назад
I imagine there is some level of interference.
@DoctorOnkelap
@DoctorOnkelap 7 месяцев назад
Is it possible to do this with just the Pi functioning as a relay/switch in a extension cord?
@frigbychilwether
@frigbychilwether 5 лет назад
Hi, is this rather limited compared to other systems in that only energenie things can be controlled, compared to other systems with multiple vendors such as zigbee or z-wave ?
@ExplainingComputers
@ExplainingComputers 5 лет назад
It depends on your point of view. The sockets here are not networked devices, so yes, can only be (directly) controlled from the Pi (although the Pi itself could be accessed over a network). However, some may see this as an advantage, as there is no security risk as devices are not being put online. :) I will be covering networked controllers later in this series.
@samuelquartey4019
@samuelquartey4019 4 года назад
Can i used both energenie wireless socket and power relay?
@ExplainingComputers
@ExplainingComputers 4 года назад
Yes.
@RandomTorok
@RandomTorok 5 лет назад
Is there a North American equivalent of the Energenie stuff?
@SupremeNerd
@SupremeNerd 5 лет назад
This channel, Carey Holzman and Flossy Carter ....my go to for everything tech...Marques Brownlee too
@donald1056
@donald1056 5 лет назад
Have you had problem with updates on windows 10 pro - mine updated all but 1 file and it won't update the other 1 for nothing - chatted with 2 windows techs and office 16 won't install right either - no luck it said it was Intel audio software - updated that - then USB hardware - so I disconnected my Blueray player - - I've restarted my desktop several times - just curious - I've heard they have problems with windows 10 pro updates and I believe it - thank for listening - my desktop does work by the way just the 1 file and office 16 pro
@ExplainingComputers
@ExplainingComputers 5 лет назад
Yes, I've seen this issue. I would not worry about it. :)
@donald1056
@donald1056 5 лет назад
@@ExplainingComputers Microsoft came out with a major update yesterday and I downloaded it and that was that - the file is gone - and now office is on my desktop working again - that major update took care of the problem so far - thanks
@jonmahashintina
@jonmahashintina 5 лет назад
Interesting. I suppose you could separate the scripts to an on script and an off script and setup cron jobs to have them operate via dates, not just time.
@ExplainingComputers
@ExplainingComputers 5 лет назад
Indeed. :)
@TheTwick
@TheTwick 5 лет назад
What is the name of the wireless protocol used here? It looks like Bluetooth but you didn’t say.
@ExplainingComputers
@ExplainingComputers 5 лет назад
It is not a wireless networking protocol. It is, I think in the 433MHz, commonly used for short-range control for home appliances.
@EnglishLaw
@EnglishLaw 5 лет назад
433
@panoshountis1516
@panoshountis1516 4 года назад
Can I use a Pi 4B for such an application, instead?
@ExplainingComputers
@ExplainingComputers 4 года назад
You can indeed. :)
@memineown4415
@memineown4415 5 лет назад
Well presented video as usual. Radio and WiFi are only any good for experimenting. If anyone is going to do things actually in your home use Ethernet. LAN is the best for a permanent installation. Also, Chris, show them how to use IoT MQTT broker with the two way communication units.
@HadToChangeMyName_YoutubeSucks
You can't control the device through the internet? You're controlling the device from a pi, you can control the pi from the internet therefore you can control the device from the internet. It's a bit of a roundabout to get there but since this is about using a pi to control the device controlling the device from the internet is not just doable but fairly simple. If you're adding motion control and cameras you can even have it take a picture or video and email it to you when motion is detected.
@richardturnnidge
@richardturnnidge 5 лет назад
Yes, easy, I have a little script that gets called from a basic web page interface running on the pi. Been running non-stop several years now.
@rajiv.p3370
@rajiv.p3370 5 лет назад
Still using raspberry pi 3 B as my computer wanna to buy lattepanda but 79 $ price is unaffordable........
@rajiv.p3370
@rajiv.p3370 5 лет назад
@Max Raider ,Dude I am not from U.S.A I am from India and shipping matters .... Cost me $60 in eBay And more over lattepanda reaches better and faster long way to India .....but still using Rpi
@rajiv.p3370
@rajiv.p3370 5 лет назад
@Max Raider on earth poor are poor always?............anyway I started new YT channel.....
@rajiv.p3370
@rajiv.p3370 5 лет назад
@Max Raider thanks I will check it....
Далее
Raspberry Pi Weather Station
21:42
Просмотров 292 тыс.
Raspberry Pi Battery Power
20:34
Просмотров 340 тыс.
SHIRT NUMBER OR SWIM 🙈💦
00:32
Просмотров 4,7 млн
Ik Heb Aardbeien Gemaakt Van Kip🍓🐔😋
00:41
Raspberry Pi Automation #1: Mains Relay HAT
15:03
Просмотров 272 тыс.
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Raspberry Pi Servo Motor Control
17:36
Просмотров 386 тыс.
Raspberry Pi Zero W Surveillance Camera
17:53
Просмотров 529 тыс.
Raspberry Pi: Using GPIO Inputs
18:41
Просмотров 582 тыс.
The Bingo Paradox: 3× more likely to win
30:15
Просмотров 245 тыс.
Raspberry Pi Plant Watering (& Time Lapse)
23:41
Просмотров 332 тыс.
iPhone Завис на яблоке!
0:54
Просмотров 212 тыс.