DIY Dumb Alarm clock to ST (door sensor)

( Cosmo) #1

So I wanted to take an old AC (digital) clock radio from the 90’s and connect it to ST. Due to there being no really good way to automatically trigger wake up routines with an alarm (for those of us who don’t get up st the same time every day).

Basically, all you do is set the time for the morning wake up, and when it goes off, it opens a door contact which triggers your Smart routine.

I thought of wiring a door contact sensor to the speaker with a dry contact reed switch. it the speaker is Obviously puts out variable output so it may not always close the relay.
At the suggestion below, I used a sound/light activated relay. It cost $7 on eBay. I wired up contacts off the speaker terminals to the microphone input on the relay module. If you don’t want the alarm clock to make noise, but simply trigger the door sensor, just clip the speaker contacts and solder them directly to jumpers to relay board. I chose to solve the jumpers right onto the speaker contacts and keep the speaker.

It took a bit of calibrating the potentiometers on the relay module:
Turn up sensitivity of audio input, turn down light sensor input, and shorten delay on contact (time it takes to shutoff after input stops). I set my delay around 7 sec.

So when the alarm goes off, it triggers the audio input of the relay which opens the door contact, (normally “door sensor = closed”)

So all you have to do is head down to goodwill and pickup any alarm clock. New or old, AC or D.C. Powered. Grab anything you like for $5-8.

Pickup one of these:

Pickup any ST compatible door/window reed sensor.

Power the relay with a USB cable, just chop the end off. Solder jumpers onto speaker positive and negative, and run to relay module input.

Wire NC relay to a door contact sensor, use one with external screw terminal contacts, or solder fine wife to ends of reed switch.

All less than $25 including a cheap door sensor like Xiaomi zigbee sensors.

Integrating 4-wire intercom with Smart Things?
(Geko) #2

The speaker wire carries alternating current to produce sound. You’d have to build a rectifier and a filter to convert it to DC and then feed it to a relay connected to dry contacts (e.g. door/window sensor).

(Robin) #4

This may do the job:

When making up the kit, don’t use the microphone and wire to the speaker instead (you don’t want false trips from snoring or other bedroom activities :wink:)

Best to use an audio potentiometer in series with the speaker wires and start with it turned right down (you don’t want to overload the circuit), wind up the volume slowly until it triggers… Happy soldering!

( Cosmo) #5

Project finished, see write up in post 1.

(Robin) #6

Glad the sound activated switch idea I reccomended worked out for you!

I’ve been toying with a similar build for some time but I need to have two triggers, 10 minutes apart.

The first trigger needs to be silent and will be used to turn on the bedroom lights at 1%, they will then slowly ramp up to 50% over 10 minutes.

I also want to use the first trigger to warm up the toilet seat, turn on the heated floor in the bathroom and maybe run the shower for a few minutes to get the water hot.

The second trigger (10 mins later) would be the wake up alarm, if the lights ramping up don’t wake me naturally. Also boil the kettle and lights to 100%.

Ideally this would be linked to my regular iPhone alarm but Apple don’t offer an IFTTT applet for the alarm :frowning:

You got me thinking again though, I might go down the echo dot route instead.