![]() ![]() |
Oct 18 2008, 07:56 AM
Post
#1
|
|
|
Cocooner ![]() Group: -= Silver Supporter =- Posts: 17 Joined: 03.20.08 From: Baltimore, Maryland Member No.: 4282 |
I'm eagerly awaiting my Android-based G1. UPS says it'll arrive Tuesday.
Anyone else waiting for one? Have any plans for it in re: HA-controls and integration? -jbn |
|
|
|
Oct 18 2008, 03:22 PM
Post
#2
|
|
|
Cocooner ![]() Group: -= Silver Supporter =- Posts: 94 Joined: 02.21.08 From: Mountain View, CA Member No.: 4140 |
I'm eagerly awaiting my Android-based G1. UPS says it'll arrive Tuesday. Anyone else waiting for one? Have any plans for it in re: HA-controls and integration? -jbn when i can catch some uninterrupted time (ha!), i'm planning to write something like H@me (http://digitaldan.com/home/) for android but probably a lot uglier and with less functionality.. i just wish tmobile coverage were better at my house. |
|
|
|
Oct 18 2008, 07:47 PM
Post
#3
|
|
|
Cocooner ![]() Group: -= Silver Supporter =- Posts: 17 Joined: 03.20.08 From: Baltimore, Maryland Member No.: 4282 |
when i can catch some uninterrupted time (ha!), i'm planning to write something like H@me (http://digitaldan.com/home/) for android but probably a lot uglier and with less functionality.. i just wish tmobile coverage were better at my house. I haven't done GUI coding in long enough I'm hesitant to dig back in, but it sure is tempting. Android has so many possibilities. I'm thinking even out of the box I may be able to leverage Locale to do some interesting things. We know locale will change phone settings in response to a change in GPS location. What I don't know is can it ... say ... open a URL. If it could, then it could be setup to say, disarm a security system when I pull into the driveway... or at least turn on the lights and radio. -jbn |
|
|
|
Oct 21 2008, 07:47 AM
Post
#4
|
|
|
Cocooner ![]() ![]() Group: Registered Posts: 56 Joined: 08.16.08 Member No.: 4873 |
I'm eagerly awaiting my Android-based G1. UPS says it'll arrive Tuesday. Anyone else waiting for one? Have any plans for it in re: HA-controls and integration? -jbn when i can catch some uninterrupted time (ha!), i'm planning to write something like H@me (http://digitaldan.com/home/) for android but probably a lot uglier and with less functionality.. i just wish tmobile coverage were better at my house. Would this be for HAI or for another HA system? |
|
|
|
Oct 21 2008, 08:39 PM
Post
#5
|
|
|
Cocooner ![]() Group: -= Silver Supporter =- Posts: 94 Joined: 02.21.08 From: Mountain View, CA Member No.: 4140 |
I'm eagerly awaiting my Android-based G1. UPS says it'll arrive Tuesday. Anyone else waiting for one? Have any plans for it in re: HA-controls and integration? -jbn when i can catch some uninterrupted time (ha!), i'm planning to write something like H@me (http://digitaldan.com/home/) for android but probably a lot uglier and with less functionality.. i just wish tmobile coverage were better at my house. Would this be for HAI or for another HA system? i have an HAI OPII so that's what i was planning to build this for. that said, i suppose the front-end UI is probably fairly separable from the back-end components that actually talk to the HAI system and could be written so it could be extended to support another system. i'm not sure i have enough familiarity with other systems e.g. the ELK to implement the interface in a sufficiently-generic manner, but i suppose that's what rewriting/refactoring is for. i was planning to start working on the back end piece first since i'm not really much of a front-end guy. fwiw, i spent a few mins last night looking through the HAI protocol documentation and i'm guessing it will take me a little while to code this up in Java once i actually do start working on it. the existing library provided by HAI is only in DLL form, so i will probably have to go through the usual trial-and-error process implementing a protocol from the docs ... unless someone can point me to working source code (in any language) that i can simply port? |
|
|
|
Oct 23 2009, 11:02 PM
Post
#6
|
|
|
Newbie ![]() Group: Registered Posts: 4 Joined: 10.23.09 Member No.: 7141 |
Hi js19707,
Are you still thinking about writing an Android ap to control the HAI OPII? I have an OPII and a new Android Hero. I wanted to point out to you that there are several Java library's available already. Digitaldan, author of h@me, the iphone app, has an open source, GPL2 java HAI API/library called jomnilink available at his website. Martin LeClerc released a GPL version of his java library called omnilink on sourceforge. There is a third Java library by Shawn on the HAI developer forums. I am not sure what is license says. Finally there is a named RickM on the Worthington distribution forums who has an HAI C library. I don't have any programing skills, but I would volunteer to be a beta tester, if you need one. |
|
|
|
Oct 23 2009, 11:08 PM
Post
#7
|
|
|
Cocooner ![]() ![]() Group: Registered Posts: 56 Joined: 08.16.08 Member No.: 4873 |
|
|
|
|
Oct 23 2009, 11:34 PM
Post
#8
|
|
|
Cocooner ![]() Group: -= Silver Supporter =- Posts: 94 Joined: 02.21.08 From: Mountain View, CA Member No.: 4140 |
Sigh, sorry. I have a dev G1 phone and I have the eclipse android SDK downloaded. I have also d/l'd digitaldan's java lib and gotten it to compile w/ a full JDK but i haven't sat down to try to make it compile with the Android SDK. i'm hoping to have some time in the next week or so to finally sit down and try this (taking a "stay-cation" because i was maxed out at work), but i wrenched my neck a couple of days ago which means that i'm not making very fast progress against all the home automation work i planned to do with my time off.
if anyone gets to the point where any of the java libs compile on android before me, or wants to work with me (divide and conquer) please let me know! otherwise i'll post an update in a week's time to let you all know where i'm at. |
|
|
|
Oct 23 2009, 11:41 PM
Post
#9
|
|
|
Newbie ![]() Group: Registered Posts: 4 Joined: 10.23.09 Member No.: 7141 |
I don't think that I can post links because I am new here. If you search for worthington solutions, and go to their forums, RickM posted a link to zipped copy of his library on June 16, 2009, under the thread HAI C-language library snapshot.
|
|
|
|
Oct 24 2009, 08:22 AM
Post
#10
|
|
|
Cocooner ![]() ![]() Group: Registered Posts: 56 Joined: 08.16.08 Member No.: 4873 |
thanks!
|
|
|
|
Oct 24 2009, 10:56 AM
Post
#11
|
|
|
Newbie ![]() Group: Registered Posts: 4 Joined: 10.23.09 Member No.: 7141 |
js19707- I look forward to seeing your work. Let me know if I can help test it. I don't have any programming experience, but I am advanced beginner linux user.
This post has been edited by Desertdog: Oct 24 2009, 10:56 AM |
|
|
|
Oct 27 2009, 05:24 AM
Post
#12
|
|
|
Cocooner ![]() Group: -= Silver Supporter =- Posts: 94 Joined: 02.21.08 From: Mountain View, CA Member No.: 4140 |
i've made some solid progress in the past few days, but i'm discovering this will be more complex than i had originally figured.
so far i've just been developing on an emulator, but i have digitaldan's jomnilink java library compiling and running on the emulator and talking to my panel. i have a very basic android UI i've laid on top of it, but it doesn't do much yet--just persists the controller info and connects and retrieves the various status objects from the panel (equivalent to the Main.java example from the library). still to do: separate screens for lights, buttons, audio, etc; issuing commands to change the state of the panel; everything related to audio, cameras, etc. i also need to take a closer look at what Dan's doing inside his library and decide whether anything needs to be changed to conform to Android's threading model. but at any rate it seems to be ~working so far.. as soon as i figure out how to use Dan's library to arm and disarm my panel, and invoke a button or two, i'll download it to my phone to try for real. one FYI for those would want to run this: i'm coding this against Android SDK 1.6 (aka Donut). i'm not sure what the current version is on carrier issued devices, but even if it's not widely deployed yet i think it's safe to say that version will be prevalent before i'm done with this effort. This post has been edited by js19707: Oct 27 2009, 05:25 AM |
|
|
|
Oct 29 2009, 12:00 AM
Post
#13
|
|
|
Newbie ![]() Group: Registered Posts: 4 Joined: 10.23.09 Member No.: 7141 |
i've made some solid progress in the past few days, but i'm discovering this will be more complex than i had originally figured. so far i've just been developing on an emulator, but i have digitaldan's jomnilink java library compiling and running on the emulator and talking to my panel. i have a very basic android UI i've laid on top of it, but it doesn't do much yet--just persists the controller info and connects and retrieves the various status objects from the panel (equivalent to the Main.java example from the library). still to do: separate screens for lights, buttons, audio, etc; issuing commands to change the state of the panel; everything related to audio, cameras, etc. i also need to take a closer look at what Dan's doing inside his library and decide whether anything needs to be changed to conform to Android's threading model. but at any rate it seems to be ~working so far.. as soon as i figure out how to use Dan's library to arm and disarm my panel, and invoke a button or two, i'll download it to my phone to try for real. one FYI for those would want to run this: i'm coding this against Android SDK 1.6 (aka Donut). i'm not sure what the current version is on carrier issued devices, but even if it's not widely deployed yet i think it's safe to say that version will be prevalent before i'm done with this effort. I guess this is where your fan club is supposed to cheer for you to keep going, lol. Seriously, js19797, it is awesome that you are doing this! Keep us updated. My Sprint HTC Hero is using Android 1.5 (Cupcake). Hopefully, Sprint will upgrade the firmware soon or someone can back-port it to 1.5. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th November 2009 - 08:55 PM |
|
|