DEV Community

Discussion on: Do you have any home automation projects in the works?

Collapse
 
pbouillon profile image
Pierre Bouillon

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!

Collapse
 
moopet profile image
Ben Sinclair

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