I’m on it: I will start fixing it later today and publish a new version very soon.
I have the routines part ready as well, but I noticed that the plain text scripts has no support for jq. You can use it on openloop and a Linux machine, by switching to the full script.
paging @rafale77, if he knows how to compile jq for the Vera, I could think of distributing it with the plugin and we can start using the full scripts, with routines, music and much more supported out of the box. https://stedolan.github.io/jq/
I can give it a shot on my cross compiler. I will need some time though since I have not done it in some time and am having some pretty busy work days. I will get back to you.
Well i’m still having trouble with this.
log shows atempt to login but fails. i have tried loging into alexa.amazon.co.uk there is no captcha.
i have disabled JS and cleared all cookies, as instructed by message in log.
Im thinking this is all due to me using a android device. i will attempt to use a laptop in a few days see if that sorts the issue.
I am getting no errors in log.
Cheers Catman. I found a similar one for firefox, problem being there are multiple. would it be to much trouble to post what the contents looks like. I can see multiple with slightly different json layout and values.
[solved] Ok got it going.
amazonhost was amazon.co.uk.
I disabled, then re-enabled 2 step verification.
I sent luup action request
I then recieved a OTP from amazon.
I edited password in variables i.e. mypasword123456. (123456 is onetime passcode).
Then alexa spoke, cool.
I then edited password back to just my password, and everything still worked.
Will let you know of any issues.
@therealdb thank you for the free code, i will be willing to help test any future efforts from you. once again thank you.
Hi. just for information purpuses. I have looked at other options and have tried node-red with node-red-contrib-alexa-remote2 skill installed and this will give you a faster response and full functionality of alexa remote control. There is also a mios skill for node-red
This is now all working lovely. I wonder if it’s possible to pass a variable into the speech string? Specifically I have an announcement that my wife about to get home using Reactor, but it would be really cool if I could take the ETA from the iPhone locator and add that to the speech.
local lastTrip = luup.variable_get("urn:micasaverde-com:serviceId:SecuritySensor1", "LastTrip", sensorID) or os.time()
local minutes = round((os.time() - lastTrip) / 60)
luup.call_action("urn:dlna-org:serviceId:DLNAMediaController1", "Say", {Text="Front door was opened " .. minutes .. " ago"}, 666)
This is used to notify about entry left open. I have a scheduled scene running every 5 minutes and checking for doors being opened more than 5 minutes ago, and reporting back with a message.
I’m not familiar with iPhone Locator plugin, but look at the variables and report back, we can build it together.