rpdom: Me wearing my first pair of reading glasses (Default)
rpdom ([personal profile] rpdom) wrote in [personal profile] mjg59 2021-03-16 05:34 am (UTC)

A nice bit of detective work there. I'm not sure if I missed it here or on your previous post, but what CPU architecture does the doorbell run?

My doorbell is a simple Raspberry Pi Zero running some C code I threw together years ago. When the button is pressed it simply broadcasts "DINGDONG!" across my LAN.

A Raspberry Pi 1B+ is listening for that and plays an audio file when it receives it. It also used to send an SMS to my phone, but I cancelled my subscription to the service I was using.

The Zero also has some code that listens for the message and drives a strip of WS2812 LEDs by the door. It quickly fades them up to full white brightness, waits a couple of minutes, then slowly fades them down again - except on Halloween, when they are green instead of white.

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org