March 30th, 2011, 10:07 PM
In order to disarm/arm the system you will need to collect the digits on the phone then send them to Girder in one event. Once there you can run some Lua to disarm/arm the Elk.
Girder 5.0 - Elk M1 Gold - JRMC 11.1 w/ M-Audio Delta 410 - NetRemote 2.0 - Panasonic KX-TA624 Phone System - ZoneMinder DVR
Girder 5 Plugins - Elk M1/EZ8, Email Manager, Girder Backup, Ocelot, xAP Speedfan, xAP Ping, xAP Zoneminder and many more.
Visit My Showcase
March 31st, 2011, 12:45 AM
I was just giving the variable/tokens architecture some thought, about being able to 'build' a compound parameter by stringing multiple presses together. You'd probably need to type in the number and then hit a 'send' button however...
March 31st, 2011, 05:44 PM
Glad to see you back! I'm really excited about this application!
April 1st, 2011, 03:11 PM
Any chance we might get local variable support soon?
April 1st, 2011, 03:52 PM
That would work unless you could tell it before hand how long it should be. That way it just sends after 4 digits or 6 digits ... but adding send key would work if that is easier.
Originally Posted by HTLuke
April 1st, 2011, 10:09 PM
I'm coding variable support right now actually, I'd like to have something ready to play with by the end of the weekend. I'm sorta blowing off fixing a few bugs in the newer stuff but I'm too excited about the variables (and something additional, see below) and want to get it out of my head while it's fresh.
Great idea Jumbodogs, and I think I know a few ways you could implement such a thing without too much customization.
Assuming I can integrate it, it means simple deterministic logic will be trivial, and in your favorite language to boot. Further, this project (SL4A) actually has a robust wrapper around Android APIs inside these languages. That means that Android functionality not wrapped natively as part of Andre would still be accessible through scripting. Everything from SMS send/listen, camera functionality, GPS, etc. is available (see the API reference here: http://code.google.com/p/android-scr...i/ApiReference).
It's a lot to bite off for a weekend, but I'm game to give it a shot!
April 2nd, 2011, 04:57 AM
Beware of the robot.
April 2nd, 2011, 10:26 AM
Haha I should have known it was too good not to have been discovered before. It is the perfect cross-over interface to Tasker too, saves me time from having to do all the intent-oriented stuff we talked about.
April 2nd, 2011, 01:13 PM
I think it's great that you discovered that stuff. I'd say you qualify as a "Girder master".
I'm a little caught up again in trying to get this aquarium project set up, but I will be dedicating some time to Andre just as soon as I have a little more time. I should be able to tie the two together since the aquarium is being monitored/controlled by an Elk system, which is also being monitored/controlled by Girder.
It'll be fun to build an interface for aquarium control and stats!
Beware of the robot.
April 4th, 2011, 04:13 AM
Just an update, since I had hoped to have a new version with variables done tonight. I discovered that my recent re-factoring to improve performance and pave the way for a fully stateful design caused a few big bugs that I uncovered yesterday. The good news is the bugs go away when I make the next/final step toward the fully stateful design, but the bad news is variables/tokens would have to have been coded in such a way as to need to be re-written once that step was taken.
So I decided to freeze the new fun stuff and just finish the re-write. I'm about half-way through already, but I don't know how much time I'll have to work on it this week. I'm targeting Friday or Saturday, and then another two or three days to get variables in place.
The really good news though is that variables/tokens become infinitely more useful when the entire design is fully stateful.