“Hur Hur that’s what a timer on your phone is for dude”

Yeah but this was a smart plug that was going dusty in a drawer!

Anyway it’s not the notification that makes my brain tickle in that special way, but the fact that my HA takes note of who was in the kitchen when the air fryer was started and only notifies the floor with that person on when it’s done.

Now I’ve worked that logic out with a silly Air Fryer notification I can reuse it in all my other automations.

  • LifeBandit666@feddit.ukOP
    link
    fedilink
    English
    arrow-up
    18
    ·
    edit-2
    1 month ago

    For anyone else wondering how I’m keeping track of who’s where, https://espresense.com/

    I tried Room Assistant a year or 2 ago and it SUCKED. I have a 4 storey townhouse and had 2 nodes running Room Assistant and I could be stood next to 1, two floors away from the other and that’s the one it said I was closest to.

    The idea is that by detecting the strength of the Bluetooth signal, the node with the best signal was closest, but it just didn’t work (for me).

    Anyway espresence is better, especially because I’ve doubled up and I bought 4 esp32 boards with pins off AliExpress for under £12, and arrived within a week.

    You connect the little chip to your pc and flash a firmware from Google Chrome, then hook it into your WiFi, go to its page and give it a name, and hook it into your MQTT.

    4 boards later I have a node per floor.

    Next I added our phones to it by pairing them to it, then deleting the pairing on the phone. Add the Bluetooth connection to HA config and you’re away! Well…

    So you have to connect what the boards say to what it means in HA yourself. You get “bedroom” off Espresence and have a Bedroom zone but you have to put the pieces together yourself.

    I ended up making binary sensors for each room in Node Red. Did I leave the room? Who else is there, nobody? Ok mark it clear… You could just make helper switches and use them but I was feeling fancy. I’ve already posted recently about the Binary sensor.

    But once you’ve done that, you just base your automations off the state of the switches you made.

    So the age old “The front room motion sensor stopped detecting, should the lights go off?” question, now becomes…

    Huh I must have stopped typing there…

    …much easier to solve. I can still have the old “TV on?, wife’s laptop connected to Bluetooth?” bits in, but having Bluetooth presence detection AS WELL makes it much more reliable, for a measly £12

  • Donut@leminal.space
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    3
    ·
    1 month ago

    That’s what the world needs. Smart notifications. And I’m not being sarcastic, this is such a good example of how something like that enriches the user experience that a timer on your phone could never achieve. Keep it up!

  • ArbiterXero@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    5
    ·
    1 month ago

    I love the concept but……

    Air fryers and kitchen heating appliances shouldn’t be left on their own much….

    Maybe an oven, but certainly not the countertop version, just for fire safety reasons …

    • BReel@lemmy.one
      link
      fedilink
      English
      arrow-up
      8
      ·
      1 month ago

      I’d argue an airfryer is better to leave alone then an oven. They turn off on their own, so if you forget about them, it runs its 20 mins or whatever then turns off.

      My oven is on for the weekend if I fuck up haha.

      • ArbiterXero@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 month ago

        The insulation on an oven is 10x that of an air fryer.

        …. And sometimes air fryers don’t turn off.

        An oven is usually designed to last a decade, an air fryer sometimes only lasts a year.

        VERY different build quality standards.

      • Tja@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        Of course, depends on the oven and the air fryer. Modern ovens have timers and even whole programs.

  • Tadpole@aussie.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 month ago

    That’s really cool! How did you do the detection of who started it and what floor they’re on?