This morning my kid asked the voice assistant to “Turn off the computers in this house”.

I heard it, thought well that’s a strange request but seems harmless because how is home assistant gonna turn off computers.

Me a little while later, “why is shit broken? What’s happening!”

Turns out dumb me had adguard exposed to the voice assistant, it switched off all the adguard settings including the DNS rewriting that is the cornerstone of many of my self-hosted services.

I’ve since revoked that access.

  • dan@upvote.au
    link
    fedilink
    English
    arrow-up
    93
    arrow-down
    1
    ·
    edit-2
    1 day ago

    A while back, I saw a story in the Home Assistant Facebook group about someone’s child saying “Hey Google, turn on everything” and it messing things up. I was telling the story to my wife and forgot to replace “Hey Google” with something Google wouldn’t pick up on. Oops. It heard my “turn on everything” and chaos ensued. I have some Zigbee alarms that all started sounding. It enabled several different scenes and ran several scripts. All TVs turned on. My Xbox and Nvidia Shield were fighting for control of the TV (there’s some issue with HDMI-CEC that I haven’t figured out where if both are on, they get stuck in a loop changing the TV input between HDMI2 and HDMI3 about once per second).

    Don’t do that. “Turn off everything” is bad too. I have used to have my server rack plugged into a smart plug to measure power usage, and “turn off everything” turns that off. I want to figure out how to disable these two voice commands.

    • Rin@lemm.ee
      link
      fedilink
      English
      arrow-up
      48
      arrow-down
      2
      ·
      2 days ago

      I just want to point out that i’d highly advise against plugging in your server rack to a smart socket. Those fuckers randomly cycle. Use them for things that are usually off.

        • dan@upvote.au
          link
          fedilink
          English
          arrow-up
          6
          ·
          2 days ago

          Good point. I am using a UPS now so I’ll get rid of the smart plug.

      • blazeknave@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        22 hours ago

        Or syncing with ohmhour, forgetting, removing physical devices and smart strip, later reusing smart strip for aforementioned server, losing your mind every few days when you notice it went down for no reason but no idea why bc nothing in the software you’re running is instructing it to do so.

      • dan@upvote.au
        link
        fedilink
        English
        arrow-up
        8
        ·
        2 days ago

        I’m using a UPS now so I’ll get rid of the smart plug. I’ve been using it for three years and haven’t had issues with it cycling though.

        • Rin@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          What kind do you have? If they didn’t cycle randomly, i might get some for myself :D

          • dan@upvote.au
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            21 hours ago

            My favourite ones are these ones from Sengled: https://a.co/d/9UPGMTZ

            I’m in the USA so these are US-style ones. They support 1800W (which is the max for standard US outlets), use Zigbee, and are ETL certified.

          • Zanathos@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            I have Meross smart plugs and they don’t cycle unexpectedly. They do use older wifi chips though and my Meross garage door opener has issues staying connected for some reason . I’ve not had an issue with their power plugs though, been using them for 3-4 years as well.

            • Rin@lemm.ee
              link
              fedilink
              English
              arrow-up
              1
              ·
              19 hours ago

              Only issue with wifi plugs is that they want to call home otherwise won’t connect :/

              • Zanathos@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                7 hours ago

                There is an HACS addon for Meross to make the calls all local. I haven’t messed with it too much but it does work. The issue with my garage door opener is purely an issue with my Ubiquity setup and the fact it’s connecting through an exterior wall.

    • kolorafa@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      1 day ago

      In home assistant every entity has “assist” config, you can remove any entity from assist which in turn will prevent it from being included in “all” assist/voice target.

      So you can have a plug for server without worry but need to remove it from assist.

    • shadshack@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 day ago

      Open the Google Home app, go to " Automations", and make one for the household for when someone says “turn everything on” and any other variations you want, then just make it respond with something instead of actually doing the thing.

      • KairuByte@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 day ago

        This sounds great until you realize the number of invocations that mean the same thing:

        • everything on
        • turn on everything
        • turn everything on
        • switch on everything
        • switch everything on
        • turn on all devices

        There’s more I’m sure, but you get the point.

    • Dave@lemmy.nzOP
      link
      fedilink
      English
      arrow-up
      14
      ·
      2 days ago

      Haha it’s a fine balance between preventing this sort of craziness and having a voice assistant that is actually useful because it can do things.

      I want to figure out how to disable these two voice commands, and how to completely disable turning off the smart plug my server rack uses.

      In the settings->voice assistants page you can see exposed entities. Review them and remove anything you don’t want it to be able to control.

      You can also set up custom commands as an automation. You could probably set up an automation trigger to pick up on the phrases you want to block and respond with “I’m sorry Dave, I’m afraid I can’t do that” (or something boring).