Home Assistant Alexa - Node-Red Discovery still works

Sdílet
Vložit
  • čas přidán 6. 10. 2020
  • There seem to be a few people having trouble with getting Node-Red Amazon devices discovered. I'm not sure what they are using but, the way I show (in my Alexa Series) still works.
    If you would like to see how I install Alexa in my Home Assistant, I made a Blooger post of tutorial videos and you can find that here:
    3ative.blogspot.com/2020/08/o...
    🎬 THE LINKS - Files / Help / Support:
    - 🛒 Other files & Merch: store.3ative.com
    - 💎 3ATIVE DISCORD: / discord
    - ☕ Buy me a Coffee: www.buymeacoffee.com/3ative
    - 💕 PATREON: / 3ative
    - 💯 Get the Gadgets, Devices and Tools I use: Amazon UK: amzn.to/3uRw8fi
    * As an Amazon Associate I earn from qualifying purchases. Using this link ⇈ provides small monetary support for my channel at no extra cost to you.💖
    #homeassistant #nodered #alexa
    ~-~~-~~~-~~-~
    Check out: "IKEA Air Quality Sensor: 7-in-1 ESPHome Update Hack"
    • Hack the IKEA Air Qual...
    ~-~~-~~~-~~-~
  • Jak na to + styl

Komentáře • 35

  • @CreativeIndu
    @CreativeIndu Před 3 lety

    Very nice video.I tried with link in node but it is not working.I have
    do I need to have any physical smart device named as chair to test this or having device in nodered enough?

    • @3ATIVE
      @3ATIVE  Před 3 lety

      Thanks. No, you don't need a physical device. What I showed here is just the Alexa Node called chair to test. It's what that node controls that is the device - which could be anything.

  • @blopak2
    @blopak2 Před 3 lety +1

    Hi. What kind of node is the first one that you put on your Flow??. Thanks.

    • @3ATIVE
      @3ATIVE  Před 3 lety +1

      It's just a 'Link in' node - Which connects back to the 'Amazon Hub' node on another Flow.

    • @blopak2
      @blopak2 Před 3 lety

      @@3ATIVE Thanks! Its works to me to! Regards.

    • @3ATIVE
      @3ATIVE  Před 3 lety

      @@blopak2 Cool, glad it worked to you. LOL

  • @stanholmes4293
    @stanholmes4293 Před rokem

    Hi
    Can you tell me what version of alexa_media_player you are using? I have alexa_media_player-3.11.3 and still cant get the discovery to work.
    Thanks

    • @3ATIVE
      @3ATIVE  Před rokem

      I'm currently using the latest version, which is v4.4.0

    • @stanholmes4293
      @stanholmes4293 Před rokem

      Thank you. I have now installed v4.4.0 but it still does not find devices. My setup is:
      Ubuntu server running docker
      - Homeassistant latest release
      - Nodered latest release
      Facebook portal running alexa
      Autenticated using my amazon account only 2FA
      I can send text from HA to my facebook portal running alexa and that works (text to speach)
      Can you spot anything in my method. My one concern is the docker network, is it allowing access between the host network and docker. I have not modified the network config at all.
      Thanks

  • @NocturnalScreamer
    @NocturnalScreamer Před 3 lety

    Hello, Thanks for the great tutorials. I was able to setup echo, to control all my lights :). Is it possible to Control open_cover/Close_cover via same method? I tried fiddling with the function, but it throws an api error (service not found). Thanks in advance.

    • @3ATIVE
      @3ATIVE  Před 3 lety +1

      Hi, Firstly - Great Name!!! 🤩
      You certainly can. In-fact I use a similar way to control my curtains. However, I'm not using a 'cover' as such, instead my curtains are controlled by a slider (0-100%)
      I will have a 'play' with a 'cover' and get back to you... or make another quick Demo/test video. 😎

    • @NocturnalScreamer
      @NocturnalScreamer Před 3 lety

      @@3ATIVE haha Nocturnal Screamer was one of the first electronic projects that I did, when I was a kid :D. Many thanks for responding, looking forward to your next video.

    • @3ATIVE
      @3ATIVE  Před 3 lety

      @@NocturnalScreamer I hadda play with 'Cover' last night and yeah, it's quite simple to add Alexa control via Node-Red.
      Other than this comments section, where's the best place for us to chat - are you on Discord / Facebook / Etc?
      FYI - I'm '3ative' everywhere. :)

  • @TomAHawk-py6vj
    @TomAHawk-py6vj Před 2 lety

    Doesn't work for me anymore :/ Strange thing is i have some old "virtual devices" in my setup that are still working fine, i just can't add new

    • @3ATIVE
      @3ATIVE  Před 2 lety

      Sorry to hear that fella.
      As a test, I just added a new 'Device' and asked Alexa to discover new... she found it aok.
      What happens when you try?

    • @TomAHawk-py6vj
      @TomAHawk-py6vj Před 2 lety

      @@3ATIVE "No devices found" Do you use the latest fork of the alexa note-red integration? I am at the one before cakebaked,
      and don't want to upgrade since i have to delete all alexa entities in my flows, which are alot, to uninstall the old version.

    • @3ATIVE
      @3ATIVE  Před 2 lety

      @@TomAHawk-py6vj Hmmm.. not sure about that integration. The one I use is: node-red-contrib-amazon-echo. Which is currently version: 0.1.10. Haven't seen any updates on that for ages.
      flows.nodered.org/node/node-red-contrib-amazon-echo

  • @roystervi
    @roystervi Před 10 měsíci

    Hi does the alexa discovery still works?

    • @3ATIVE
      @3ATIVE  Před 10 měsíci

      Hi Bobby,
      Yes, process as shown still works. However, "Alexa, Scan for Devices" now needs to be: 'Alexa, Discover Devices"

    • @roystervi
      @roystervi Před 10 měsíci

      @@3ATIVE So a light I have it HA will not scan when I ask for discover ? cause this the problem. I have done the rode-red app but am using your old code and it does not dim. TIA,

    • @3ATIVE
      @3ATIVE  Před 10 měsíci

      @@roystervi What hardware are you running on? I ask because if you are running a RPi Port 80 needs to be forwarded for this to work.

    • @roystervi
      @roystervi Před 10 měsíci

      @@3ATIVE am running a pi4 with HA in docker and nodered in docker on the same pi4. I followed your setup over a year ago and it been working fine. I noticed Alexa was not dimming or controlling the lights anymore. However, the local Alexa tts still work when l send a local message from nodered to any Alexa.
      Am using the nodered skill app into Alexa as a replacement and now l can turn off or on the lights but its does not dim or change color like your setup use to do..
      Note. I backup all my nodered flows and HA and l move ha from a 2.5 ssd to a m.2 ssd. Everything came back in HA and l got back all my nodered flow setups. HA and nodered working 99.9999% like it was before the restore with the only problem nodered don't discover anymore. Try to give as much info as l can .
      Am hoping there a way l can get yours working again.
      In the HA FB forum or anything other HA forum am "Bobby Walters".

    • @3ATIVE
      @3ATIVE  Před 10 měsíci

      @@roystervi Ah ok, coz yeah a few ppl had problems running their Alexa/Node-Red stuff in Dockers and on Pi's
      Hmmm... I can't think of any reason why yours would be able to turn on/off lights but not dim them. All mine still work and I even use the same setup for my Fans and their 1-2-3 speeds.
      FYI - I remember you, we've spoken a few times on here and FB. I don't think either of those will be good enough to be able to help fast enough.
      - Maybe we could continue this on Discord??? It's more real-time and we'd have a chance to voice/video call.

  • @AndyShrimpton-GaaTech
    @AndyShrimpton-GaaTech Před 3 lety

    When it did not work for me it was the two factor authentication that needed updating

    • @3ATIVE
      @3ATIVE  Před 3 lety

      👍 Ah, yeah... I've always used 2FA and I do show that in my install / setup video.

    • @flixmyswitch
      @flixmyswitch Před 3 lety

      sensor:
      - platform: template
      sensors:
      last_alexa:
      entity_id:
      - media_player.garage_white
      String does not match pattern of "DEPRECATED"
      - media_player.office_grey
      String does not match pattern of "DEPRECATED"
      - media_player.garage
      String does not match pattern of "DEPRECATED"
      - media_player.this_device String does not match pattern of "DEPRECATED"
      NOTE the area message a new error no idea why. Will try updating HA currently on HA on 0.116.2 OS on 4.14

    • @3ATIVE
      @3ATIVE  Před 3 lety +1

      @@flixmyswitch Thanks to an update it changed.
      just delete, entity_id and the list underneath
      Here's mine:
      - platform: template
      sensors:
      last_alexa:
      # entity_id:
      # - media_player.desk_dot
      # - media_player.bedroom_dot
      # - media_player.this_device

    • @flixmyswitch
      @flixmyswitch Před 3 lety

      this is what i followed to fix it github.com/custom-components/alexa_media_player/wiki/Configuration

  • @bbubarker
    @bbubarker Před 3 lety +1

    Does not work for me

    • @3ATIVE
      @3ATIVE  Před 3 lety

      I'm sorry to hear that. Either you did something different or there's a problem with your setup.
      I tried it again recently (on clean install) and although some panels have changed the process is the same.
      UNLESS - you're on a RPi :)

    • @bbubarker
      @bbubarker Před 3 lety +1

      @@3ATIVE I'm on a pi

    • @3ATIVE
      @3ATIVE  Před 3 lety

      @@bbubarker There are loads of people on GitHub and the forums complaining about the same thing. I've noticed a few mention IPTables in order to get Port 80 available to Node-Red & Alexa nodes.
      Soz I can't help much further than that - I've never used a Pi for my HA.