On .NET Live - Robust home automation with Kafka and Home Assistant

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 9

  • @manishmanghwani2071
    @manishmanghwani2071 13 วันที่ผ่านมา

    Hello from India

  • @king-cog
    @king-cog 18 วันที่ผ่านมา +2

    Why Kafka? Why not other simpler messege queue services?

    • @leosperry
      @leosperry 17 วันที่ผ่านมา +1

      A simple message queue solves simple problems. Kafka is a forward only data stream. That means HaKafkaNet handles several use cases that most other automation frameworks can't.

    • @king-cog
      @king-cog 17 วันที่ผ่านมา +1

      @leosperry thanks for this. Can you please shed some light on some examples of particular use cases that Kafka solves that the others may not be able to solve?

    • @leosperry
      @leosperry 7 วันที่ผ่านมา +1

      ​ @king-cog When home assistant shuts down, it loses track of any automations currently running and/or waiting for some time to elapse. The same is true for most automation frameworks. HaKafkaNet is different because Kafka gives it the ability to replay events. That means it can restart any automation that was or should have been executing. More than that, at start-up it can optionally run actions that should have happened in the past.
      Here's a common example where this comes into play in home automations:
      You may have dozens of lights throughout your home. For about half of them, you want them to turn off either automatically after a certain amount of time or if there is no motion detected for an amount of time. This amount of time could be anywhere from minutes to hours, or even 24 hours or more. HaKafkaNet is that flexible. So, your light turns on, and a timer starts. Then your automation framework restarts for any reason: running an update, power failure, anything. Will your lights still turn off at the appropriate time? With HaKafkaNet, they will.

    • @leosperry
      @leosperry 7 วันที่ผ่านมา

      @@king-cog 16:29

  • @VladimirRomanovsky-Errdonald
    @VladimirRomanovsky-Errdonald 18 วันที่ผ่านมา +1

    Starts at 2:59

  • @TrinhHuumanhTrinhHuumanh-jf1fz
    @TrinhHuumanhTrinhHuumanh-jf1fz 15 วันที่ผ่านมา

    ❤❤❤❤❤❤❤😂😂 Hello ❤❤❤❤ ĐK ❤❤❤ OK