Alexa 'On Device Activity' not working

I moved away from Alexa and have migrated over to SIRI :wink: ... the homebridge node works great for me to manage all my devices in the house with voice commands ... and again ... all local .. no cloud :wink:

negative side ... i have lots of alexa devices in my drawer :frowning:

Thanks Sean for this creative idea - so simple, so effective and so very clever.

1 Like

Hi Sean,
Just taking your creative idea a stage further with two virtual dimmable lights (using your technique).


The 'Command' VSH node deals with commands like "turn on, turn off laser" etc.
Now for the clever bit.
The 'Location' VSH node will set a variable from words like... "I'm in the kitchen", "I'm in the lounge" or just "kitchen" or "lounge". Then I should be able to send a string to the appropriate Echo device.

I had to set the increments to 5-steps as my eyesight and fingers let me down (old age thing) when trying to set the brightness levels in the Alexa app.

The above flow will direct my weather report to the appropriate Alexa device.

It sounds like @dynamicdave might need them he only has 8 :wink:

I meant that some of your topics look like Tasmota devices, (not sure if this was just for testing), but you do know that they can work directly with Alex without a virtual node ?

Quick update for anyone trying out Sean's @smcgann99 creative Alexa solution. Here's an example...


I'm using various brightness levels to turn On/Off some SonOff S20's devices that power a laser, a computer & access point in our lounge and computer in my office.

When you create the Alexa Routine you need to make sure the Power setting is On in both situations.
I found to this out to my cost in wasted debugging time that if the Power setting is Off then the brightness value is not sent - which confuses the decoding in the Node-RED flow. It seemed natural to set the Power setting to Off when I wanted to turn, say, the laser Off - but be warned, use On in both situations.

node-red-contrib-alexa-remote2-applestrudel ver 5.0.50 no longer works again. i am using :exploding_head:
Schermata del 2024-05-22 20.02.44

Unhandled rejection RequestError: Error: read ETIMEDOUT

    at new RequestError (/data/node_modules/request-promise-core/lib/errors.js:14:15)

    at Request.plumbing.callback (/data/node_modules/request-promise-core/lib/plumbing.js:87:29)

    at Request.RP$callback [as _callback] (/data/node_modules/request-promise-core/lib/plumbing.js:46:31)

    at self.callback (/data/node_modules/request/request.js:185:22)

    at Request.emit (node:events:513:28)

    at Request.onRequestError (/data/node_modules/request/request.js:877:8)

    at ClientRequest.emit (node:events:513:28)

    at TLSSocket.socketErrorListener (node:_http_client:494:9)

    at TLSSocket.emit (node:events:513:28)

    at emitErrorNT (node:internal/streams/destroy:157:8)

    at emitErrorCloseNT (node:internal/streams/destroy:122:3)

    at processTicksAndRejections (node:internal/process/task_queues:83:21)

and alexa loses proxy authentication

Dare I say still working for me ...... (so far)

1 Like

I can't understand why after a day or so of operation it asks for authentication and crashes.
Schermata del 2024-06-06 10.32.44
Schermata del 2024-06-05 11.59.56
Schermata del 2024-06-05 11.59.28

:grimacing: :face_exhaling:

@dynamicdave you can get the location by using the "other" node set as follows.

If you trigger this after receiving a VSH command, then you can grab msg.payload[0].name which contains the device that last heard a command.

image

Just tried your suggestion and get this error message (on the Alexa Other node)...
"Activity update is running, please try again later."
Any ideas what is wrong?

Note:
I have Alexa also running on another RPi using the same Amazon account - not sure if that will affect the operation of the 'Other' node?.

friday_alexa

I just tried and saw the same message, if you make a change to the node settings and redeploy it seems to fix it, but not sure what the problem is.

I never had this error before, I also note that it returns 10 events regardless of the settings. So it's likely that its suffering from some changes by Amazon :roll_eyes:

How weird is that? It works fine now and reports the device name.

2 Likes