Alexa Announcements Stopped Working

Posted on
Wed Sep 23, 2020 9:48 am
ckeyes888 offline
Posts: 2280
Joined: Nov 26, 2009
Location: Kalispell, MT

Alexa Announcements Stopped Working

Hey,

Been enjoying using James .js scripts for announcements on Alexa speakers but it has once again stopped working.
For the life of me I can't remember what I did to get it working last time.
Seeing this in the log:
Code: Select all
Action Group                    Alexa Announce Kitchen
   Script                          NODEJS [Announcement] = testing
   Script                          NODEJS Poll Loop Count = 1, Return Code = 1
   Schedule                        Announce Alexa Kitchen (delayed action)


Maybe someone else has had the same issue?

Edit: Not sure what it means but this url no longer loads: http://localhost:3001/

Edit: This is the debug log.
Code: Select all
 Script                          >>> SyntaxError: Unexpected number in JSON at position 3084
   Script                          >>>     at JSON.parse (<anonymous>)
   Script                          >>>     at Object.<anonymous> (/Users/TV/Desktop/Alexa/send-alexa-command-kitchen.js:20:46)
   Script                          >>>     at Module._compile (internal/modules/cjs/loader.js:1137:30)
   Script                          >>>     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
   Script                          >>>     at Module.load (internal/modules/cjs/loader.js:985:32)
   Script                          >>>     at Function.Module._load (internal/modules/cjs/loader.js:878:14)
   Script                          >>>     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
   Script                          >>>     at internal/main/run_main_module.js:17:47
   Script                          NODEJS Poll Loop Count = 0, Return Code = 1
   Schedule                        Announce Alexa Kitchen (delayed action)


Thanks,

Carl

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest

cron