Since I don’t have another “official” fan integration that I can use, I’m not sure which variable you are referring to. I see speed and current_speed attributes in the dashboard. Not sure which one (if either) is supposed to show up.
One other note - I have also added support for stateless dimmers (the ones where you hold down the button and the brightness cycles until you let go). These are available as start/stop dimming services that can be called against a light. It requires a PR I submitted to the bond-home library to be accepted first, but hoping to get this out shortly.
I have downloaded the latest release and why you looked at how you were tracking fan speed it was not updating or being maintained by the ui. I use fan-control-entity-row.js as a fan entity and while the speed changed on the current release it does not update the speed on the entity and it was not being maintained before. with the current implementation all you need to do is include the speed property as below. This will enable the UI to track current fan speed of the element.
@property
def speed(self) -> str:
“”“Return the current speed.”""
return self._attributes[‘current_speed’]
Also when i was working on light dimming for a fan light i noticed that SetBrightness call always rurned failure so i implimented dimming using IncreaseBrightness and DecreaseBrightness i can send you the code if interested but it now works with the slider for a light element.
My fan lights only support the StartDimmer command, not IncreaseBrightness/DecreaseBrightness, so I wouldn’t be able to test your implementation. Unfortunately, my types of lights won’t support a slider, because they are stateless and you can’t track where they are in their dim/bright cycle. So the only way to control them in the UI will be likely be a button that toggles the start/stop dimmer commands. But that is why I exposed them as services - so people have flexibility with the implementation.
Will take a look at the speed display this weekend.
ok yeah like i said i was just making my fanimation devices work better. So i can test devices with state. I was just saying that while the bond api states that my fans support SetBrightness they always return failure so i used their state and increase/decrease to implement set .
Fan speed property is now implemented.
@emcnicholas Send along your brightness code if you’d like, and I’ll see what I can do with it.
I sent you a pm with my code. Like i said i had to use a workaround as trying to set the brightness attribute kept returning failure for me but i could get the current level at startup so i had that as a baseline for increase and decrease functions.
Thanks for making this! Got it all setup and working to automate turning on our ceiling fan at 10pm and off at 5am each nigh. The small joys in life
A few things:
- Recommend the OP update the very first post in this thread to mention HACS compatibility by adding the repo URL to HACS settings
- My fan is is Hunter Minimus (Model 59452) and it works
- The lack of more granularity in fan control is annoying. 1 is too low and 2 is too fast. I need a 1.25 :). I realize this is an issue with HA since the fan control only supports 3 speeds.
I’d love to proactively turn the fan on at a higher speed earlier in the evening before we sleep to cool the room off a bit. Anyone know an easy way in Node Red to get the Daily High temp?
I have 4 fans and 2 fireplace entities setup in my Bond app. In HA the fireplaces come over without names (show as light.fireplace_#) and OI only see 3 out of 4 fans. Anyone have an idea why the issue? I’d like to be able to eliminate my last use of IFTTT.
Hi All,
I have been using HA for a few months and stumbled a cross the Bond integration a few hours ago.
I followed the install info, created the bond folder copied in the file, found my bonds pucks IP address and Local Token, added the bond entry in the conf.yaml and restarted HA. I didn’t see any error on startup, but now i am stumble as to what to do next.
Should I see an entry for Bond in HACS>Integrations or Configuration>Integrations?
I just checked again and i do see “Developer Tools” > “Info” > “Bond Home”.
But i am still unsure how to see or interact with the devices controlled by my Bond Puck.
As an example i have a fan call “office Fan” with a Device ID of 000018, it has 3 speeds and a light.
If installed and setup properly, the component will create entities upon HA restart. Check config>entities and sort by integration to find any entities created by Bond Home. If there aren’t any entities, my guess is you have not installed/setup properly or need to restart HA.
Sounds like you installed manually? I’d use HACS, makes it much easier.
I tried installing via HACs and manually, but get this error each time. Anyone run across this?
Unable to prepare setup for platform bond.cover: Platform not found (cannot import name 'CoverEntity' from 'homeassistant.components.cover' (/usr/src/homeassistant/homeassistant/components/cover/__init__.py)).
Unable to prepare setup for platform bond.light: Platform not found (cannot import name 'LightEntity' from 'homeassistant.components.light' (/usr/src/homeassistant/homeassistant/components/light/__init__.py)).
Unable to prepare setup for platform bond.switch: Platform not found (cannot import name 'SwitchEntity' from 'homeassistant.components.switch' (/usr/src/homeassistant/homeassistant/components/switch/__init__.py)).
I updated Home Assistant from 0.109 to 0.110 and it works.
Kinda unrelated but do you like the Hunter Minimus fan? Does using w/Bond+HA get rid of the beeping that everyone complains about?
Like the fan, hate the beep. Using bond doesn’t get ride of it. I’ve thought of taking the fan apart to get rid of the component that’s beeping but can’t be bothered enough.
I’ve been having issues after upgrading to I think 109 and newer where after about 12+ hours the bond communication stops on the server. I reset the server, and all good.
Is there anything I can do to fix this?
I am currently thinking of reloading the entire server and starting over as I have done a lot of changes since initial install and there is lots of cookies crumbs left around.
Got some 15 year old Casablanca fans to work. No lights in mine, but the three speeds work fine.
Any chance to get “set_direction” command working and status as reported as an attribute ?
Thank you !!!
thanks for making this. It’s working well for me. I do have 6 speed setting and can only access 3 but it’s not that important to me.