Cascadity Audio
← All streams

#mqtt

Everything tagged mqtt, across every stream.

0

Ten years of a rule: every core smart-home device must keep working when the internet is down

Two talks' worth of slides on a local-first home (Tasmota, MQTT, Node-RED), plus readers' worst examples of devices that needlessly phone home.

The author of the Do Code That Matters blog says that for 10 years every core smart device in his house has had to work without a vendor's server. After a Nest integration broke when its API changed, he moved what matters onto hardware he owns: mostly Tasmota firmware on ESP8266/ESP32 boards, an MQTT broker, and Node-RED on a Raspberry Pi, with Alexa and some cloud services as extras only. His rules include that core functions work with the internet unplugged, that any cloud device must have an API with logs, and that there is always more than one way to do something (wall tablet, app, voice, NFC tag or QR code). The post walks through two talks given five years apart, including a homemade sprinkler controller and garage-door monitoring.

He also gathered readers' examples of pointless dependencies: a TV that can't switch inputs offline, a fridge whose temperature couldn't be changed because of an app bug, and a meat thermometer that stopped working when its company went out of business. Readers' advice included preferring local protocols such as Zigbee and Z-Wave and removing devices from accounts before throwing them away, since an abandoned connected device can be a way in for attackers. He notes AI helped edit the post.

Rabbit Holes 1
  • MQTT

    After exploring Smart home devices should work without the internet, for the messaging protocol holding it together, read about MQTT.

    A lightweight publish-subscribe network protocol for machine-to-machine messaging, designed for devices with limited resources or bandwidth, such as in the Internet of things.

    Wikipedia · Wade · 5 min

    0