I don't have anything on the go at the moment, but a couple of projects I did a while back:
I made a raspberry pi into an alexa-controlled pc turner-on-offer. Used the wemo API (there's a Python module for it) to respond to switch commands and made the pi send wake-on-lan to turn machines on and use an SSH command or RPC to shutdown Linux or
I made an IoT Teasmade. Tweets when tea is ready, makes tea etc. It's in bits at the moment.
The part of this that I liked the most is that I used the MW/VHF switch to choose between two playlists, one of 70s music and one of 80s music stations. When you turn the tuning knob (or issue the command from the API) it turns a salvaged mouse scroll wheel which can just be read from Python and basically does next or previous on the playlist. Every other track on the playlist is a 5-second recording of the tuning noises you used to get on radios when you were between stations so it sounds like someone is actually doing that.
Would you mind sharing how do you trigger your tea-pot from your program? I'm trying to do kinda the same for my coffee machine and i'm looking for idea, thanks!
The whole tea cycle is triggered by a switch linked to the clock - literally a metal contact on the hour hand. It uses mains voltages for that which is a little insane. I bought a cheap 4-relay board off ebay (about £5) and wired it directly to that switch and the GPIO pins so I can trigger the tea-making cycle, the heater, or the light separately. Once the tea is made the power shuts off automatically, so I don't have to do anything clever
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.