Add support for Hubspace by Afero

Any idea on if it’s possible to integrate the new feather door with home assistant? Would love to get the on/off added in for security

We (and now a new dev who has taken over) have figured out every device so far. You need to provide dumps as documented in the github.

Any interest in making some of these devices work over local bluetooth?
Not sure if the integration could support both.

It would be super awesome if you can add that capability! I think it would need to be a different integration due to the way Home Assistant integrations work. I tried intercepting the BLE traffic for the door lock, but I could not figure out the encryption. Please report back as you make progress.

Thanks so much to the developers for this integration. I just finished installing these Hampton Bay permanent outdoor mini-LED string lights, and they are well controlled through the integration. I can choose brightness, color, and even the preset scenes. Individual light control is missing, but not important to me, as I can use the Hubspace app for that and then turn the scene on/off via Home Assistant.

The GitHub README says that RGBW isn’t supported, but these pucks are RGBW and work just fine. I’m happy to download the json config files if needed, but the current function is good enough for me! Thanks again!

Issues with Fan: Fan not being added. · Issue #125 · jdeath/Hubspace-Homeassistant

homeassistant  | Traceback (most recent call last):
homeassistant  |   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 608, in _async_add_entities
homeassistant  |     await coro
homeassistant  |   File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 927, in _async_add_entity
homeassistant  |     await entity.add_to_platform_finish()
homeassistant  |   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1384, in add_to_platform_finish
homeassistant  |     self.async_write_ha_state()
homeassistant  |     ~~~~~~~~~~~~~~~~~~~~~~~~~^^
homeassistant  |   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1023, in async_write_ha_state
homeassistant  |     self._async_write_ha_state()
homeassistant  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~^^
homeassistant  |   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1148, in _async_write_ha_state
homeassistant  |     self.__async_calculate_state()
homeassistant  |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
homeassistant  |   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1087, in __async_calculate_state
homeassistant  |     if state_attributes := self.state_attributes:
homeassistant  |                            ^^^^^^^^^^^^^^^^^^^^^
homeassistant  |   File "/usr/src/homeassistant/homeassistant/components/fan/__init__.py", line 406, in state_attributes
homeassistant  |     data[ATTR_PRESET_MODE] = self.preset_mode
homeassistant  |                              ^^^^^^^^^^^^^^^^
homeassistant  |   File "/config/custom_components/hubspace/fan.py", line 68, in preset_mode
homeassistant  |     if self.resource.preset.enabled:
homeassistant  |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
homeassistant  | AttributeError: 'NoneType' object has no attribute 'enabled'

Did something change recently in this integration? I have combo ceiling fan lights and they have been stellar for month - showing status almost instantly in HASS. Recently (past week or two) they have not shown properly in HASS or, if turning on a light with the remote for example, have not updated in HASS at all. Curious if I missed something that I need to tweak on my end. TIA!

If you have not updated, you should not have an issue. If you updated, there is a chance something broke between versions. Update to latest version and post an issue on github. Sometimes the API gets overloaded, but 2 weeks of issues is probably not the API.

Okay thanks. I was on 4.1.1 still but just updated so I’ll see how it goes for a few days. Appreciate it.

Hello! Thanks for this integration! I’ve been using a bond bridge for the past year or so to control my fan through HA. This adds a lot more functionality even if it isn’t local. From now on I’ll yse the bond as a failsafe in case the hubspace servers are not responding. Great work!!!

One small feature request: The fan light has presets at 2700k, 3000k, 3500k, 4000k, 5000k and 6500k. Currently, only the 2700k, 4000k, 5000k and 6500k are exposed as presets in the UI. Would it be possible to add the other two? Using the slider is possible but a little tedious since 2700-4000 is a relatively small range out of 2700-6500k (34%).

I can do try to do this in a separate automation and custom card but would love it if it were incorporated into this amazing integration.

My fan is a driskol fan from home decorators if that info is relevant.

post an issue on github. that is where you’ll get the best support.

1 Like

Kingfisher group (Brico dépôt, Castorama, B&Q, Koçtaş) is selling devices based on Afero tech too. The brand is Myko.
Someone made a fork of the project Hubspace Homeassistant: GitHub - dvd604/Myko-Homeassistant: Myko Integration for Home Assistant
It works great for me, I take a fast look at the code and there isn’t so much differences from the original project (mainly endpoints API).
I think it will be a good thing if the hubspace homeassistant project includes this feature (maybe we can choose hubspace or myko at the start of the configuration).
The Myko android app is developped by Afero: https://play.google.com/store/apps/details?id=io.afero.partner.kfi&hl=en

That is pretty cool. If the author of the myko version wants to do that, they should do PRs to the hubspace project which allow it to work for both.

Hello,
I have some myko lights.
It seems like this github is not a available anymore, could you share the code with us ?

Thanks a lot !