rsw686 said:I'm using HAI's C# SDK to handle the connection. What panel model / firmware version do you have? Can you ping the IP address of panel from the computer you're running HAILogger on?
junying said:It's an old old firmware on Omni IIe. It's over 10 years old and probably firmware 1.0. I know the general connectivity is working because I have also an old version of an iOS app that connects to it and can control everything. I did wonder if it's a version issues, that HAI SDK doesn't support it any more. In the iOS app, I needed to put the pin code in to connect, whereas seems the new version only require the encryption keys. Thanks again.
ano said:So I installed MySQL, created the schema, clicked lightning bolt, etc. I found the HAILogger.ini
So I set Database Logging to no and Time Sync to no. (I have the email board)
Sounds like I still need to be running MySQL even if I don't log to it?
So I filled out the HAI IP address, and key. Anything else needed?
We are a Mac household, and I'm running Mac OS X Server, which I kinda like. I even installed Wordpress on it and mostly got it running. With the Mac server you can even remotely manage iPhones and iPads which is interesting.
Figures . Any chance you can share the SDK documentation? I'm pretty handy so wouldn't mind playing around with the code. Thanks.rsw686 said:You need firmware 2.16a or higher which supports the Omni-Link II protocol. The HAI SDK supports the older protocol, however I didn't implement the code as I have no way to test. I would recommend upgrading your firmware. You can purchase the chip for around $75.
http://www.automatedoutlet.com/HAI-20A04-50UPG-p/508.htm
junying said:Figures . Any chance you can share the SDK documentation? I'm pretty handy so wouldn't mind playing around with the code. Thanks.
Got it. I filled out the application for developer program last night. Hopefully I'll get approved. I'll play around.rsw686 said:I had joined the HAI developer program years ago. However I haven't seen anything more about that since Leviton purchased them. A google search found the C# SDK example code and the OmniLink II protocol documentation. There's a setting to change the connection version. The bigger issue is the older firmware reports the status, temp, etc differently and you had to check if it was ok to poll, etc. For improved hardware support, etc it is well worth the few dollars to upgrade the firmware.
OK good to know. This PC is pretty low-power, 2GB Ram, 32GB Storage. Everything I can remove is good. When I received it from Dell, it only had 500MB free. There was so much bloatware on it like the MS Office trial. Stupid.rsw686 said:You don't need mySQL to be installed or event running to use HAILogger if mysql_logging = no. I originally wrote the app to log the zone, temp, etc to mySQL. Then I added time sync and recently the web service API for SmartThings. You can use the hai_time_sync, mysql_logging, or webapi_enabled individually or in any combination.
How do you access that one on Windows?pete_c said:Another way to see it running is that the API web interface will not come up if the HAILogger is not running or errors out.
ano said:How do you access that one on Windows?
OK. I initially tried just using Notepad. Then the Win 10 app store recommend a free program called "Serris Code Editor" that seemed to know how to open the "groovy" files. Then did a select, copy, paste. I sign up for GitHub and try that.rsw686 said:Somehow your pasting HTML into SmartThings and not just the code. In GitHub you want to click Raw when viewing the file then copy/paste from there