Haiku HAI and the iPAD

Port Mapping Success!

Lupinglade:
Many thanks. Followed your instructions and got the port mapping working perfectly so I can now use your GREAT app from outside my wi-fi network. I'm going to set up HAIKU Helper next. Keep up the great app!

Thanks agaig for your help.
 
Thanks lumpinglade!

That sounds almost simple enought that I should be able to figure it out. :)


I spoke too soon.
Can I do this from my home inside the public IP address? Or do I have to be remote?
I forwarded the port on my modem and router and changed the IP address in Haiku and I keep getting Connection failed.
Is there a way to ping the port? The IP addresses ping fine but when I add ":4369" it get an error.
 
you can't ping a port.

Try http://canyouseeme.org/

I use my "dyndns" name in my haiku config and my router is smart enough to redirect me to the forwarded port, even from inside my firewall.
 
THX.
I found a port checker utility.
I'm not forwarded and I have no idea what I'm doing.

(Sorry to divert the direction of this thread).

Well - My port now reports open, but still getting connection fail. :(
 
@Desert_AIP: Try to connect from outside your network first. Some routers don't allow using the external IP address inside the home network. Apple's routers definitely do allow it though, if you have that.
 
@Desert_AIP: Try to connect from outside your network first. Some routers don't allow using the external IP address inside the home network. Apple's routers definitely do allow it though, if you have that.


Thx lupinglade, I will.
All Windows/PC here, the iPad is my first Apple product.

If I have to have two IP addresses, do I just set up a second controller with the external IP address and switch between them?

Funny, I didn;t know about the "Rooms" HAI upgrade until you app. I saw the "Rooms" icon and wondered what it did, then I happened to see new PCAccess parameters including, you guessed it, Rooms.
 
@jharrell: I've added the button issue to the TODO, I'll have a look at it. Thanks for the feedback.

Thanks! With the aux zone setting and changing the message chime Haiku will be perfect for everything I do, you will leave me with nothing to complain about ;) Really though great product all the way around, and better support, updates and feedback than I have had with HAI's own software solutions. Honestly kinda of pissed I paid $300 for Web-link when I could have Haiku and a iPod touch for $50 less.

BTW Javascript automation scripts is killer, although I would rather it be a app to run on a low power server device. I am currently looking at a Synology NAS to replace my WHS which runs some form of Linux. It would be great to have it run Haiku helper ;).
 
By the way we are looking for some beta testers for the scripting feature. If you are fluent in JavaScript, let me know of you're interested in testing the new feature.
 
@Desert_AIP: Try to connect from outside your network first. Some routers don't allow using the external IP address inside the home network. Apple's routers definitely do allow it though, if you have that.

Yep, that was it. Such a simple thing.
I went to the local coffee shop, logged in to my Omni and it worked pefectly!
Will definitely come in handy. Would like to use a single setting though, rather than a home and away profile.
But that is a hardware issue on my end (apparently).

I just realized the "rooms" function doesn't have to use physical rooms. I can use it as a collection of pages of related items or items commonly used together.

I know this is getting greedy, but I'd love to have the capability to load a floor plan image.
But not if performance would take a hit.
 
Thanks for the feedback.

Re low power server -- Mac mini is perfect, only 10W idle I believe. Runs HaikuHelper great ;)

only if it supports 10.7! Mine doesn't :(

Is there any way to tie email notifications into haiku helper? Honestly, the ONLY reason I have my WHS server still powered up is the dang notification feature of WL3... Still annoyed with HAI that the only way I can get immediate out of home notification (text or email) is to have WL3 (or WL2) running on a server.
 
Announcement:

HaikuHelper now supports full scripting of the automation system using JavaScript. You can fully control the entire system and receive events and react to them all using the familiar JavaScript scripting language! This new feature adds unparalleled flexibility to your home automation system and to HaikuHelper. You can do many things not previously possible using the built in programming feature of the HAI controller. Full API documentation is included with HaikuHelper, including sample code for many new things that can be done! Great for both installers and end-users familiar with JavaScript to add rich programming capabilities. We're excited to see what you can do with this! Scripting between controllers is supported too for larger homes or anything else you can think of.

It is so flexible its hard to cover everything here in one post!
 
Here's a little sample script to do something you just can't do with the built in programming:


This adds: Press ON twice for Room ON, OFF twice for Room OFF on any HLC room switch.

Code:
var switchHistory = Array(); // Initialize array, put at top of script
function onUPBSwitch(switchP, unit) {
if(switchHistory[unit] == switchP) { // Process the second time the switch is pressed
  parentUnit = controller.unitWithNumber(unit).parentUnit();
 
  if(swtch == 1) { // On pressed again
   if(parentUnit) parentUnit.on();
  } else if(swtch == 0) { // Off pressed again
   if(parentUnit) parentUnit.off();
  }
 
  switchHistory[unit] = null; // Clear since we just processed the event
} else {
  switchHistory[unit] = switchP; // Store the first time the switch is pressed
}
}

That's all the code needed. Now anytime you press ON on any switch a second time, it will turn the entire room on. And OFF a second time, it will turn the entire room OFF. This takes effect for the entire home! You could even change it slightly to do something on three presses and four if you wanted to. And you can of course make it do anything else on these second presses. Like open the garage door, execute a room scene or whatever you like :)

You can do the same thing with other lighting systems too of course, just the code may be slightly different.

Here's a peek at the new scripting UI and the new Controllers window. HaikuHelper is evolving.

[sharedmedia=gallery:images:425]
 
Back
Top