With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Automatic Hallway Runner Lights
Home Automation with Amazon Echo voice control
Low-Cost Standing Workbench - No Screws Needed!
I'm having the same issue as well even with the latest version of Fauxmo.py. Do we perhaps need to have a web server setup before we try to follow these instructions?
I'm experiencing the same behavior. full disclosure though, I'm running Alexa-Pi instead of using an actual Echo.
DIY Smallpipes (Membrane Bagpipes)
Hack a $30 WiFi Pan-Tilt Camera - Video, Audio, and Motor control with Python
Cheap Arduino Controlled Light Sockets - Reverse Engineering RF
Levitating Acrylic & Whiteboard Coffee Table
I'm currently working on using this to add commands like "alexa, turn on bbc america". It's complex. First I send a 'Wake On Lan' packet to my LG Bluray player (since my TV doesn't have WOL itself, and it doesn't wake up for my DirectTV box, but it will wake up for the HDMI CEC signal from the bluray :-( ). Then I ask the LG TV to change input to the DirectTV box, then I ask the DirectTV box to select the appropriate channel. All of these are doable over local network IP, but getting them all to play together is hard work! I'm not quite there yet. (Blueray and DirectTV are working, but I'm having problems controlling the 2011 model of LG TV) Icing on the cake, I'm getting the festival speech synth to work with a bluetooth speaker so I can get the Echo to report what is playing...
You have to have some way of controlling your device from a computer. For instance, a shell script that access GPIO pins, or sends a command to an IP-enabled device using some device-specific protocol. Then you modify the python code that this project refers to, so that it invokes that shell script on the web server where it is running. (See my remote control project below for an actual example)
fyi there's a newer version of fauxmo.py at https://raw.githubusercontent.com/makermusings/fauxmo/master/fauxmo.py which supports multiple devices. I've tried it - it works. It fetches a web cgi to cause the action to be initiated. You have to supply that cgi script yourself.
Pasta Making Class
Casting In Pre-made Molds
Mixing + Pouring Concrete
Home Automation Voice Control - Multi-Room Microphone Speech Analysis
Minecraft Glowstone Cube Lamp
This works for On but its not recognizing OFF. not sure what the issue is. I'll have to do some research.
Very well done. I am new to Pi and Python - but have made good use of this. It is possible to add more than one device in the TRIGGERS list. Echo sees the devices and responds to the commands (unique port number) Only issue is that the response, act(self, client_address, state) does not return the port. Not sure where the code for this is? Would it be possible add the port number in the response? I am using the response to send data to an Arduino port to control X10, etc. Thank you - and well done.
Over-The-Bed Whiteboard Worktable
has anyone had trouble with the Echo recognizing the faux wemo device hosted on the pi? Echo won't detect it, neither will the companion app. Also tried an independent wemo app I found in the app store, doesn't see the device. Also not detected in Network view in Win7 (I see other UPnP devices there which work TV, PC, etc)Not seeing any errors/exceptions being thrown in the console, python2.7 vs python3 makes no difference: python2.7 fauxmo.py -dListening for UPnP broadcastsgot local address of 192.168.1.51UPnP broadcast listener: new device registeredFauxMo device 'office lights' ready on 192.168.1.51:43089UPnP broadcast listener: new device registeredFauxMo device 'kitchen lights' ready on 192.168.1.51:51183Entering main loop
I am completely lost on how you get your devices to communicate with the server? Do we need to get a WeMo to plug in our fans to?
Arm and Hand Gesture Control in Python
Join 2 million + to receive instant DIY inspiration in your inbox.
Download our apps!
© 2016 Autodesk, Inc.