Haverland Radiators Smart Box Integration

Hi, sorry. I’ve been out for a few months. Yes, I still maintain the integration. Give me a week and I’ll fix that error.

I’m plan to level up this integration in the next months. This it’s the roadmap:

  • HACS integration.
  • Setting using the UI.
  • Add new power / utility sensors.
2 Likes

Hi, carlituxman, I think you’re not using my implementation but the old one from graham33. I don’t use TEMP_CELSIUS in mine but the modern UnitOfTemperature.CELSIUS.

Please, replace it with mine.

Regards,

3 Likes

perfect… we are here to test it

Thanks for the support

@ajtudela thank you for your support. I have just updated to your implementation and now all working! I will follow. Regards

Hi everyone.

I just publish the first release since Graham33 left and I took over maintenance. This release just fixes my Github CI and bumps the minimum Home Assistant version to 2024.2.0

Please update to this release to keep everything working.

4 Likes

I just installed your version and it’s working. Thanks!

Will wait for a stable version of Zigbeemqqt2 to update all. And test your update

Same for me, your latest version works well.
I used a version of davefrooney forked from yours but this version is not updated, and I got with it the same error “TEMP-CELSIUS”

I have the ajtudela version with core 2025.1.0 and zb2qmqtt 2.0.0-2 and it works perfectly

well just update also the HA and zigbee… and seems the “SmartBox” option… updated alone… :smiley: version 2.0.0-beta is working

thanks

Any help with my error? im use elnur acm and power meter.

Thanks

Registrador: homeassistant.setup
Fuente: setup.py:416
Ocurrió por primera vez: 07:54:39 (1 ocurrencias)
Última vez registrado: 07:54:39

Error during setup of component smartbox
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 416, in _async_setup_component
result = await task
^^^^^^^^^^
File “/config/custom_components/smartbox/init.py”, line 95, in async_setup
devices = await get_devices(
^^^^^^^^^^^^^^^^^^
…<9 lines>…
)
^
File “/config/custom_components/smartbox/model.py”, line 288, in get_devices
await create_smartbox_device(
…<6 lines>…
)
File “/config/custom_components/smartbox/model.py”, line 313, in create_smartbox_device
await device.initialise_nodes(hass)
File “/config/custom_components/smartbox/model.py”, line 63, in initialise_nodes
status = await hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self._session.get_status, self._dev_id, node_info
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File “/usr/local/lib/python3.13/concurrent/futures/thread.py”, line 59, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.13/site-packages/smartbox/session.py”, line 154, in get_status
return self._api_request(
~~~~~~~~~~~~~~~~~^
f"devs/{device_id}/{node[‘type’]}/{node[‘addr’]}/status"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File “/usr/local/lib/python3.13/site-packages/smartbox/session.py”, line 108, in _api_request
response.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File “/usr/local/lib/python3.13/site-packages/requests/models.py”, line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api-elnur.helki.com/api/v2/devs/5bfcabd3d880xxxxx/pmo/9/status

It seems that you are not setting the right device id or it can’t communicate with your emitter.

Are the settings correctly set?

Im think that yes.

This is the lines added in configuration.yaml:

smartbox:
accounts:

  • api_name: api-elnur
    username: [email protected]
    password: f8xxxx
    session_retry_attempts: 20 # how many times to retry session REST operations
    session_backoff_factor: 1.0 # how much to backoff between REST retries
    socket_reconnect_attempts: 20 # how many times to try reconnecting the socket.io socket
    socket_backoff_factor: 1.0 # how much to backoff between initial socket connect attempts
    device_ids:
    • 5bfcabd3dxxxxxx
      basic_auth_creds: NTRiY2NiZmI0MWE5YTUxMTNmMDQ4OGQwxxxxxxxx==

Mmm, basic_auth_creds is not indented correctly. Otherwise, that is the device id that it shows in the app?

Why basic_auth_creds not is correct? im check several times in chrome inspector and always its the same token (obviously the xxxxx of the end not is part of the token), im try with and without == of the end.

The device id is the device indicated in the aplication is a Elnur G control hub.

Check your indentation. It should look like this

  accounts:
  - api_name: api-xxx
    username: [email protected]
    password: xxxxxxx
    device_ids:
    - xxxxxxxxxxxxx
  basic_auth_creds: NTRiY2xxxxxxxxxxxxxxx==