Analoge Türklingel smart machen – aber in richtig und mit ESPHome

Es gibt unzählige Smart-Home Projekte, um seine Türklingel smart zu machen, der Bedarf scheint also groß zu sein. Der Vorteil liegt auf der Hand: man sieht, wenn jemand geklingelt hat, als man nicht zu hause war, und man kann sich zusätzlich audiovisuelle Benachrichtigungen bauen, wenn man die Klingel vielleicht nicht hört (wie z.B. eine Lampe die blinkt, eine Text-to-Speech-Nachricht oder irgendwas dergleichen. Das finde ich auch sinnvoll, und das will ich auch, aber nicht so wie solche Projekte typischerweise aussehen: Lösungen wie „Vibrationssensor an eine Glocke geklebt“ oder sowas in der Richtung wollte ich explizit nicht, sondern das Ganze mal in vernünftig, aber dennoch weitestgehend reversibel (Mietswohnung und so…) umzusetzen. Dies hier ist eine Lösung mit ESPHome zum Einsatz in Homeassistant, und das ist gar nicht mal so schwer…

Weiterlesen →

Migrate to new Hetzner-Cloud-DNS Certificates via DNS-API for Homeassistant running on a private hostname

All Logos rights lie at their respective owners.

Because this problem cost me some time, I am sure someone else can get some value out of this. The old Hetzner-DNS-API is beeing phased out right now, so it’s time to hurry up…

Given be the following setup:

  • You are using Hetzner for your domain, and are still on the old API (dns-hetzner as provider for the letsencrypt_core Homeassistant addon)
  • You actually fetch LE-certs via DNS-API, and not via webroot or similar
  • The hostname Homeassistant is using, is not publicly known (nor publicly rechable), and the public zonefile does not list an A/AAAA/CNAME record for that hostname (instead it is only reachable locally or via VPN, and is resolved by an internal DNS)

…then maybe you have run into Problems when trying to migrate to the new Hetzner DNS-API. Anyway, here’s how to solve this problem.

Weiterlesen →