New callback pattern for notification and disconnect causes, various cleanups. Fixed major bug in decoding encrypted messages bases on reported length.
Its getting closer for prime time. The next big steps are to release the Axis2 application I have in testing as well as add more convenient methods for sending commands based on device enums objects. I might take a break now and work on my iPhone app H@me. The natives are getting restless for a 2.0 release (and I don’t blame them).
Dan,
I downloaded your jomnilink 0.03 and dropped it Eclipse, configured things and attempted to run your example main. One thing I don’t quite understand is that the OmniPro II (version 2.15a) listens on UDP and the example appears to be written using TCP/IP sockets. I fail in Connection.java while newing up a Socket(“192.168.0.100, 4369). I have moved the address on the OmniPro II. I can use the Dealer PC Access version 2.14 on the same machine and access the OmniPro II just fine with the same network configuration. Can you shed some light on what I am missing? It seems like the code should be using the DatagramSocket/Packet classes?
Java Error:
at java.net.Socket.(Unknown Source)
at com.digitaldan.jomnilinkII.Connection.(Connection.java:134)
Thanks for your help, nice piece of work.
Joel
Hi Joel, this is for 2.16 which uses a similar but nicer TCP based protocol. Upgrade chips are about $50 at asihome.com. For 2.15 and below there is a java project on sourceforge which looks good, just search for hai or omnilink.
I am looking for an application that will allow me to look at and control my HAI OmniPro II controller from my Blackberry. In talking with Tech support at HAI they suggested that the H@me program has been know to work. Two questions: will it work and if so where do I find a copy of the program? Also, once found will a none programmer be able to get it running?
Thanks
H@me is a iPhone application, at this time I have no plans on creating a blackberry version (or nokia, wm, android, etc..)
eKeypad Pro is an iPhone app similar to your H@me for the Elk Automation system. It is $99.00 on iTunes. I would pay that much, and more, for each download of a 2.0 version of H@me. I estimate about 20 downloads of a new version of your app from my customers alone.
How much longer do you expect for a new version?
Thanks,
Eric
Hi eric, I have a 2.0 dev verion on my phone right now. I just have been so busy over the last 12 months its been hard to get it finished. In two weeks I should have a good block of time to try and finish up a release. So hopefully only a couple months. I’ll try and post some screen shots as I get closer.
This is an important application. Please know that many people rely on this app, so please help us who have been unable to use due to v3.0 upgrade problems. Thanks and keep up the hard work!
Dan,
I have upgraded my OmniPro II to version 3.1 now. Things work much better. I plan to start writing code to get to the function I need. I was wondering if there is a way to get your architectural vision/direction and assist with development? Perhaps this is already out there and I missed it…
Thanks,
Joel
This looks like another great tool. Can you point me to documentation on the OmniLink II protocol?
Thanks,
Ryan
HAI has a developer section, just fill out their form and you have open access to all their protocols and documentation. Its free, which is rare in the home automation space.
I just found this site and I am excited to try this ap. My wife has an iphone and i have an htc hero-android os. We have an omni pro II. I will try it out and give you feedback. I would welcome an android app if you have time.
Dan, I had a question about this part of Connection.reqObjectStatus:
while(current < endObject){
next = 25;
i couldn’t figure out where the 25 came from, or why you break up requests this way.. is this to keep individual messages below a particular size?
is there a newer version of your library or is this the latest?
Actually while I’m at it, one more question: your examples/Main.java has the following line in it:
status = c.reqObjectStatus(Message.OBJ_TYPE_THERMO,1,9);
I noticed you hard-coded 9 in there instead of using the capacity returned by the earlier call to reqObjectTypeCapacities().. on my OPII that returns 64.
when I try passing that value into reqObjectStatus I get a NACK message but when I use your hard-coded value of 9, it works..
is this an HAI protocol error or is there something else going on here which I’m not understanding?
Great little library, connects beautifully with the omni.
I’m in the process of extending it to do things like break up the extended message types into classes that decode their meaning, as well as generally clearing the warnings etc.
Dan, Drop me a line if you want to see my changes.
js, I get a NAK from passing in 9, which given I have only 1 thermo might explain things. Perhaps there’s a maximum that can be passed in?
Hi Dan, as a long time user of H@ome, thank you for all your work. 2 weeks ago I downloaded Jomnilink and have your demo up and working. Wondering if you or the community has posted any other example code. It is taking me a bit longer than expected to learn how to use your OO Libraries … I don’t mind posting my code when I’m done. THANKS!