Тёмный

How To: DIY Home Automation With ESP8266 and Amazon Alexa! 

TheMakersWorkbench
Подписаться 9 тыс.
Просмотров 75 тыс.
50% 1

*****************NOTE******** The code contained in this video no longer works after an update to the Amazon Alexa API. ****************************
Welcome back to another installment of The Workbench. In this video, I describe how I control a LinkNode R4 ESP8266 4-Channel Relay Board With Amazon Alexa, and demo the final results.
The written tutorial that accompanies this video can be found here: bit.ly/2hbIO8u
Link to GitHub - bit.ly/2hd5l7E
Buy The Linknode R4 on Amazon.com: amzn.to/2kMD5IC
Link to LinkNode R4 User Manual - bit.ly/2hdchSA
LinkNode R4 Android APK - bit.ly/2heSoYx
LInkNode R4 IOS App - apple.co/2htKppF
If you like this video, please consider becoming out patron on Patreon. - bit.ly/1FWfVqT
Additionally you can follow us on:
Facebook - on. 1dwf8AE|
Instagram - @MakerofThingz
Twitter - bit.ly/1F9wjhc
The Web - www.themakersworkbench.com
Element14 - bit.ly/2dKow9d
Pick up everything you need to build this project at Amazon.com by using the links below. This helps support our channel!
Amazon Echo Dot - amzn.to/2h55l6Q
LinkNode R4 - amzn.to/2gDKR4z
5V Power Supply - amzn.to/2h7RDDf
FTDI Cable - amzn.to/2h7PdEz

Наука

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

 

6 дек 2016

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 163   
@HansPeter-ub2zu
@HansPeter-ub2zu 6 лет назад
awesome work, man! i used your code to build one on my own. but instead of relais, i used a 433mhz transmitter to control rc electrical outlet switches. thanks for sharing the code!
@MrJodycochran
@MrJodycochran 7 лет назад
i was looking for a tutorial to do this exact thing. thank you very much! excellent walk through!
@Themakersworkbench
@Themakersworkbench 7 лет назад
Jody Cochran thank! glad I could help
@Fentertainment
@Fentertainment 7 лет назад
Awesome job Charles!
@Themakersworkbench
@Themakersworkbench 7 лет назад
Thanks!
@ranger81de
@ranger81de 7 лет назад
Awesome video. I'll definitely use this with my Sonoff devices... Thanks
@hightechgearworks7325
@hightechgearworks7325 7 лет назад
Thanks for the Tut, Easy to understand and now I must put it to use.
@Themakersworkbench
@Themakersworkbench 7 лет назад
Thanks!
@ESCAGEDOWOODWORKING
@ESCAGEDOWOODWORKING 7 лет назад
Awesome work dude!!!
@Themakersworkbench
@Themakersworkbench 7 лет назад
Thanks!
@sethlavinder
@sethlavinder 6 лет назад
This is great! I have to try this out! Just got a couple echo’s in the house
@yt440volts
@yt440volts 7 лет назад
Nice video. Could you do one for all the newbies out here? From how to get the libraries to how to install them and setting up the LinkNode? Would be very helpful.
@eddylai3607
@eddylai3607 7 лет назад
I like it very much, just ordered LinkNode R4. If you can show the step by step it will be perfer. Because it is new to me.
@AdrianSymister
@AdrianSymister 7 лет назад
Great Job, Im gonna try that, Just ordered the linknode r4 and and a amazon echo v2. Is there anything else i need?
@marcelobenitezabc
@marcelobenitezabc 6 лет назад
awesome work!!! congrats..
@WolpertingerLP
@WolpertingerLP 6 лет назад
Great video - Thx for that. One point. is it possible to ask Alexa about the status of the light "Alexa Is light 1 on?" not sure about that.
@TheBurninice
@TheBurninice 6 лет назад
Super cool :). Awesome work..
@terra-ignition6158
@terra-ignition6158 7 лет назад
Thank you from Germany. It´s works!!
@Themakersworkbench
@Themakersworkbench 7 лет назад
+Terra-Ignition thanks!
@DaGormz
@DaGormz 7 лет назад
Awesome video man!
@Themakersworkbench
@Themakersworkbench 7 лет назад
Thanks Nolan!
@bhogalandson
@bhogalandson 7 лет назад
Hi, I really like this tutorial. I ordered the Linknode R8. However, I am trying to figure out how to use the FTDI cable. I am using the recommended FTDI cable, however that 6 pin cable does not line up directly with the Linknode's 3 pin setup. The TX and RX pins are in different locations. Can you please shed some light on how the cable needs to be hooked up?
@JoseSantana-pg2xu
@JoseSantana-pg2xu 6 лет назад
The first thing that work for me after months and countless late-night hours and frustration. Thank you very much. Amaizing work. At the same time would like to ask askyou you how to assign a pin for a led Wi-Fi status and pins to control the relays individually with push buttons. Just like Sonoff 4ch works. Thank you.
@JoseSantana-pg2xu
@JoseSantana-pg2xu 6 лет назад
Go it working. Thanks.
@justinchoate7565
@justinchoate7565 7 лет назад
Any way you could explain the wiring (or point me in the right direction to learn it myself). I am very new to this and am not sure how it all connects together. Other than that, awesome tutorial I can wait to try it out
@PatnaikUC
@PatnaikUC 7 лет назад
SSID and the PW are hard coded. Can a method be developed to make those changeable by software or application or a mobile phone?
@maelstromfacetoface
@maelstromfacetoface 6 лет назад
Perfect JOB! Please , i need full code video ? Thanks!
@richboi2171
@richboi2171 6 лет назад
Great video
@MichaelLawing
@MichaelLawing 7 лет назад
Super cool!
@Themakersworkbench
@Themakersworkbench 7 лет назад
Thanks!
@chi-tinhnguyen5176
@chi-tinhnguyen5176 6 лет назад
thank bro I have a interesting question How can we connect node mcu with Alexa amazon to control servo to make lock door please
@motionsick
@motionsick 6 лет назад
After days of failure finally got it programmed as a "WeMos D1(Retired)" board at upload speed 115200. Also for any other total noobs like me the RX and TX connections are crossed between R4 side and USB side. So hook up RX on usb serial board to TX on linknode r4 board and vise versa.
@EdwinFairchild
@EdwinFairchild 7 лет назад
what amazes is me is how the shape of the board looks different as it rotates
@beckychen4565
@beckychen4565 7 лет назад
nice work!
@Themakersworkbench
@Themakersworkbench 7 лет назад
Thanks Becky!
@316zamil
@316zamil 7 лет назад
HI, I wanna try the Node R4 to control with Iphone Siri, what possible changes do I have to make in the codes to achieve that?
@chungtommy7677
@chungtommy7677 6 лет назад
Is there the video to show how to set up the light and other devices for this video?
@nareshveda3290
@nareshveda3290 4 года назад
Thanks for sharing this project. Could you please elaborate on how to make Alexa discover this device.
@PatnaikUC
@PatnaikUC 7 лет назад
By the way good video. Thanks
@andreamitchell4758
@andreamitchell4758 7 лет назад
is there like a $5 version that has 2 relays? i bought a broadlink pro with 433mhz to use with alexa but it would not learn a few of my remotes including the garage door opener no i have to get 433 mhz relay boards to control and hop the broadlink will be able to learn the a remote, good thing about them is that they can learn any remote 433mhz and they are cheap you can buy 1,2, or 4 relay versions ,this is a much more direct solution,but i thought the broadlink would learn all my remotes this may have been the better way to go, and just have bought the much cheaper IR only broadlink RM for my IR devices
@iSnakex87
@iSnakex87 7 лет назад
Great Tutorial! Thanks for this and supplying to source code. I am running into an issue where my NODEMCU ESP8266 WiFi Connection will drop out after a short period of time. I then have to unplug the device from power and let it sit for a minute. before plugging it back in, reprogramming it before it will reconnect. Any ideas? I am using this to control WS2812B RGB LED strip with external 5V power source. Thanks for any advice you can provide.
@zergraph
@zergraph 7 лет назад
WiFi Connection problem? If you have a problem getting WiFi to connect (as I did) change the amount of time it waits for a connection to something larger. It was just 10 in the version I used, and that wasn't long enough. In the ConnectWFi() routine I changed the conditional from 10 to 20 and that worked.
@rogermoseley7554
@rogermoseley7554 7 лет назад
Yes, I am very interested in tutorials on how to get Alexa/Dot up and running. I have a fully computerized house control network, but right now it's all wired. I have, and was planning on eventually figuring it out, ports available for external inputs via other modules. Alexa and ESP8266 (several in my parts box) seems the way to go.
@Themakersworkbench
@Themakersworkbench 7 лет назад
Check back on 2/10/2017 for a Node MCU and 4-channel Relay Board tutorial.
@rogermoseley7554
@rogermoseley7554 7 лет назад
Made it and it's running. Thanks very much.
@amaanmajeed4068
@amaanmajeed4068 6 лет назад
Can you tell me what is upnp broadcast. I'm kinda beginner so don't know these kind of stuff
@SoumilShah
@SoumilShah 7 лет назад
dear sir i would really appreciate how do i change name instead of light i want fan what should i do ?? which part in code should i change ?
@GeertDroid
@GeertDroid 6 лет назад
I flashed your sketch to LinkNode R4 and all seems to work. However if I try Alexa to search for devices it does not find any, although the NodeLink is broadcasting. Yhe WeMo skill is unusable as it requires a Belkin MAC address, others wil not accept. Can you please explain how you pair the LinkNode with Alexa?
@discipleoftheword1785
@discipleoftheword1785 7 лет назад
I have not been able to get past memory error. I'm only seeing transmit light flash 3 sets of 3 on usb. Then espcomm_upload_mem failed. I love that you made this video, just hope I can overcome.
@Themakersworkbench
@Themakersworkbench 7 лет назад
I get this error too on both the Linknode and Node MCUs. I usually have to unplug the serial cable, and the power from the unit, plug it back in and all seems to work fine. Make sure the programming jumper is in the right configuration.
@hypnomediahm373
@hypnomediahm373 7 лет назад
Hi, Does this switch support interlocking mode ??
@kristianprokupek6606
@kristianprokupek6606 6 лет назад
Nice. How you learn Alexa to send TCP/IP commands to your ESP8266 ?
@shashanka8344
@shashanka8344 7 лет назад
hey i wanted to link it with my DIY alexa will it work? its done with a raspberry PI 3 please help me
@seamus65
@seamus65 7 лет назад
Hello, Is there a way to get the Linknode R4 to connect to OpenHabian2?
@nathandiven6749
@nathandiven6749 5 лет назад
Could this be use to tigger transistors?
@st4rxreaper657
@st4rxreaper657 6 лет назад
hi when trying to add a device, i chose to carry on the port sequence so port "84" and "85" but it doesnt work for some reason? can anyone help on this? in the serial monitor it says this "ets Jan 8 2013,rst cause:2, boot mode:(1,7)" "wdt reset" and loads of other commands! if this helps the problem. thanks :)
@mrteausaable
@mrteausaable 6 лет назад
How do you make Alexa to speak your intro script?
@StuffWithKirby
@StuffWithKirby 7 лет назад
I got this board and was wondering if gpio16 goes high and stays on for yours also. It turns on one relay when turning on. Which is quite annoying since I want it all off when booting. Id rather not have to write the program to turn 16 off every time after starting. I am working on loading micropython on mine also
@Themakersworkbench
@Themakersworkbench 7 лет назад
+Stuff With Kirby from what I can recall, GPIO16 does not stay high.
@brandontran2384
@brandontran2384 6 лет назад
Yeah can you make a video explaining your code!! I really want to learn how to code in Arduino. Thanks
@Kirthikvasan
@Kirthikvasan 6 лет назад
do we need to code alexa too? i mean what does esp there for ?
@alanpowell328
@alanpowell328 7 лет назад
Unfortunately,, the LinkNode R4 doesn't appear to available in Europe, well not through any Amazon outlet. I have used a NodeMCU and successfully compiled and uploaded the code. However, Echo/Alexa cant discover the device so I've got to find out why. Awesome project with very straight forward code - now subscribed and a patron.
@Themakersworkbench
@Themakersworkbench 7 лет назад
Thanks for becoming a Patron Alan! If the Echo can not find the Node MCU make sure it is connected to your WiFi and that both devices are on the same SSID. If the Echo is on a 5GHz and the Node MCU is on the 2.4GHz SSID, they will not find each other. In the past two weeks I have seen some reports of people having to enable the WeMo skill, on their Echo first, but it was already enabled by default for me. I am not sure if it comes disabled in the latest update or something.
@josephshivute4800
@josephshivute4800 7 лет назад
Could you please share on how you got alexa to discover the devices and so on
@tomshumpert
@tomshumpert 7 лет назад
how is the wiring connected? to the lights...
@PhotoGuyOmaha
@PhotoGuyOmaha 7 лет назад
Two things... 1) I can't figure out what to do with the "Arduino Core for LinkNode 4" that the LinkNode website told me to download but never tells me to install/configure/setup... and 2) I get a 4 part warning stating "warning: espcomm_sync failed" and 3 other associated messages. I thought I burned it up by having my FTDI set to 5v. Bought another one and only have tried 3.3v. No Joy. :( I have followed the LinkNode tutorial (half way down for Arduino Programming) step-by-step. No Joy.
@consig1iere294
@consig1iere294 7 лет назад
Hi can you please make a tutorial for NodeMCU and a relay setup?
@Themakersworkbench
@Themakersworkbench 7 лет назад
I will have it ready in a few weeks. A few other things to finish up before I can get around to it.
@zachsmith2309
@zachsmith2309 7 лет назад
When is the FTDI Serial TTL-232 USB Cable used and is it required for this project?
@zachsmith2309
@zachsmith2309 7 лет назад
Could you use this instead? www.amazon.com/Blue3D-Ft232rl-Serial-Adapter-Arduino/dp/B012YUANZK/ref=sr_1_8?s=electronics&ie=UTF8&qid=1490558089&sr=1-8&keywords=FTDI+Serial+TTL-232+USB+Cable
@alleninventions8315
@alleninventions8315 7 лет назад
after you upload the code what do you have to do on the alexa side to get it up and running?
@Themakersworkbench
@Themakersworkbench 7 лет назад
I simply had to ask "Alexa discover devices" and it worked fine, but some people are having to enable the WeMo skill first. It use to be enabled by default, but it appears that is no longer the case.
@nuzulhakimi84
@nuzulhakimi84 7 лет назад
how can i buy this EPS 8266 and how to program?
@mrteausaable
@mrteausaable 6 лет назад
How do you make Alexa speak the introduction?
@chodavadiyajaydip8937
@chodavadiyajaydip8937 5 лет назад
CAn i use arduino output pins for relay? i want to connect 11 outputs..??
@PatnaikUC
@PatnaikUC 7 лет назад
Initially it did not work though Alexa recognized the unit. But after short circuiting CH_PD to Vcc in Linksprite and again asking the discovery to alexa it worked perfect for all the four relays
@Mrvishnu192
@Mrvishnu192 6 лет назад
Hey.. Great stuff! But Alexa doesnt seem to to discover the device. I can ping the ESP though.
@singhm29
@singhm29 7 лет назад
Hey there, do you think there would be any issue with setting up sereval Linknode R4s to be controlled by Alexa?
@Themakersworkbench
@Themakersworkbench 7 лет назад
In the switch.cpp file you should be able to change the device serial number to something unique to each device, and that will allow multiple units. I am not sure if the WeMo skill is limited to 14 switches total or if it is limited to 14 switches per device though.
@lisnjay
@lisnjay 7 лет назад
Great Video! Used a NodeMCU with a single relay and just removed the code referencing to the other relays and outlets. Currently uploading the sketch to an ESP8266-01 to see if I can get that to work too. Thanks again!
@lisnjay
@lisnjay 7 лет назад
Worked great on the 8266-01!
@Themakersworkbench
@Themakersworkbench 7 лет назад
Awesome!
@2Paddlers1
@2Paddlers1 7 лет назад
I am just getting started in to this world of fun stuff.
@2Paddlers1
@2Paddlers1 7 лет назад
You did a great job
@Themakersworkbench
@Themakersworkbench 7 лет назад
Thanks Darrin!
@RACECARADI
@RACECARADI 6 лет назад
Any alternatives to linknode? Out of stock
@DD-zh3jj
@DD-zh3jj 7 лет назад
liked! please do some code tutorial awesome work there
@Themakersworkbench
@Themakersworkbench 7 лет назад
I will see what I can do over the next couple of weeks.
@luigiboss4803
@luigiboss4803 7 лет назад
subbed, look foward to that video...
@dannymartin4225
@dannymartin4225 7 лет назад
I have tried to set up my EchoPi with this and I can't get the devices discovered. Does all the connections need to be made in order for the Echo to discover all these devices?
@Themakersworkbench
@Themakersworkbench 7 лет назад
I am not sure if this will work with EchoPi. I have yet to try.
@vannesys2004
@vannesys2004 7 лет назад
1.) Hi,is that posibble to make ESP8266 to hangle max 14 single device name in one chip? if it's work,whick port is better to uesd? [80-90]/TCP、[91-100]/TCP ? thanks a lot =)
@Themakersworkbench
@Themakersworkbench 7 лет назад
+韋凡陳 I'm not sure. Sorry.
@tiwar87
@tiwar87 6 лет назад
Is it currently unavailable, is still on sale?
@travishenderson8202
@travishenderson8202 7 лет назад
Thank you! Thank you! worked great for me the first time. However the second time its giving me this- fatal error: switch.h: No such file or directory...... I've made sure the files you supplied from git hub are in the same file as the sketch. I can even see the tabs behind the main sketch tab on the IDE. But am so stumped. Ive tried deleting and re downloading arduino IDE, and all else i can think of. Thanks for any help :)
@Themakersworkbench
@Themakersworkbench 7 лет назад
Make sure that none of the sentax has changed. I just downloaded my code from github and it's working fine for me. I am not sure what could be causing that error.
@travishenderson8202
@travishenderson8202 7 лет назад
Thanks for the reply. After some time looking into it, i found that the compiling error was caused by the main library folder needed to be renamed and simplified to where it does not contain any characters other than letters and numbers.
@Bananaskin1
@Bananaskin1 7 лет назад
I'm assuming the same can be achieved with an ESP8266-12 and a separate relay board module (just more work with the iron)
@timm3802
@timm3802 7 лет назад
Yes ...no problem
@Themakersworkbench
@Themakersworkbench 7 лет назад
Yes, in fact that is how I came to find the Linknode R4. I was looking for a pre-built ESP8266 4-channel relay board. I had previously built a DIY relay and ESP8266 solution.
@mdrasel-ue8dc
@mdrasel-ue8dc 6 лет назад
I uploaded the code then how do i enable with alexa skills? please help me
@thebrads28
@thebrads28 7 лет назад
Hi I've just ordered a board after seeing your great video, I already have an echo dot which works well with my existing wemo switch. With my wemo I can control it locally via alexa and remotely via the wemo app from anywhere. Can I do this with the Linknode or am I restricted to local use via Alexa?
@Themakersworkbench
@Themakersworkbench 7 лет назад
+Raymond Bradshaw Unfortunately not. The Wemo app will not recognize the device running the Fauxmo code.
@thebrads28
@thebrads28 7 лет назад
I didn't necessarily mean the wemo app, I notice you linked to the LinkNode R4 Android APK for remote control, is it possible to retain this code and control it from this remotely as well as by Alexa? That would be the icing on the Cake!
@Themakersworkbench
@Themakersworkbench 7 лет назад
I'm sorry I guess I misread your original question. Technically the two pieces of code could be merged, but as it sits right now, it is one or the other. If you check out my github, a few people have forked the code, and are working on a better solution for the WiFi, so maybe once their fork is finished, we can fork their code to include the Linknode R4 App code.
@thebrads28
@thebrads28 7 лет назад
That would be great its a long time since I did any coding etc (Z80 machine code in the 80s). Have been quoted 20 to 40 days for delivery from ali-express as they don't seem to be available in the UK. So I have plenty of time to brush up my skills.
@Themakersworkbench
@Themakersworkbench 7 лет назад
The LinkNode R4 can be bought on Amazon and has Prime too! amzn.to/2iB9C1P
@anujmalve1379
@anujmalve1379 7 лет назад
hello .. i want to do the same but instated of doing it using echo dot can i use this using alexa in raspberry pi ? will it be the same ??
@Themakersworkbench
@Themakersworkbench 7 лет назад
Technically it should still work as long as the WeMo skill works on the Pi. That may be a future video if there is interest!
@anujmalve1379
@anujmalve1379 7 лет назад
yes plz, when you will upload the same video
@asvanfiirizky8439
@asvanfiirizky8439 6 лет назад
amazing. nice try.
@homemide7375
@homemide7375 7 лет назад
nice
@LuisGonzalez-zd5yh
@LuisGonzalez-zd5yh 7 лет назад
Amazing dude, i am trying to do it with bluetooth, if you have any advice i would appreciate it thanks (:
@Themakersworkbench
@Themakersworkbench 7 лет назад
Hey Luis, Are you trying to control relays with bluetooth? Give me a little more info, and I will see what I can do.
@LuisGonzalez-zd5yh
@LuisGonzalez-zd5yh 7 лет назад
Could u give me ur mail to send you more info?
@Themakersworkbench
@Themakersworkbench 7 лет назад
Sure shoot me an email at themakersworkbench at gmail
@brycelongacre5356
@brycelongacre5356 7 лет назад
Is anyone else having an issue where the linknode just flashes LED D3 once the code is uploaded?
@leemandell6471
@leemandell6471 7 лет назад
It looks like the R4 is no longer available. Is there an alternative?
@Themakersworkbench
@Themakersworkbench 7 лет назад
I have updated the link to the R4 that appears to be back in stock at $10
@dharmateja2490
@dharmateja2490 7 лет назад
i made alexa using raspberry pi , can i use it in house automation ...?
@Themakersworkbench
@Themakersworkbench 7 лет назад
In theory, yes.
@sandychatterjee7457
@sandychatterjee7457 7 лет назад
Can you show us how to this with a seperate relay and nodemcu
@Themakersworkbench
@Themakersworkbench 7 лет назад
That video will be out tomorrow! Thanks for watching!
@sandychatterjee7457
@sandychatterjee7457 7 лет назад
Thanks for that I will subscribe and wait for it.
@sandychatterjee7457
@sandychatterjee7457 7 лет назад
So any updates about that tomorrows video?
@alleninventions8315
@alleninventions8315 7 лет назад
I keep getting this error: "warning: espcomm_sync failed error: espcomm_open failed error: espcomm_upload_mem failed error: espcomm_upload_mem failed" any ideas? I'm using a FTDI drive to connect it but this is supposed to work.
@Themakersworkbench
@Themakersworkbench 7 лет назад
I get this error too on both the Linknode and Node MCUs. I usually have to unplug the serial cable, and the power from the unit, plug it back in and all seems to work fine.
@alleninventions8315
@alleninventions8315 7 лет назад
I finally fixed it, but I basically just kept moving around the jumpers and doing things to reset it. It just seemed to randomly work once every 20ish times. Anyways I have it set up now and it works amazingly thanks so much!
@timm3802
@timm3802 7 лет назад
Hi there Do you have a list over words we can trigger Alexa with ?
@Themakersworkbench
@Themakersworkbench 7 лет назад
As far as this project goes, you can set the trigger words in the code, and they can be anything you want them to be. If you are talking about Alexa trigger words in general, a quick google search will come up with dozens of different words, phrases, and skills you can use to do many different things with Alexa.
@timm3802
@timm3802 7 лет назад
Ok as long as I say "Alexa, turn xxxxxx" on or off right ? Because if I say "Alexa, T.V. on" She can't understand it. What if I what to use "Alexa, turn channel up" .... what would be needed to do, for recognize the "up" word ?
@Themakersworkbench
@Themakersworkbench 7 лет назад
+Tim M is your TV compatible with alexa? Im not sure what you are asking. Do you have the linknode connected to your tv? If so, all it can do is turn on the power going to your tv, not the tv itself. This tutorial is more so for things like lights, fans and other on/off type things
@timm3802
@timm3802 7 лет назад
Ok sorry for the crypto question :) My goal is to use Alexa to turn on my infrared things, such as TV, amplifier aso. It's a expansion of yours and 3 other project ...Heres a bit of my sketch : /* Declare Samsung TV callbacks (on-off) */ void SamsungTVOn(); //Samsung TV toggle ON/OFF void SamsungTVOff(); //Samsung TV toggle ON/OFF void SamsungMuteOn(); //Samsung TV Mute void SamsungChannelUp(); //Samsung TV Channal up void SamsungChannelDown(); //Samsung TV Channal Down void SamsungVolumeUp(); //Samsung TV Volume up void SamsungVolumeDown(); //Samsung TV Volume down void SamsungCH1On(); //Samsung TV Ch 1 void SamsungCH2On(); //Samsung TV Ch 2 void SamsungCH3On(); //Samsung TV Ch 3 /* Declare Marantz callbacks (on-off) */ void AmplifierOn(); //Amplifier ON void AmplifierOff(); //Amplifier OFF void AmplifierVolumeUp(); //Amplifier volume up void AmplifierVolumeDown(); //Amplifier volume down void AmplifierAuxOn(); //Amplifier Aux input void AmplifierTunerOn(); //Amplifier Tuner input void AmplifierTvOn(); //Amplifier TV input void AmplifierDVDOn(); //Amplifier DVD input void AmplifierScourceUp(); //Amplifier Source up void AmplifierScourceDown(); //Amplifier Source down void AmplifierMuteOn(); //Amplifier Mute toggle void AmplifierMuteOff(); //Amplifier Mute toggle /* Declare Mile callbacks (on-off) */ void VacuumCleanerOn(); //Vaccum Cleaner toggle ON void VacuumCleanerCornerOn(); //Corners ON void VacuumCleanerGoOn(); //Go Go Go void VacuumCleanerBaseOn(); //Return to home But I'm having troubles getting Alexa to understand the UP/Down commands. Probably because she don't know them. I think I will have to create a Skill for her to understand UP/Down commands. (Or find a skill who will match) I'm also planning to use dimmers for the light, but it will come later. You can see some of my project here: github.com/tvixen/Wemo-for-Alexa I just thought that you might have a list over words we can trigger Alexa with, In this context?
@Themakersworkbench
@Themakersworkbench 7 лет назад
+Tim M try the words tee vee instead of TV
@ehabsarsar1800
@ehabsarsar1800 5 лет назад
how can i upload the code into esp8266
@nicholaslenzini1759
@nicholaslenzini1759 7 лет назад
Does this still require the LinkNode Cloud to use this. Or is it self contained? This is a huge deal for me if its self contained.
@Themakersworkbench
@Themakersworkbench 7 лет назад
Nicholas Lenzo its self contained.
@nicholaslenzini1759
@nicholaslenzini1759 7 лет назад
Fan Freaking Tastic. Awesome. You made my day!
@Themakersworkbench
@Themakersworkbench 7 лет назад
Nicholas Lenzo awesome! can you give a hint about your project?
@nicholaslenzini1759
@nicholaslenzini1759 7 лет назад
Its most likely going to be a Base station that uses esp8266 or ethernet to listen for Alexa, then send out to cheaper units that control outlets using the nrf24l01. I have several lamps in my house that are very annoying to turn on/off. Probably going to make a Website to control it as well.
@Themakersworkbench
@Themakersworkbench 7 лет назад
look into the home assistant project. I'm working on a tutorial now on how to use those cheap remote controlled outlets from Amazon using an esp8266 and alexa
@tomporter114
@tomporter114 7 лет назад
Do full code video!!!
@Themakersworkbench
@Themakersworkbench 7 лет назад
I will see what I can do over the next few weeks.
@plgmgua
@plgmgua 7 лет назад
Owsome how simple this is, I won´t need my raspberry pi to be the middle man! thanks!
@Themakersworkbench
@Themakersworkbench 7 лет назад
Good deal! Or you could still include your Raspberry Pi, MQTT, and Home Assistant to have multiple ways to control this!
@alanpowell328
@alanpowell328 7 лет назад
Do I need to have a specific "skill" enabled to make this work?
@Themakersworkbench
@Themakersworkbench 7 лет назад
On my echo I did not, but I have seen a few people say that they had to enable the WeMo skill on their echo dot that was purchased within the last month. So I am not sure if a software update disabled the WeMo skill or not.
@alanpowell328
@alanpowell328 7 лет назад
Yes - i got that far this afternoon. The Wemo skill used to be one of the available skill selections but apparently it is now built in to the Echo Dot so it cant be selected and I think the assumption is made that these devices will work by default. Unfortunately, while it might work for genuine Wemo device, I have no way of knowing, it doesn't for this project. That is a shame. Where do I go from here?
@paumaximus7572
@paumaximus7572 7 лет назад
Alan Powell, Were you able to make it work?
@lisnjay
@lisnjay 7 лет назад
I didn't have to enable anything on my Echo (about a year old) or a new dot. Just had Alexa search.
@TRCCtv
@TRCCtv 7 лет назад
good info after my nausia from the board spinning for the first 2 minutes subsided
@HassanKhalid
@HassanKhalid 7 лет назад
Can we set timer ?
@Themakersworkbench
@Themakersworkbench 7 лет назад
Not in this version of the code, and I am not sure if anyone has successfully modified the fauxMo code to set a timer on WeMo switches yet.
@djgajit7287
@djgajit7287 7 лет назад
hi. hello great video... i got mine woking fine. istrate away.. i used a esp-12E . and a seperate 8way relay board.... ( sorted all woks 5star) is it possible if you could tell me how to add to the code so that im using the esp-12e ( 8) gpio pins to switch 8 individual outlets.. on the relay board please... im not to sure about the port area numbers... 81/82/ ..... then to add another 6 thank you. i
@THEWHITEKNIGHT
@THEWHITEKNIGHT 5 лет назад
One big fucking question, do i have to upload this program on ESP8266 or on the Arduino board??
@josephshivute4800
@josephshivute4800 7 лет назад
hey bro
@svampebob007
@svampebob007 7 лет назад
ok
@rfdave3980
@rfdave3980 6 лет назад
Getting dizzy
Далее
Китайка Шрек поймал Зайца😂😆
00:20
Control Nearly ANYTHING with Alexa for under $10! 👍
5:24
Control ANY COMPUTER with these Pi KVMs!
17:46
Просмотров 812 тыс.
Make "Alexa" Control ANYTHING!
7:34
Просмотров 1 млн
Control a Relay From Anywhere Using  the ESP8266
10:26
Просмотров 142 тыс.
The Truth About SIM Card Cloning
13:04
Просмотров 1,1 млн
How To Control Practically Anything With Alexa
14:48
Просмотров 365 тыс.
Это iPhone 16
0:52
Просмотров 1,3 млн