Post AQL5faUnMb9fnidcwq by y3mz@mastodon.tech
(DIR) More posts by y3mz@mastodon.tech
(DIR) Post #AQJOj2PFYhvw2tU1Vw by ricci@discuss.systems
2022-12-05T16:12:45Z
2 likes, 4 repeats
Okay, so let me tell you about my doorbell, from a #networking perspective.When you push the button by the door, it sends a message over the #zigbee wireless mesh network in my house. It probably goes through a few hops, getting relayed along the way by the various Zigbee light switches and "smart outlets" I have.Once it makes it to my utility closet, it's received by a Zigbee-to-USB dongle, through a USB hub (a simple tree network) plugged into an SFF PC. From there, it gets fed into zigbee2mqtt, which, as the name implies, publishes it to my local #mqtt broker. The mqtt broker is in the small #kubernetes cluster of #raspberrypi nodes I run in my utility closet. To get in (via a couple of #ethernet switch hops), it goes through #metallb, which is basically a proxy-ARP type service that advertises the IP address for the mqtt endpoint to the rest of my network, then passes the traffic to the appropriate container via a #linux veth device.I have #HomeAssistant, running in the same Kubernetes cluster, subscribed to these events. Within Kubernetes, the message goes through the CNI plugin that I use, #flannel. If the message has to pass between hosts, Flannel encapsulates it in VXLAN, so that it can be directed to the correct veth on the destination host.Because I like #NodeRed for automation tasks more than HomeAssistant, your press of the doorbell takes another hop within the Kubernetes cluster (via a REST call) so that NodeRed can decide whether it's within the time of day I want the doorbell to ring, etc. If we're all good, NodeRed publishes an mqtt message (more VXLANs, veths, etc.) (Oh and it also sends a notification to my phone, which means another trip through the HomeAssistant container, and leaving my home network involves another soup of acronyms including VLANs, PoE, QoS, PPPoE, NAT or IPv6, DoH, and GPON. And maybe it goes over 5G depending on where my phone is.)Of course something's got to actually make the "ding dong" sound, and that's another Raspberry Pi that sits on top of my grandmother clock. So to get *there* the message hops through a couple Ethernet switches and my home WiFi, where it gets received by a little custom daemon I wrote that plays the sound via an attached #HiFiBerry board. Oh but wait! We're not quite done with networking, because the sound gets played through PulseAudio, which is done through a UNIX domain socket.SO ANYWAY, that's why my doorbell rarely works and why you've been standing outside in the snow for five minutes.
(DIR) Post #AQJOj3PznQ7lBUq8Jc by pthenq1@mastodon.la
2022-12-05T23:33:55Z
0 likes, 0 repeats
@ricci What about a doorbell?Talking seriously. Awesome work. I booked marked 😁
(DIR) Post #AQJOj3si4f5ocYH44W by ricci@discuss.systems
2022-12-05T17:09:09Z
0 likes, 0 repeats
Awesome, my most boosted post to date is about my poor life decisions with respect to technology and the basic functioning of a home.
(DIR) Post #AQJOj4oUbpJVVlJD8a by ricci@discuss.systems
2022-12-05T17:21:07Z
0 likes, 0 repeats
:90:
(DIR) Post #AQKOYqFG74kGaguMPw by Zerglingman@freespeechextremist.com
2022-12-06T11:06:50.992434Z
2 likes, 0 repeats
@ricci That's a lot of points of failure for a dingdong noise maker.
(DIR) Post #AQKPyNEsgC4U75TBmi by MK2boogaloo@freespeechextremist.com
2022-12-06T11:22:40.167330Z
1 likes, 0 repeats
@Zerglingman @ricci overtechnology. Why the fuck would you want a smart doorbell?
(DIR) Post #AQKQ6SXeqbmCsP6l6m by Awoo@bae.st
2022-12-06T11:24:07.224585Z
2 likes, 2 repeats
@ricci @MK2boogaloo To see if the person ringing it is black then start playing Moonman.@ricci @Zerglingman
(DIR) Post #AQKQ7nQmfSaxx7WwPw by Zerglingman@freespeechextremist.com
2022-12-06T11:24:22.339635Z
1 likes, 0 repeats
@MK2boogaloo @ricci I can understand the appeal of wanting to direct it to different rooms (or none at all) based on different conditions.So yeah, wire it up to my server and have it forward after processing, sure.But ideally it wouldn't go through my server, do it as simple as possible instead.
(DIR) Post #AQKQe8EiqhHbkKJ7Ts by n3f_X@nicecrew.digital
2022-12-06T11:24:58.155103Z
9 likes, 6 repeats
(DIR) Post #AQKQwmUduitPoSe9my by Zerglingman@freespeechextremist.com
2022-12-06T11:33:35.184890Z
3 likes, 0 repeats
@n3f_X @ricci @MK2boogaloo I still love the broom's one.
(DIR) Post #AQKR6uAqDECSWuDD72 by MK2boogaloo@freespeechextremist.com
2022-12-06T11:35:24.978345Z
1 likes, 0 repeats
@Zerglingman @ricci you can do that without involving PC.
(DIR) Post #AQKR8b7xztI22Ofti4 by n3f_X@nicecrew.digital
2022-12-06T11:35:07.331917Z
2 likes, 0 repeats
smart brooms ... smfh lol
(DIR) Post #AQKRP87N6iqozNHOaW by roboneko@masochi.st
2022-12-06T11:38:42.104881Z
3 likes, 0 repeats
@n3f_X @ricci @MK2boogaloo @Zerglingman how are you supposed to know if the floor is clean without the broom scanning it for you?
(DIR) Post #AQKRl5iehqMBv8Bt9k by roboneko@masochi.st
2022-12-06T11:42:40.175616Z
1 likes, 0 repeats
@Zerglingman @ricci at least most of those steps are self hosted. it gets worse https://mastodon.sandwich.net/@jrenken/109465099036031046
(DIR) Post #AQKSTwbNS1xMftAqPY by Zerglingman@freespeechextremist.com
2022-12-06T11:50:47.107436Z
1 likes, 0 repeats
@MK2boogaloo @ricci That's a definitions argument in the making, so I'll stop you there.Anyway, determining presence in a room is a non-trivial task without giving everyone a tracker. Rather avoid that.
(DIR) Post #AQKZyYLmMpV67FQ8NE by probgoblin@pleroma.wafflec.one
2022-12-05T16:19:10.643208Z
0 likes, 0 repeats
@ricci DDOSing your entire home by repeatedly pushing the button.
(DIR) Post #AQKZyZBtF5BUirnkbA by ricci@discuss.systems
2022-12-05T16:20:30Z
1 likes, 0 repeats
@probgoblin Can't DoS me if I'm already DoSing myself. *taps head*
(DIR) Post #AQKaHylcNHZ5Y2llo0 by hacks4pancakes@infosec.exchange
2022-12-06T03:51:37Z
0 likes, 0 repeats
@ricci I was getting a little annoyed at the impossible complexity you had instituted until you killed it with the humor on the last line, well played.
(DIR) Post #AQKaHzYBSiPfyfUYVM by ricci@discuss.systems
2022-12-06T03:54:03Z
0 likes, 0 repeats
@hacks4pancakes I think my spouse finds the impossible complexity annoying too, TBH. Or at least, the results. But I'll have to write about the Owl Post I made that makes up for it.
(DIR) Post #AQKaHzvw2PPbAKbWWe by y3mz@mastodon.tech
2022-12-06T13:18:08.953233Z
0 likes, 0 repeats
@ricci @hacks4pancakes im fascinated with the complexity. having several clusters for experiments and attack simulation i can appreciate it. big question. what doorbell is this? i ask for friend.
(DIR) Post #AQKunw4nuZjpYNG7rU by ricci@discuss.systems
2022-12-06T16:56:16Z
2 likes, 0 repeats
@roboneko @MK2boogaloo@freespeechextremist.com @Zerglingman@freespeechextremist.com @n3f_X def is_floor_clean(): return False
(DIR) Post #AQKw7bEnCR4efVs5qq by ricci@discuss.systems
2022-12-06T17:15:44Z
1 likes, 0 repeats
@y3mz @hacks4pancakes It's Zigbee Mini Switch from Aquara. Definitely the cheapest part of this whole setup. Also, at half the price of a Raspberry Pi, simultaneously the most overpriced.
(DIR) Post #AQKwHgHvHDwTED8v0C by y3mz@mastodon.tech
2022-12-06T17:24:39.842009Z
0 likes, 0 repeats
i read conflicting information about aquara that it requires aquara hub (likely bullshvt) so will try this out as i use hubitat for zigbee ops.
(DIR) Post #AQL5cnlpYGzK6SHHyy by ricci@discuss.systems
2022-12-06T17:30:59Z
1 likes, 0 repeats
@y3mz @hacks4pancakes AFAICT, they say that as shorthand for "needs a Zigbee hub" - works fine with a Zigbee USB dongle.When I was checking the price, I discovered that Amazon offers "expert installation" of this button for $130USD. A nice value-add from Amazon: try getting *that* service from AliExpress! (Well, unless you live in China I guess)
(DIR) Post #AQL5faUnMb9fnidcwq by y3mz@mastodon.tech
2022-12-06T19:09:50.306787Z
0 likes, 0 repeats
that's a steal at 130$usd for them to play plumber with my cluster setup.
(DIR) Post #AQOvIMUj20PQo7jPzE by y3mz@mastodon.tech
2022-12-08T15:32:23.352060Z
0 likes, 0 repeats
@ricci @hacks4pancakes looking back on this. if i lived in .cn and they wanted to do a custom installation. i may have to worry about zipties, implants, and cattle prods.i'm not that kinky.
(DIR) Post #AQRwqDfZ24Hqi8OD8S by lanodan@queer.hacktivis.me
2022-12-10T02:33:23.183107Z
1 likes, 0 repeats
@ricci Meanwhile classic doorbells:- It's a bell, duh.Slightly modern doorbells:- Switch triggers buzzer on the other side, typically hearable on the outside so knocking can become an alternative
(DIR) Post #AQRxfBS12Z4AbCM0jg by pernia@cum.salon
2022-12-10T02:43:02.309704Z
0 likes, 0 repeats
@ricci *power goes out*
(DIR) Post #AQRyQ7DQbYT74duS0W by ricci@discuss.systems
2022-12-10T02:44:31Z
1 likes, 0 repeats
@pernia "Ah, blissful quiet"Actually all this stuff is either battery powered or on a UPS. It can fail to work even with mains power!
(DIR) Post #AQRyQnjoVXKUxFNuJk by pernia@cum.salon
2022-12-10T02:51:39.493375Z
0 likes, 0 repeats
@ricci for what gain
(DIR) Post #AQRzN0n88JO4Edh12e by book@sleepy.cafe
2022-12-10T02:49:57.368727Z
0 likes, 0 repeats
UOOOOOOOOH! CHILD EROTIC! 😭😭😭😭
(DIR) Post #AQS0tfL311BHD6gxai by ricci@discuss.systems
2022-12-10T03:19:00Z
1 likes, 0 repeats
@pernia Well, the serious answer is so that my wifi stays up for a few hours even if the power goes out.
(DIR) Post #AQS0vIRb6hQsmfX7K4 by pernia@cum.salon
2022-12-10T03:19:35.488657Z
0 likes, 0 repeats
@ricci no i mean for what gain the doorbell. ups is good practice
(DIR) Post #AQS1HoZgKNNUo03Hjk by ricci@discuss.systems
2022-12-10T03:22:34Z
1 likes, 0 repeats
@pernia Honestly, for the value of learning these technologies, all of which I've ended up using in other projects.
(DIR) Post #AQS1LoS8iohbaQQlPc by pernia@cum.salon
2022-12-10T03:24:24.670817Z
0 likes, 0 repeats
@ricci alright that's fair. you learned a ton rigging up your doorbell then lol
(DIR) Post #AXeqaYDOx6Idwjoqh6 by Aviva_Gary@noc.social
2023-07-13T16:59:47Z
0 likes, 0 repeats
@jetton @ricci Cute
(DIR) Post #AXeqgj31acZTHSuTC4 by feld@bikeshed.party
2023-07-13T17:00:03.717540Z
0 likes, 0 repeats
> SO ANYWAY, that's why my doorbell rarely works and why you've been standing outside in the snow for five minutes.was just gonna say... :yaycloud:
(DIR) Post #AXfFqLL95S8ZVD4JCy by ricci@discuss.systems
2023-07-13T21:40:20Z
0 likes, 0 repeats
@feld Sort of funny to re-read this months later, in the middle of the summer
(DIR) Post #Aubq1bpe1U54LlgIPg by dzwiedziu@mastodon.social
2025-05-30T05:07:37Z
0 likes, 0 repeats
@ricci2,5y and nobody mentioned XKCD 530?https://xkcd.com/530/
(DIR) Post #AubwgL5hlmSo1izwae by MisterMaker@fosstodon.org
2025-05-30T06:22:13Z
0 likes, 0 repeats
@ricci lol.Ps. Get a radio-wave controlled version, they work like a charm. And the battery lasts forever. And no complicated stuff, just a sender and receiver.
(DIR) Post #Auc0UmW8NCj3Qh6XSq by 59b@mastodon.nl
2025-05-30T07:04:56Z
0 likes, 0 repeats
@ricci my doorbell works with 2 wires an a 4.5 volt battery.
(DIR) Post #AucYQeXJV8pnxarJui by ricci@discuss.systems
2025-05-30T13:25:11Z
0 likes, 0 repeats
@dzwiedziu amazing, right?
(DIR) Post #Awk7sIRm9w2sYclNZ2 by itgrrl@infosec.exchange
2025-08-02T00:49:31Z
0 likes, 0 repeats
@ricci my doorbell:
(DIR) Post #AwkqEQw5frAFEuJCG8 by WiteWulf@cyberplace.social
2025-08-02T09:06:31Z
0 likes, 0 repeats
@ricci …and it’s all PulseAudio’s fault, amirite? 😆
(DIR) Post #Awkqug6bfEjwRwN4l6 by grootinside@troet.cafe
2025-08-02T09:14:08Z
0 likes, 0 repeats
@ricci
(DIR) Post #AwkvUd8mZ43zUnmtpw by artnacrea@mastodon.ie
2025-08-02T10:05:29Z
0 likes, 0 repeats
@ricci I prefer the smart approach.
(DIR) Post #AxGU5FSazU7Z6nRfqC by richardinsandy@c.im
2025-08-17T15:16:25Z
0 likes, 0 repeats
@ricci our doorbell. In snooze mode.
(DIR) Post #AxGYdxsWkbh8X2Nsky by ricci@discuss.systems
2025-08-17T16:20:15Z
0 likes, 0 repeats
@pthane hmm maybe I should try hosting a mastodon instance on the doorbell
(DIR) Post #AxHNlaaaJrIyHQNugi by jigmedatse@social.jigmedatse.com
2025-08-18T01:53:01Z
0 likes, 0 repeats
@ricci Is it really that much different than those fancy commercial products? It's probably hard to say, but I will say that unless you can confirm that it really does work as desired, you can never be sure it's working.
(DIR) Post #AyzQ0bHxkH7l6TC1jc by ricci@discuss.systems
2022-12-26T22:10:42Z
0 likes, 0 repeats
My dad asked me about doorbell options today and I'm so grateful I had this to point him to as a quick way to explain why he should absolutely not want my opinion on this subject.
(DIR) Post #AyzQ0cs9rBfg118Rn6 by ricci@discuss.systems
2022-12-26T22:16:55Z
0 likes, 0 repeats
Though to be clear he is absolutely the person I got these terrible decision making skills from
(DIR) Post #AyzQ0dSJgkavpA3K9Q by loke@functional.cafe
2025-10-08T05:37:31Z
0 likes, 0 repeats
@ricci at least there isn't any cloud stuff in there. I'd expect a "modern" architecture to deploy this on aws.
(DIR) Post #AyzVAU2o2CQDIldT7Y by Daseinsappeal@troet.cafe
2025-10-08T06:35:22Z
0 likes, 0 repeats
@ricci Tip from an old computing fart: don't forget sending the signal to turn the ringing off a short while after starting to ring.
(DIR) Post #Az1EzcJVjrMIoTAK80 by JustinMac84@mastodon.social
2025-10-09T02:43:34Z
0 likes, 0 repeats
@ricci Reading this, which was very impressive, I was reminded of this clip from the Big Bang Theory. https://www.youtube.com/watch?v=mwPhzEaOktQ
(DIR) Post #B0CDMutRGSS6bll6ps by magnetic_tape@infosec.exchange
2025-11-13T07:39:18Z
0 likes, 0 repeats
@ricci
(DIR) Post #B0CDhA3maHQRRHFahE by ricci@discuss.systems
2025-11-13T07:42:58Z
0 likes, 0 repeats
@magnetic_tape the only way to pass the Turing Test is not to play