Thanks Daniele,
I have updated to 0.97 and rebooted… The LastAlexa response is however coming back as an empty string on my system. I have added a debug statement to check the command string being sent, which looks okay to me. The preamble, with account login details, is the same as the working call to “LoungeAlexa”.
Could this be because I am using amazon.co.uk? I have looked in the remote_Control script at the lastAlexa section, but cannot see anything obvious. I have version 2021-01-28: v0.17c
|08|04/28/21 14:21:01.828|JobHandler_LuaUPnP::HandleActionRequest device: 391 service: urn:bochicchio-com:serviceId:VeraAlexa1 action: Say <0x6e999520>|
|---|---|---|
|08|04/28/21 14:21:01.828|JobHandler_LuaUPnP::HandleActionRequest argument Text=Generating--100-watts,-battery-is-at-19-percent,,-importing--1500-watts,,-We-are-using-1700-watts,,-with-the-heating,-ON,,- <0x6e999520>|
|08|04/28/21 14:21:01.829|JobHandler_LuaUPnP::HandleActionRequest argument GroupZones=LASTALEXA <0x6e999520>|
|08|04/28/21 14:21:01.829|JobHandler_LuaUPnP::HandleActionRequest argument Volume=50 <0x6e999520>|
|50|04/28/21 14:21:01.830|luup_log:391: VeraAlexa[0.97@391]:addToQueue({ Text=Generating--100-watts,-battery-is-at-19-percent,,-importing--1500-watts,,-We-are-using-1700-watts,,-with-the-heating,-ON,,-, Volume=50, GroupZones=LASTALEXA }) <0x6e999520>|
|50|04/28/21 14:21:01.831|luup_log:391: VeraAlexa[0.97@391](addToQueue@228):addToQueue(2): 0 - true <0x6e999520>|
|50|04/28/21 14:21:01.832|luup_log:391: VeraAlexa[0.97@391](addToQueue@245):addToQueue(3): 1 <0x6e999520>|
|50|04/28/21 14:21:01.834|luup_log:391: VeraAlexa[0.97@391](addToQueue@248):addToQueue(4): playing <0x6e999520>|
|50|04/28/21 14:21:01.835|luup_log:391: VeraAlexa[0.97@391](checkQueue@200):checkQueue: 1 in queue <0x6e999520>|
|50|04/28/21 14:21:01.836|luup_log:391: VeraAlexa[0.97@391](checkQueue@208):checkQueue: play next <0x6e999520>|
|50|04/28/21 14:21:01.838|luup_log:391: VeraAlexa[0.97@391](setVar@120):setVar(urn:bochicchio-com:serviceId:VeraAlexa1,OneTimePassCode,,391) old value <0x6e999520>|
|50|04/28/21 14:21:01.839|luup_log:391: VeraAlexa[0.97@391](getLastAlexa@404):Execute command [lastAlexa]: export EMAIL=\^^^@gmail.com\ && export PASSWORD=\^^^\ && export MFASECRET=\\ && export NORMALVOL=\50\ && export SPEAKVOL=\50\ && export TTS_LOCALE=\en-uk\ && export LANGUAGE=\en-uk\ && export AMAZON=\amazon.co.uk\ && export ALEXA=\alexa.amazon.co.uk\ && export USE_ANNOUNCEMENT_FOR_SPEAK=\0\ && export TMP=\/storage/alexa\ && /storage/alexa/alexa_remote_control.sh -lastalexa <0x6e999520>|
|50|04/28/21 14:21:03.305|luup_log:391: VeraAlexa[0.97@391](setVar@120):setVar(urn:micasaverde-com:serviceId:HaDevice1,CommFailure,0,391) old value 0 <0x6e999520>|
|50|04/28/21 14:21:03.307|luup_log:391: VeraAlexa[0.97@391](setVar@120):setVar(urn:bochicchio-com:serviceId:VeraAlexa1,LatestResponse,,391) old value sending cmd:speak:Generating--100-watts,-battery-is-at-19-percent,,-importing--1500-watts,,-We-are-using-1700-watts,,-with-the-heating,-ON,,- to dev:LoungeAlexa type:A4ZP7ZC4PI6TO serial:^^^ customerid:^^^ <0x6e999520>|
|06|04/28/21 14:21:03.307|Device_Variable::m_szValue_set device: 391 service: urn:bochicchio-com:serviceId:VeraAlexa1 variable: LatestResponse was: sending cmd:speak:Generating--100-watts,-battery-is-at-19-percent,,-importing--1500-watts,,-We-are-using-1700-watts,,-with-the-heating,-ON,,- to dev:LoungeAlexa type:A4ZP7ZC4PI6TO serial^^^customerid:^^^ now: #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x6e999520>|
|50|04/28/21 14:21:03.308|luup_log:391: VeraAlexa[0.97@391](@308):Response from Alexa.sh: <0x6e999520>|
Thanks
Octo