Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events not firing again 12Oct #152

Closed
cymplecy opened this issue Oct 12, 2023 · 217 comments
Closed

Events not firing again 12Oct #152

cymplecy opened this issue Oct 12, 2023 · 217 comments
Labels

Comments

@cymplecy
Copy link

cymplecy commented Oct 12, 2023

Several of us on the Node-RED forum have noticed that events are not being received
From my own logs - this started after 14:33 GMT

Stopping/starting NR doesn't make it work again :(

@DanPatten
Copy link

Can confirm my events are becoming spotty again

@Martin-OHV
Copy link

Same here again :-(

@GianZambo
Copy link

Same here

@brunialti
Copy link

+1

@gattokotatsu
Copy link

Same here, sorry.

@msp1974
Copy link

msp1974 commented Oct 13, 2023

Same here in UK

@s1nbad
Copy link

s1nbad commented Oct 14, 2023

same here - Thailand

@Matten-Matten
Copy link

Matten-Matten commented Oct 14, 2023

hey all,

already tested "reset" -> "Fresh Authentication" -> Proxy login via "open ... in your Browser"?

That worked for me

greeting
matten matten

@cymplecy
Copy link
Author

cymplecy commented Oct 14, 2023 via email

@Martin-OHV
Copy link

Reset / Fresh Auth wont work here as well (Germany)

@GianZambo
Copy link

Not work for me (Italy)

@Matten-Matten
Copy link

@cymplecy

sorry, I got confused.

Alexa states arrive,

but no device activity

@Tinbum1
Copy link

Tinbum1 commented Oct 14, 2023

Same here- UK.

@rodrigofragadf
Copy link

Same here in Brazil

@obaldius
Copy link

same here Spain

@Varguit
Copy link

Varguit commented Oct 19, 2023

Same here in Catalonia

@f0rc3r
Copy link

f0rc3r commented Oct 20, 2023

+1 Germany

@obaldius
Copy link

obaldius commented Oct 23, 2023

will this be left like this??? won't events ever work again?

@bbindreiter
Copy link
Owner

I will probably remove the event node. People are building their home automation based on it and then we have issues like this one, where all weight is on one man's shoulders

@obaldius
Copy link

obaldius commented Oct 23, 2023

I hope you don't do that, it's really useful. If it fails every now and then it's ok, it's way worse to remove it....

@obaldius
Copy link

obaldius commented Oct 23, 2023

TBH with you the event node was quite a mess when cakebaked was the owner. It would fail every other month and it was still valuable to have it.

Ever since you took it over it's been almost rock solid, like night and day different. I really hope you can find the heart to keep on with this and keep the event node alive.

I'm really thankful for everything you've done during this last couple of years.

Kind regards

@bbindreiter
Copy link
Owner

It's all @Apollon77, I'm just integrating his lib but thank you very much. I would happily keep this event node but some users rely on it apparently. I just want to avoid a situation where someone locks themselves out or something.

@Apollon77
Copy link

I have some ideas to at least workaround a bit. Will potentially not that perfect as before. We will see. Needs some days ... not at home currently that often so no Alexa test devices with me.

@Martin-OHV
Copy link

It's all @Apollon77, I'm just integrating his lib but thank you very much. I would happily keep this event node but some users rely on it apparently. I just want to avoid a situation where someone locks themselves out or something.

Please dont remove this functionality! True - some people use this to build their smart home on it (like me) but it is currently the only way how i can use voice control to my smarthome. if you remove it, i dont have any possibility to use voice control... so better havent it some times than havent it any time :-)

Is there anything we can do to support you please let us now. And no worrys if fixing issues can not be done just in time - i think, no one of us here will expect this.

Unfortunatly i am not an js coder, but if i can assist with testing or anything else let me know.

Stay motivated - we count on you 2 (@bbindreiter and @Apollon77 )

Ans many many thanks for your tireless effort

Martin (Berlin)

@niwre2019
Copy link

I can only agree, it would be a real pity if this functionality would no longer exist.

@gattokotatsu
Copy link

Is there a document or some blog post or other resources that explain what changes in the behaviour of the alexa system that brakes the alexa-remote functionality? And since it's (correct me if I'm wrong) a "virtual" echo device, how those kind of devices still work after these changes occour?
Sorry for the curiosity.

@aferrato
Copy link

First of all, thank you to those who contribute to the project!
I agree as well, it would be very useful to be able to preserve the 'events' node. I used it to manage Alexa lists and synchronize them with other services.
I noticed that the app receives real-time updates for adding or removing products. Maybe there's a workaround for managing the lists?

@Apollon77
Copy link

@gattokotatsu Because these are all inofficial "Alexa App and internal API" related topics ... indeed no there is nothing oficially available :-) In fact they do not send a push information anymore they were sending before. any the functionality relied in this information. So we now need to find things around this.

@sicampbell82
Copy link

sicampbell82 commented Oct 25, 2023

I too am eagerly watching and hoping for this to be fixed.
its a lazy use of it but i and my family plus kids am so used to walking into any room and saying tv on or light on and as this function states what device the request comes from it means node red/ha know that its the the tv in room x.
1st word issues but i just don't want to start saying, living room tv on or bedroom tv on, if i don't have too.

thanks so much for your work so far.
if anyone else know how to pass this data then i would be very please to know.

I don't even need to know the words that are spoken,
if i say to Alexa "tv on" i can let Alexa handle the voice as i do now and replies "ok"

but other than that Alexa doesn't do anything.

At the moment i just listen for what Alexa asks to decode and send that into node red along with the name of that Alexa

from there i trigger nod red commands but i send it to the room name of said Alexa command so bedroom tv for example.

I assume many of you are doing the same, but i was thinking since we all coming her for same answer someone, or one of the amazing dev's fixing this, my have or come up with a solution so if we can't listen to the words said anymore in order to get the name of the device sending the command, is there a way to do a different action and grab the name?

If i set Alexa to toggle on and off an Alexa routine/dummy light/switch does anyone know of any way to find out what device did the action?

@questuk
Copy link

questuk commented Jan 29, 2024

As said already multiple times: I need alexa-remote library level logs from situations where it do not work to tell you why :-)

Hi Apollon77 can you remind us all, how we can access the alexa-remote library level logs, as I have never seen them and would have no idea where they are ?

Thanks

@dpgh947
Copy link

dpgh947 commented Jan 29, 2024

Then validate what you do

I understand you, but I can't pin it down to any specific activity that I can control. For example, I got some "too many" errors recorded at 3:32am this morning. Nothing scheduled happens at that time, I don't have any regular polling automations or flows or anything like that. It has gone through periods of chucking these errors out for a long time (at random times) but not seen it for some months before now. I only have one event node so I can save anything said or heard, so it can be repeated if I ask for it.

I have restored back to 5.0.46 (mostly out of curiosity) and it is, apparently, still working.

@Tinbum1
Copy link

Tinbum1 commented Jan 29, 2024

I'm in the UK and still on 5.0.48 and still seems to be working ok.

@elgerg
Copy link

elgerg commented Feb 4, 2024

As said already multiple times: I need alexa-remote library level logs from situations where it do not work to tell you why :-)

Hi Apollon77 can you remind us all, how we can access the alexa-remote library level logs, as I have never seen them and would have no idea where they are ?

Thanks

Please can someone (@Apollon77 / @bbindreiter / anyone else) let us know how to access the logs?

I keep seeing this in Node-red and would like to understand why:

image

I suspect this is the reason for mine being intermittent.

Thanks!

@questuk
Copy link

questuk commented Feb 5, 2024

To @Apollon77 or @bbindreiter I agree, as most of us would like to help if we knew how ? 👍

Just a polite request, thanks

@questuk
Copy link

questuk commented Feb 5, 2024

@elgerg

If there is nothing personal on your flows I would love to import your flows, as I think I could learn from them.
Nothing to do with solving your problem, but just to improve how I do my own flows.
Just export and paste on here ?

The payload.description.summary looks interesting as I use functions and I think your way maybe easier to understand. So if that is all you can export that would be fine.

Thanks 😃

@elgerg
Copy link

elgerg commented Feb 5, 2024

@questuk sure thing, hope it helps:

Attached instead...
flow.txt

@ziggycatuk
Copy link

debug log
opt_node-red_1_logs.txt

@Apollon77
Copy link

The log shows (you can also have a look) ...

  • There was data coming in that looks like an activity from G0922H0725030MM4 but in fact no trigger was set for this device - this usually means that he Equlizer and Volume infos are different in the events, so the system do not recognized this as an "activity".
  • Then was an activity registered for device G071R20721321KVK because of a volume change
  • So records were requested for G071R20721321KVK and received 3 times with a pause but no activity from this device was found ... Thets why also no activity was reported
  • All activities that were in the data are from device G0922H0725030MM4

So the question is now why the library did not determine the volume/eq change for G0922H0725030MM4 as an activity.

So please let the logging enabled that way and try some more such actions on this device so that I can see if the values change or not and such ... because if they change then I might need to adjust the logic on how to detect an activity

@ziggycatuk
Copy link

Thanks Apollon77, I did wonder about this -
"Alexa-Remote HTTP2-PUSH: Command PUSH_VOLUME_CHANGE" appearing in the logs as I never requested a volume change or physically interacted with the volume on the device.

The command issued was "Alexa, what's the living room temperature"

I'll get some more logs uploaded

@questuk
Copy link

questuk commented Feb 6, 2024

@ziggycatuk
Hi can you tell me how you access these logs ... where are they on the PC or are they in Node-RED ?

@Apollon77
Copy link

I did wonder about this...

Yes sometimes Amazazon devices seems to sync the current settings to the server and this is that ... so yes in this case we also might consider it as an activity and simply find nothing ... it is as it is t´with such "assumptions"

@ziggycatuk
Copy link

ziggycatuk commented Feb 6, 2024

@ziggycatuk Hi can you tell me how you access these logs ... where are they on the PC or are they in Node-RED ?

I run NR in docker and use Portainer to manage containers.
Set the logging level in /node-red/data/settings.js to "debug" and restart NR.

The logs are easily accessible in Portainer.

@questuk
Copy link

questuk commented Feb 6, 2024

Set the logging level in /node-red/data/settings.js to "debug" and restart NR.<

Hi thanks for that will have a look as I run Node-RED in Docker as well.

@cymplecy
Copy link
Author

cymplecy commented Feb 7, 2024

Nothing to do with solving your problem, but just to improve how I do my own flows. Just export and paste on here ?

The NodeRED forum is a much better place to discuss flows than here :)
https://discourse.nodered.org
The equivalent thread on issues is here https://discourse.nodered.org/t/alexa-on-device-activity-not-working/80901

@ziggycatuk
Copy link

ziggycatuk commented Feb 17, 2024

Is anyone still having issues with events not firing, it plays up every single day for me.

Three attempts # "Alexa, whats the living room temperature"
opt_node-red_1_logs (1).txt

Three attempts # "Alexa, what's the kitchen temperature"
opt_node-red_1_logs (2).txt

@dpgh947
Copy link

dpgh947 commented Feb 17, 2024

I only use device activity to save last things heard and said so I can say "pardon" and get them repeated, but it's working for me whenever I look... I'm in UK, and still on 5.0.46

@elgerg
Copy link

elgerg commented Feb 17, 2024

Is anyone still having issues with events not firing, it plays up every single day for me.

Three attempts # "Alexa, whats the living room temperature" opt_node-red_1_logs (1).txt

Three attempts # "Alexa, what's the kitchen temperature" opt_node-red_1_logs (2).txt

Yep, mine is still disconnecting, waiting a minute then reconnecting:
#152 (comment)

@Apollon77
Copy link

I still do not get the reason why it discoinnects for you that often ... for me it works "rock stable" ....

@gtnscebba
Copy link

gtnscebba commented Feb 17, 2024

For me, 90% of the time don't work (On Device Activity) node.. I do not receive anything (debug node empty).
From Node Red to Alexa, it always works (Routine speak node).
I'm in Italy

@elgerg
Copy link

elgerg commented Feb 17, 2024

I still do not get the reason why it discoinnects for you that often ... for me it works "rock stable" ....

Any chance you can let me know how to get the debug logs?
Thanks

@ziggycatuk
Copy link

I still do not get the reason why it discoinnects for you that often ... for me it works "rock stable" ....

Any chance you can let me know how to get the debug logs? Thanks

#152 (comment)

@ziggycatuk
Copy link

My device event node suddenly shows this: "Port 3456 already in use" Never happened before. I survived to all others problems in teh past. Any advise how to solve it?

your issue is unrelated to this topic, look at your port mappings or open a new thread

@poupiote
Copy link

Est-ce que quelqu'un a encore des problèmes avec les événements qui ne se déclenchent pas, cela se produit tous les jours pour moi.
Trois tentatives # "Alexa, quelle est la température du salon" opt_node-red_1_logs (1).txt
Trois tentatives # "Alexa, quelle est la température de la cuisine" opt_node-red_1_logs (2).txt

Ouais, le mien se déconnecte toujours, attend une minute puis se reconnecte : #152 (commentaire)

Same problem for me for 2 weeks. The events no longer trigger or very rarely... I am in France.

@Apollon77
Copy link

@poupiote Your log looks like "You did not enabed the settings option to automatically get the activity data" that you need to enable since some versions

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Mar 22, 2024
Copy link

github-actions bot commented Apr 1, 2024

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as completed Apr 1, 2024
@ziggycatuk
Copy link

ziggycatuk commented Apr 1, 2024

This is still an open issue

1 Apr 19:18:00 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Close: undefined: undefined
1 Apr 19:18:00 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Retry Connection in 1s
1 Apr 19:18:01 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote: Update access token ...
1 Apr 19:18:01 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Use host bob-dispatch-prod-eu.amazon.com
1 Apr 19:18:01 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Initialization completed
1 Apr 19:18:42 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Send Ping
1 Apr 19:19:01 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Close: undefined: undefined
1 Apr 19:19:01 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Retry Connection in 1s
1 Apr 19:19:02 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote: Update access token ...
1 Apr 19:19:02 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Use host bob-dispatch-prod-eu.amazon.com
1 Apr 19:19:02 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Initialization completed
1 Apr 19:20:02 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Close: undefined: undefined
1 Apr 19:20:02 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Retry Connection in 10s
1 Apr 19:20:12 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote: Update access token ...
1 Apr 19:20:12 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Use host bob-dispatch-prod-eu.amazon.com
1 Apr 19:20:12 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Initialization completed
1 Apr 19:21:12 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Close: undefined: undefined
1 Apr 19:21:12 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Retry Connection in 10s
1 Apr 19:21:22 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote: Update access token ...
1 Apr 19:21:22 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Use host bob-dispatch-prod-eu.amazon.com
1 Apr 19:21:22 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Initialization completed
1 Apr 19:21:42 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Send Ping
1 Apr 19:22:22 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Close: undefined: undefined
1 Apr 19:22:22 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Retry Connection in 15s
1 Apr 19:22:37 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote: Update access token ...
1 Apr 19:22:37 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Use host bob-dispatch-prod-eu.amazon.com
1 Apr 19:22:37 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Initialization completed
1 Apr 19:23:37 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Close: undefined: undefined
1 Apr 19:23:37 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Retry Connection in 15s
1 Apr 19:23:52 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote: Update access token ...
1 Apr 19:23:52 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Use host bob-dispatch-prod-eu.amazon.com
1 Apr 19:23:53 - [debug] [alexa-remote-account:b86b807e77d597b1] Alexa-Remote HTTP2-PUSH: Initialization completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests