First test works fine, many thanks!
C
First test works fine, many thanks!
C
2 more successes now, silence
Nothing obvious in the logs:
08 | 11/21/19 18:08:39.116 | JobHandler_LuaUPnP::HandleActionRequest device: 0 service: urn:micasaverde-com:serviceId:HomeAutomationGateway1 action: RunLua <0x70b92520> |
---|---|---|
08 | 11/21/19 18:08:39.116 | JobHandler_LuaUPnP::HandleActionRequest argument id=lu_action <0x70b92520> |
08 | 11/21/19 18:08:39.116 | JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1 <0x70b92520> |
08 | 11/21/19 18:08:39.117 | JobHandler_LuaUPnP::HandleActionRequest argument action=RunLua <0x70b92520> |
08 | 11/21/19 18:08:39.117 | JobHandler_LuaUPnP::HandleActionRequest argument Code=luup.call_action(“urn:dlna-org:serviceId:DLNAMediaController1”, “Say”, {Text=“Rachel is on the move”, Volume=40}, 167) <0x70b92520> |
08 | 11/21/19 18:08:39.118 | JobHandler_LuaUPnP::HandleActionRequest device: 167 service: urn:dlna-org:serviceId:DLNAMediaController1 action: Say <0x70b92520> |
08 | 11/21/19 18:08:39.118 | JobHandler_LuaUPnP::HandleActionRequest argument Volume=40 <0x70b92520> |
08 | 11/21/19 18:08:39.118 | JobHandler_LuaUPnP::HandleActionRequest argument Text=Rachel is on the move <0x70b92520> |
50 | 11/21/19 18:08:39.119 | luup_log:167: VeraAlexa: TTS added to queue for 167 <0x70b92520> |
Just FYI
Cheers
C
I will take a look at it again. Maybe it’s something related to the queue.
No panic, as ever.
Interestingly I had a couple of notifications turn up (by email) overnight. No idea if the speech happened at the same time (I was asleep).
Something seems to be getting held up somewhere.
C
Hello Again, i managed to use SCP to browse the directory and in the folder alexa i have only the sh file but nothing else, how can i fix that please?
thank you,
Is your SCP able to see hidden files? Under a *nix-a-like system .filename will not be visible.
ls -a will be a useful command to tell you what’s actually there, although if you’ve got SCP, why not use an ssh client like (guess) Putty?
C
@therealdb was there any progress on why this (at least for me) is pretty random in terms of the actual output?
Beginning to think it works once per Luup reload…
Cheers
C
I don’t know, my setup is pretty stable. Do you have more logs of failed attempts?
I can get them for sure. Any particular search terms?
C
OK here’s a successful one
|50|12/08/19 14:58:00.202|luup_log:167: VeraAlexa: TTS added to queue for 167 <0x708c7520>|
|50|12/08/19 14:58:02.107|luup_log:167: VeraAlexa: Executing command: "export EMAIL=\"emailaddress\" && export PASSWORD=\"password\" && export SPEAKVOL=50 && export TTS_LOCALE=en-GB && export LANGUAGE=en-GB && export AMAZON=amazon.co.uk && export ALEXA=layla.amazon.co.uk && export TMP=\"/storage/alexa\" && /storage/alexa/alexa_remote_control_plain.sh -e speak:Security_Armed -d \"Kitchen_dot\"" <0x708c7520>|
|50|12/08/19 14:58:02.109|luup_log:0: ALTUI: Evaluation of lua code returned: nil <0x708c7520>
C
And here’s a failed one
50 12/08/19 14:59:55.830 luup_log:167: VeraAlexa: TTS added to queue for 167 <0x7173a520>
50 12/08/19 14:59:55.831 luup_log:0: ALTUI: Evaluation of lua code returned: nil <0x7173a520>
Pretty clearly there’s an execution line not happening, which grepping through the log for later periods never happens…
Cheers
C
Ok, there’s definitely something going on in the queue. I’ll dig and report back, since my production copy is different in that part.
Cheers, fella!
C
ok i have installed again and in alexa folder all i have is alexa_remote_control_plain.sh.
so i must be getting a captcha. does any know how to avoid this?
Haven’t looked at this in a while but I think you need to pass the captcha on a browser and then transfer over the resulting cookie from the browser to the vera.
im not sure how i would go about that isthere a direct url to login page?
Yep
Version 0.1.5 is right now on GitHub.
try to login via alexa.amazon.co.uk, if based in UK. Take also a look at the file in the folder, you will find two files starting with .alexa, look at them, you’re probably getting a captcha. It may disappear if you login. YMMV.
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules