Over the last year or two I have implemented HAI’s OmnilinkII protocol in C, objective-C and ruby. Each time I have only implemented what I needed and never the full API. Throughout all of these projects however I have always wanted to have a complete API written in JAVA. How cool would it be to have your home web serviced enabled with Apache Axis or to integrate your system with emerging HA platforms like openremote.org?
Well I brushed the dust of some Java code I had written a while back and hacked out a first rough draft over the weekend. The result is jomnilink v 0.01. This is not even alpha quality code, so don’t go using it in your projects just yet! The API is a very thin wrapper around the published omnilinkII spec. The code is largely undocumented, so you will need to look at Main.java for my sample test application. As soon as I hammer out the remaining API calls and add some validation I will create a separate project page, for now you can download the gzip file here. This Library is Licensed under the GPL v2, if this does not work for you please contact me for other options.
Whats working
- All Request methods (system, objects, properties, etc..)
- Audio Zone and Source Methods
- Commands
- Notifications
Whats not
- Event log
- Upload /Download/Clear names
- Voice Name
- Security Code validation
- Keypad emergency
- set time
Hi, I must say I am following your developments in this space with keen interest. I am even considering purchasing a iPod Touch, just to run your H@me application. I have installed some server software called MisterHouse, on Ubuntu Server, and am looking to connect to my HAI OmniPro II, but the learning curve for me is quite steep. I thought I would mention this to you, in case you were interested in giving us guys some assistance in building an interface. http://misterhouse.sourceforge.net/ Thanks
I played around with misterhouse a long time ago, unfortunately I’m not a big fan of perl (which it is written in) and so wasn’t interested in doing any integration. I have also done work with linuxmce, but the project never worked right for me over the years and I eventually gave up on it as well. I’ll post here if I do any integrations with other systems (which I plan to do).
Have you seen the HAI .Net SDK? It’s very 1990, but it is at least completely functional. I haven’t tried it, but I’d imagine it could run in Mono since I don’t see any external COM-type stuff on first glance. I think there are some ways to get Java to talk to Mono, can’t remember them off hand.
By the way, have the new Apple NDA changes made it so you can open up the source for H@me again? I’d love to fix these Russound issues, but not sure how I could at this point.
I have seen it, my api is very complete, open and easy to implement
So I think I’ll keep going with it.
I plan on working on my iphone project again soon. I’m actually going to keep it closed for now and focus my efforts on getting an open source iphone project implemented over at openremote.org. They have an app waiting for acceptance right now, I’m hoping on working with them over the next few months to get my jomnilink library incorporated. I’ll make sure I fix your audio issue in the next release.
Excellent, good to hear. Maybe I’ll call your libs from my C# progs. The HAI libs are just straight up confused, non-OOP-standards function wrappers.
I’ll check out openremote. Maybe you should make the next ver of H@me paid.
I’d definitely pay for it.
I am looking for an application that will work with my blackberry to control the OmniProII…. Do you or will you have something
@craig nope
Not a Blackberry user but if someone wants to use my library they are more then welcome to build one.
Dan,
First of all thanks for the H@me application. Post a paypal link so I can contribute something back. Can you recommend a site to help me get going with these java files. I have no idea how to get them going and haven’t found anything to help online. Would love to dump wine snaplink if possible but am to much of an old newbie for things to just click.
One more unrelated question given your association with openremote. Any insight before I buy a globalcache box? Will openremote be ready soon to allow control of the home entertainment center through the GC via the ipod?
Thanks again for the software. I wish I had the talent to contribute such tools myself.
@Keith, Jomnilink is just a library for talking with the omni, the only application that uses it are some web services I wrote but never found time to clean up and release, even then its not a replacement for the snaplink program.
Openremote.org is at a point where you have basic control of IR devices and the ability to send commands to X10, KNX, telnet and http enabled devices. I have not done anything with them lately as I’m more interested in 2 way communications to things like lights and thermostats where rules can be run on device status changes. I know thats on their roadmap.
I believe the globalcache box is well supported, but have not used it myself. I have the IR port on my server in the basement wired up to my entertainment center on the main floor to receive and send commands. Every thing else is done vi IP and/or the omni setup.
Dan,
I am a HAI enthusiast and I also sell HAI products. Do you have any interest in developing an app for Palm WebOs, Blackberry and the Android OS? I believe it would sell. HAI’s solution for them is WL3 on Windows Home Server. Not all of my customers want to use a server to access their HAI system.
Thanks,
Bill