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.
It is. Very much. The delay can be disconcerting, you can’t make all the devices speak simultaneously, but hey. It’s still much cool
I have a couple of Reactors that use this, and it’s a step into the future
All I’d say to @therealdb is that I suspect your scenes could be profitably replaced by Reactor, but grandmother egg sucking classes are over there >>>>>
Anyone having this running on Vera (FW 7.30) and have gotten around the captcha login?
Here is what I did:
I did the same steps as @shady.hamilton in post 20 (or so).
Downloaded the files from github
After editing the shell script, uploaded to Vera.
Edited the shell script:
SET_EMAIL and SET_PASSWORD to my login acct
SET_LANGUAGE=‘en-US’
SET_TTS_LOCALE=‘en-US’
SET_AMAZON=‘amazon.com’
SET_ALEXA=‘alexa.amazon.com’
Created the device.
No device is displayed. (But when I go into Reactor, it shows a device was created but nothing shows up in the Vera UI.)
I ssh into my VeraEdge and there is no /storage/alexa directory.
Just for kicks, while ssh’ed I copied over my edited shell script and executed as: ./alexa_remote_control_plain.sh 2>&1 > output.txt
In the output.txt file it says to look in /tmp/.alexa.login and when I display this in a browser, it shows a captcha was displayed.
Since it sounds like oathtool isn’t supported on a Vera, then I am not sure how to get around this.
I have a new version with zero delay almost ready. Unfortunately synch’ed tts on multiple devices is not supported. When routines could be launched, you can set a routine with static text and execute it. This will work.
Yep. I’m waiting on getting jq package, so the full commands can be sent. I have a beta version coming up on GitHub, supporting jq on openluup. Unfortunately I have to wait for the jq package in order to release it on Vera as well.
Keen to get my Alexa to talk! I have followed the instructions on Github, but have not being able to get a device set up successfully.
The files have been downloaded as a zip and extracted whereafter it was uploaded to the VeraPlus.
Next I created a new device and can see the device is created in the devices screen. When accessing the newly created device the “params” page is populated with the Device & implementation file names etc. So at least that appears to work. However the “variables” page is complete blank and therefore I cannot continue.
Notes:
There is no /storage/alexa directory created.
Even if another device is created the same error occurs. Not sure if the "TempLogFileSystemFailure " is significant or not… Either way this "TempLogFileSystemFailure " error seems to appear quite often in the log file…
After not making much progress I eventually decided to switch on verbose logging and also write the logs to USB. As a result of these changes the Vera had to reboot a few more times. Weird enough now the new device is there and the missing “variables” page is there. Yay!
I’ll continue with the configuration steps tomorrow…