Haiku Fan (Big Ass Fans) support

@zackrbrown Are you still actively developing this? Curious is you were ever able to get light control or motion/presence from the senseme wall units?

Haven't been actively developing it in a while, but I can certainly add some more functionality (I don't own a Haiku motion product so I have to do a little research). However, it looks like there are now other drivers that you might want to consider as well! Haiku Wall Control Occupancy Sensor driver

EDIT: And that post also pointed out InterfaceUtils, which should help me fix up my driver to its original friendlier state!

1 Like

Iā€™ll check on the wall occupancy sensors drivers, thanks!

As far as wish list for the fansā€¦ light and bidirectional speed, e.g. if the fan changed its own speed due to rules in the haiku app, then the status doesnā€™t seem right in Hubitat (I think)

1 Like

@zackrbrown the on & off buttons on the driver page work fine, but when trying to 'toggle' or 'turn off ' the fan via a rule, it throws an error:

[dev:53](http://192.168.1.178/logs#dev53)2020-06-07 08:16:41.663 pm [warn](http://192.168.1.178/device/edit/53)Error occured with UDP message: SocketTimeoutException: Receive timed out

[dev:53](http://192.168.1.178/logs#dev53)2020-06-07 08:16:30.788 pm [warn](http://192.168.1.178/device/edit/53)Error occured with UDP message: SocketTimeoutException: Receive timed out

Also, it looks like RM is not reading the status correctly. Even when the driver shows the switch attribute as ON, RM doesnt.

I can take a look at this. I've been out of town for a bit so I haven't had access to my fans, but I'm planning on putting a weekend into this when I return. Look for an update in a few weeks! I don't see why RM wouldn't be working as long as Hubitat sees it as On, but maybe the changes I'm planning to make with InterfaceUtils will fix it.

1 Like

@zackrbrown awesome, thanks for taking a look! yeah, i'm not sure what is going.

Here is the post i made about it with screenshots in case it's some weird RM issue or something: Rule with Haiku Fan

@zackrbrown Just want to say thank you as you were able to properly connect an Haiku Fan to Hubitat and it works great! I can now control my fans and lights with a Pico remote. Do you have a Paypal account for a contribution. Awesome work!

1 Like

No need to donate, glad people are using it!

2 Likes

@zackrbrown any luck with this?

Unfortunately I got busy again and haven't been able to work on it yet. I promise I haven't abandoned it, but it will be another few weeks before I can take a look.

1 Like

Doing some poking at this driver and my fans:

Discovered that the fans direction can be set with the command <DeviceName;FAN;DIR;FWD|REV> I also discovered that the driver can be simplified to use <ALL;...> when talking to each device over UDP unicast, which would make setup simpler now that discovery is gone.

I'm very new to coding on Hubitat, but will try to make pull requests as I continue exploring.

Made a pull request with 3 main improvements:

  • Enable fan direction control
  • Update fan status based on the responses from the fan rather than assuming changes are successful
  • Enable refresh functionality, so that changes made from fan remotes can be reflected in hubitat

I also updated the README somewhat, and made it so that the device name doesn't have to be set for the driver to work.

2 Likes

Thanks for the update, glad to see progress is being made on this driver.

The Haiku commands are all pretty well documented at this point. This is probably one of the earliest and throrough...
http://bruce.pennypacker.org/tag/senseme-plugin/

Also, don't know if you've seen the documentation, but BAF does not recommend reversing the fan in the winter.
"To that point, a quick soapbox: reversing your overhead Big ā– ā– ā–  Fan in winter kills its efficiency by pushing up against the airfoilsā€™ design rather than pulling warm air down. This increases both energy usage and the rate of heat loss."

The Haiku commands are all pretty well documented at this point. This is probably one of the earliest and throrough...
senseme-plugin | Bruce's Blog

Thanks for this, I might add woosh mode to the hubitat driver. I don't have a SenseMe to use the other functions.

Also, don't know if you've seen the documentation, but BAF does not recommend reversing the fan in the winter.

I do know that, but my family finds that the fan moves too much air to be comfortable on even on speed 1 forward, so we use speed 1 or 2 reverse.

1 Like

@freedom there's a bounty out there for you if you put the driver on the Hubitat Package manager:

1 Like

I'm having issues with the driver discovering my 4 Haiku fans. I got the driver code installed, created a virtual device with the Haiku driver, put in the proper IPs (from my Eero app), and device name. I saved the preferences, but I don't see any activity from the driver and 'current states' is blank. Am I missing a step?

Not sure if this will help. I had to use the fan's mac address in place of the IP address for this to work.

@zackrbrown may be a dumb question, but is there a way to get commands sent through the Haiku app or remote to be recognized by HE? For example, if I want to use Node Red to make something happen when my Haiku light turns on from the remote or app.

You could use a rule to periodically refresh the device, which would update the fan speed. I just checked and the status doesn't seem to update without a refresh.

It's definitely something I want it it do, but as far as I can tell HE really doesn't like TCP/UDP listen servers. If I could figure that out, I know that it would be possible to respond to commands from the phone app, but I'm not sure how the wall switch or remote send commands.