DAB E.Sybox pump sensors via DAB DConnect

I’m having trouble making sense of the water usage and power usage sensors from the esybox mini 3 integration.water use seems 100 time more than actual?
Has anyone had success working them out?

My custom integration for DAB Pumps is getting stable enough and has been tested with various devices (ESybox, ESybox.mini, ESybox.diver, DConnect Box2). The custom integration is now the preferred solution over the scripts I initially published under this community topic.

See the description in ankohanse/hass-dab-pumps: Home Assistant Custom Integration for DAB Pumps via the DConnect service (github.com) on how to install the custom integration for DAB Pumps.

Will we be able to turn power shower boost and sleep mode on/off eventually?

Yes, I hope so.
Changable entity values for Power Shower and Sleep Mode is the next thing on my list to look into for this custom integration so hope to be able to have a solution for it in March.

1 Like

I rebooted the rpi4, probably after some updates, and the DAB integration no longer works.

I installed core update 2024.2.5 and the DAB integration is working again.

Installed update dab v2024.3.2 and now the data isn’t updating.

Edit, All Good I had to clear the app cache.

It would be great to understand the wireless comms from the Esybox to theDConnect.

I did some research a few months back but hit a few roadblocks due to lack of equipment.

1 Like

@ankoh Thank you so much for this integration. Unfortunately I cannot get past the GUI configuration. I get the following error:
Screenshot 2024-03-07 at 18.28.41

I’ve installed via HACS and don’t see any errors. I created a second user as per the documentation and I can login to dconnect with both users via a browser and see the detail for my EasyBoxMini3. I logged out on the App and browser in case it’s a concurrency issue but no luck. I also tried both logins for both users. Any ideas? Thanks

Hi Nico,

Sorry to hear the integration is not doing what it is supposed to do on your system.
Could you please have a look if there is any error or warning in the log relating to the DAB Pumps integration:

  • In the main Home Assistent menu, choose Settings → System → Logs

Thank you @ankoh I see the following in the log when I run the config to add my credentials after adding the integration:

2024-03-08 08:46:50.545 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 91, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 25, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 79, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 235, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 31, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 68, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 72, in with_admin
return await func(self, request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 197, in post
return await super().post(request, flow_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
result = await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 111, in post
result = await self._flow_mgr.async_configure(flow_id, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 359, in async_configure
result = await self._async_configure(flow_id, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 405, in _async_configure
result = await self._async_handle_step(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 502, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dabpumps/config_flow.py", line 101, in async_step_user
await self.async_try_connection()
File "/config/custom_components/dabpumps/config_flow.py", line 69, in async_try_connection
coordinator = DabPumpsCoordinatorFactory.create_temp(self._username, self._password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dabpumps/coordinator.py", line 109, in create_temp
api = DabPumpsApiFactory.create(hass, username, password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dabpumps/api.py", line 62, in create
api = DabPumpsApi(hass, username, password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dabpumps/api.py", line 87, in __init__
self._hass.async_create_task(self._history_store.async_remove())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'async_create_task'

Let me know if you prefer that I open issue on Issues · ankohanse/hass-dab-pumps · GitHub.

Below my current HA versions which are all on the latest version available:

  • Core 2024.3.0
  • Supervisor 2024.02.1
  • Operating System 12.0
  • Frontend 20240306.0

@nicopret
Thank you, that log is very helpful. At first glance looks like a bug introduced by me in code that gathers more debug information.

Will come up with a fix as soon as possible, probably before the end of the weekend.

Created a bug report on your behalf in: Cannot get past the GUI configuration · Issue #15 · ankohanse/hass-dab-pumps (github.com)

1 Like

Thank you for your quick response @ankoh. I’m glad it helped and I’m excited to make use of your DAB integration. I’ll follow the issue further here: Cannot get past the GUI configuration · Issue #15 · ankohanse/hass-dab-pumps · GitHub


There seems to be duplicated sensors and sleep and power shower sensors are unavailable with today’s update v2024.3.9

Hi Norm,
Strange this behavior, haven’t observed this before. I will have a look at what could have caused this and prepare a solution.

Could you check one thing for me:
If you click on a not disabled item (for instance Power Shower Boost) and then press the gear icon, what entity-id does it state. And what entity-id does it state for the duplicate but disabled one?

You should be able to manually remove the disabled duplicate sensors (click on them, then click on the gear icon and press ‘delete’)

Okay I did that and there seems to be some greyed out sensors still which I can’t open. There also seems to be more unavailable sensors?
I restarted Home Assistant after deleting.

I’ve been able to change the sensors around and have all I need working. Water flow, pressure in bar, turn sleep mode and power shower on and off.
So all good.

I’m getting time out while trying to communicate with API.
Seems to have been repeatedly happening since updating to v2024.4.4.

I have been using the Sleep Mode as when it is on the pressure from my header tank is greater than the minimum Sleep Mode pressure so the pump stays off. When I need more pressure I turn Sleep Mode off. But it’s become unreliable since the last updates with the communication errors.

Should I remove the integration and reinstall? Would that solve the problem?