rene_mobile’s avatarrene_mobile’s Twitter Archive—№ 9,126

          1. RT @ricci@discuss.systems 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 (1/10)
        1. …in reply to @rene_mobile
          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 (2/10)
      1. …in reply to @rene_mobile
        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 (3/10)
    1. …in reply to @rene_mobile
      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 (4/10)
  1. …in reply to @rene_mobile
    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 (5/10)
    1. …in reply to @rene_mobile
      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 (6/10)
      1. …in reply to @rene_mobile
        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 (7/10)