Akuvox SmartPlus - View door camera feeds, open doors and manage temporary keys

Akuvox SmartPlus Integration for Home Assistant

Link to GitHub

View your Akuvox SmartPlus door camera feeds, open doors, and view your temporary keys. Support for adding temporary keys coming soon!

Features

  • Door Camera Feeds: Access live camera feeds from your Akuvox SmartPlus Door Intercom.

  • Relay Button Control: Open doors remotely from within Home Assistant.

  • Temporary Keys: View your temporary access keys.

  • Door Open Events: Whenever a door is opened, the akuvox_door_update event is fired in Home Assistant. This could be used in an automation to send a notification whenever a door is opened:

trigger:
  - platform: event
    event_type: akuvox_door_update
action:
  - service: notify.notify
    data:
      title: Door Opened
      mwessage: >-
        {{ trigger.event.data.Location }} opened by {{ trigger.event.data.Initiator }}

Installation

Choose one of the following installation methods:

  1. Via HACS (Recommended): If you donโ€™t have HACS installed, follow the official installation guide, then add the Akuvox SmartPlus repository to HACS here.

or:

  1. Manual Installation:
    • Open your Home Assistant configuration directory.
    • Create a custom_components directory if it doesnโ€™t exist.
    • Add a subdirectory named akuvox.
    • Download the files from the custom_components/akuvox/ directory in this repository.
    • Place them in the custom_components/akuvox directory you created.
    • Restart Home Assistant.

Adding the Akuvox Integration

  1. After installing the integration and restarting Home Assistant, click here to add the integration.

  2. Follow the provided steps for SMS Verification or via App Tokens to remain signed in to the SmartPlus app on your device.

Once configured, Akuvox cameras and door buttons will appear as devices in Home Assistant, enabling you to access camera feeds and trigger door relays directly from Home Assistant.

2 Likes

Hello, thank you for this integration.
I tried adding my R20A to home assistant, i logged in using the sms method successfully but no devices or entities are showing. Maybe this is happening because im not using the main account( the main account doesnโ€™t have a mobile number registered and the person is currently out of the country so itโ€™s impossible to verify using sms), iโ€™m using a family member account. Iโ€™m getting the following in the logs:

This error originated from a custom integration.

Logger: custom_components.akuvox
Source: custom_components/akuvox/api.py:459
Integration: Akuvox SmartPlus (documentation, issues)
First occurred: 11:24:40 AM (2 occurrences)
Last logged: 11:24:41 AM

โŒ Unable to retrieve user's device list'.

Kindly advise

Hi @jmassih, Iโ€™m sorry to hear youโ€™re having issues. I would be happy to try to troubleshoot with you.

Please enable debug logging for the Akuvox integration and reload the integration:

  1. Go to the Developer tools menu item, and then select the SERVICES tab

  2. Enable debug logging by calling this service:

service: logger.set_level
data:
  custom_components.akuvox: debug
  1. With debugging now enabled, please reload the integration from the integrations page.

  2. Navigate to your Home Assistant log: https://[YOUR_HA_INSTANCE]:8123/config/logs?filter=akuvox

  3. Press the LOAD FULL LOGS button.

Please make sure to remove your tokens and any other sensitive information from the log messages before sharing here.

There you go, lemme know if you need anything else. Thanks

2023-10-23 17:43:00.830 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration akuvox which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-10-23 17:43:10.205 WARNING (MainThread) [custom_components.akuvox] ๐Ÿคจ Response: {'message': 'request is invalid', 'result': -1}
2023-10-23 17:43:10.205 ERROR (MainThread) [custom_components.akuvox] โŒ Unable to retrieve server list.
2023-10-23 17:43:11.105 WARNING (MainThread) [custom_components.akuvox] ๐Ÿคจ Response: {'result': -1, 'message': 'the token does not exist'}
2023-10-23 17:43:11.105 ERROR (MainThread) [custom_components.akuvox] โŒ Unable to retrieve user's device list'.
2023-10-23 17:43:11.319 ERROR (MainThread) [homeassistant.components.camera] Error while setting up akuvox platform for camera
File "/config/custom_components/akuvox/camera.py", line 22, in async_setup_entry
2023-10-23 17:43:11.323 ERROR (MainThread) [homeassistant.components.button] Error while setting up akuvox platform for button
File "/config/custom_components/akuvox/button.py", line 26, in async_setup_entry
2023-10-23 17:43:11.443 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up akuvox platform for sensor
File "/config/custom_components/akuvox/sensor.py", line 27, in async_setup_entry
2023-10-24 11:23:39.037 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Fetching REST server data...
2023-10-24 11:23:39.401 DEBUG (MainThread) [custom_components.akuvox] โœ… REST server data received successfully
2023-10-24 11:24:20.696 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Requesting SMS code...
2023-10-24 11:24:21.363 DEBUG (MainThread) [custom_components.akuvox] โœ… SMS code request successful
2023-10-24 11:24:38.466 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Logging in user with phone number and SMS code...
2023-10-24 11:24:38.924 DEBUG (MainThread) [custom_components.akuvox] โœ… Login successful
2023-10-24 11:24:38.924 DEBUG (MainThread) [custom_components.akuvox] parse_sms_login_response = {'access_server': '52.57.115.41:8501', 'access_server_ipv6': '[2a05:d014:d93:e211:bf00:d88b:2f78:6b06]:8501', 'auth_token': 'TOKEN', 'pbx_server': 'pbx1.ecloud.akuvox.com:5070', 'pbx_server_ipv6': '[2a05:d014:d93:e211:8269:a8c3:4ded:8436]:5070', 'platform_ver': '6600', 'rest_server': 'ecloud.akuvox.com:8080', 'rest_server_https': 'ecloud.akuvox.com:8443', 'rest_server_https_ipv6': '[2a05:d014:d93:e211:8269:a8c3:4ded:8436]:8443', 'rest_server_ipv6': '[2a05:d014:d93:e211:8269:a8c3:4ded:8436]:8080', 'rtmp_server': '52.57.115.41:553', 'rtmp_server_ipv6': '[2a05:d014:d93:e211:bf00:d88b:2f78:6b06]:553', 'smarthome_uid': '', 'token': 'TOKEN', 'vrtsp_server': 'rtspsrv1.ecloud.akuvox.com:554', 'vrtsp_server_ipv6': '[2a05:d014:d93:e211:bf00:d88b:2f78:6b06]:554', 'web_server': 'ecloud.akuvox.com', 'web_server_ipv6': '[2a05:d014:d93:e211:8269:a8c3:4ded:8436]'}
2023-10-24 11:24:38.924 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Retrieving list of user's devices...
2023-10-24 11:24:39.928 DEBUG (MainThread) [custom_components.akuvox] โœ… User's device list retrieved successfully
2023-10-24 11:24:39.929 DEBUG (MainThread) [custom_components.akuvox] ๐ŸŽฅ Camera parsed: Gf Screen
2023-10-24 11:24:39.929 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: Gf Screen-Relay1
2023-10-24 11:24:39.929 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: Gf Screen-Relay2
2023-10-24 11:24:39.929 DEBUG (MainThread) [custom_components.akuvox] ๐ŸŽฅ Camera parsed: L1 Screen
2023-10-24 11:24:39.929 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: L1 Screen-Relay1
2023-10-24 11:24:39.929 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: L1 Screen-Relay2
2023-10-24 11:24:39.929 DEBUG (MainThread) [custom_components.akuvox] ๐ŸŽฅ Camera parsed: GATE
2023-10-24 11:24:39.929 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: GATE-Gate
2023-10-24 11:24:39.929 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: GATE-Door
2023-10-24 11:24:39.930 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Retrieving list of user's temporary keys...
2023-10-24 11:24:40.601 WARNING (MainThread) [custom_components.akuvox] ๐Ÿคจ Response: {'code': 1, 'msg': "You don't have operate permission", 'externalErrorObj': []}
2023-10-24 11:24:40.602 ERROR (MainThread) [custom_components.akuvox] โŒ Unable to retrieve user's device list'.
2023-10-24 11:24:40.603 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Requesting server list...
2023-10-24 11:24:40.942 DEBUG (MainThread) [custom_components.akuvox] โœ… Server list retrieved successfully
2023-10-24 11:24:40.942 DEBUG (MainThread) [custom_components.akuvox] parse_sms_login_response = {'access_server': '52.57.115.41:8501', 'access_server_ipv6': '[2a05:d014:d93:e211:bf00:d88b:2f78:6b06]:8501', 'pbx_server': 'pbx1.ecloud.akuvox.com:5070', 'pbx_server_ipv6': '[2a05:d014:d93:e211:8269:a8c3:4ded:8436]:5070', 'platform_ver': '6600', 'rest_server': 'ecloud.akuvox.com:8080', 'rest_server_https': 'ecloud.akuvox.com:8443', 'rest_server_https_ipv6': '[2a05:d014:d93:e211:8269:a8c3:4ded:8436]:8443', 'rest_server_ipv6': '[2a05:d014:d93:e211:8269:a8c3:4ded:8436]:8080', 'smarthome_site': 'ecloud.akubela.com', 'token': 'TOKEN', 'vrtsp_server': 'rtspsrv1.ecloud.akuvox.com:8601', 'vrtsp_server_ipv6': '[2a05:d014:d93:e211:bf00:d88b:2f78:6b06]:8601', 'web_server': 'ecloud.akuvox.com', 'web_server_ipv6': '[2a05:d014:d93:e211:8269:a8c3:4ded:8436]'}
2023-10-24 11:24:40.942 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Retrieving list of user's devices...
2023-10-24 11:24:41.332 DEBUG (MainThread) [custom_components.akuvox] โœ… User's device list retrieved successfully
2023-10-24 11:24:41.332 DEBUG (MainThread) [custom_components.akuvox] ๐ŸŽฅ Camera parsed: Gf Screen
2023-10-24 11:24:41.332 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: Gf Screen-Relay1
2023-10-24 11:24:41.332 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: Gf Screen-Relay2
2023-10-24 11:24:41.332 DEBUG (MainThread) [custom_components.akuvox] ๐ŸŽฅ Camera parsed: L1 Screen
2023-10-24 11:24:41.332 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: L1 Screen-Relay1
2023-10-24 11:24:41.332 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: L1 Screen-Relay2
2023-10-24 11:24:41.333 DEBUG (MainThread) [custom_components.akuvox] ๐ŸŽฅ Camera parsed: GATE
2023-10-24 11:24:41.333 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: GATE-Gate
2023-10-24 11:24:41.333 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: GATE-Door
2023-10-24 11:24:41.333 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Retrieving list of user's temporary keys...
2023-10-24 11:24:41.740 WARNING (MainThread) [custom_components.akuvox] ๐Ÿคจ Response: {'code': 1, 'msg': "You don't have operate permission", 'externalErrorObj': []}
2023-10-24 11:24:41.740 ERROR (MainThread) [custom_components.akuvox] โŒ Unable to retrieve user's device list'.
2023-10-24 11:24:41.740 DEBUG (MainThread) [custom_components.akuvox] Finished fetching akuvox data in 1.138 seconds (success: True)
2023-10-24 11:24:41.743 ERROR (MainThread) [homeassistant.components.button] Error while setting up akuvox platform for button
File "/config/custom_components/akuvox/button.py", line 26, in async_setup_entry
2023-10-24 11:24:41.744 ERROR (MainThread) [homeassistant.components.camera] Error while setting up akuvox platform for camera
File "/config/custom_components/akuvox/camera.py", line 22, in async_setup_entry
2023-10-24 11:24:41.746 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up akuvox platform for sensor
File "/config/custom_components/akuvox/sensor.py", line 27, in async_setup_entry
2023-10-24 13:36:49.851 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Requesting server list...
2023-10-24 13:36:50.237 DEBUG (MainThread) [custom_components.akuvox] โœ… Server list retrieved successfully
2023-10-24 13:36:50.237 DEBUG (MainThread) [custom_components.akuvox] parse_sms_login_response = {'access_server': '52.57.115.41:8501', 'access_server_ipv6': '[2a05:d014:d93:e211:bf00:d88b:2f78:6b06]:8501', 'pbx_server': 'pbx1.ecloud.akuvox.com:5070', 'pbx_server_ipv6': '[2a05:d014:d93:e211:8269:a8c3:4ded:8436]:5070', 'platform_ver': '6600', 'rest_server': 'ecloud.akuvox.com:8080', 'rest_server_https': 'ecloud.akuvox.com:8443', 'rest_server_https_ipv6': '[2a05:d014:d93:e211:8269:a8c3:4ded:8436]:8443', 'rest_server_ipv6': '[2a05:d014:d93:e211:8269:a8c3:4ded:8436]:8080', 'smarthome_site': 'ecloud.akubela.com', 'token': 'TOKEN', 'vrtsp_server': 'rtspsrv1.ecloud.akuvox.com:8601', 'vrtsp_server_ipv6': '[2a05:d014:d93:e211:bf00:d88b:2f78:6b06]:8601', 'web_server': 'ecloud.akuvox.com', 'web_server_ipv6': '[2a05:d014:d93:e211:8269:a8c3:4ded:8436]'}
2023-10-24 13:36:50.237 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Retrieving list of user's devices...
2023-10-24 13:36:50.947 DEBUG (MainThread) [custom_components.akuvox] โœ… User's device list retrieved successfully
2023-10-24 13:36:50.947 DEBUG (MainThread) [custom_components.akuvox] ๐ŸŽฅ Camera parsed: Gf Screen
2023-10-24 13:36:50.947 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: Gf Screen-Relay1
2023-10-24 13:36:50.948 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: Gf Screen-Relay2
2023-10-24 13:36:50.948 DEBUG (MainThread) [custom_components.akuvox] ๐ŸŽฅ Camera parsed: L1 Screen
2023-10-24 13:36:50.948 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: L1 Screen-Relay1
2023-10-24 13:36:50.948 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: L1 Screen-Relay2
2023-10-24 13:36:50.948 DEBUG (MainThread) [custom_components.akuvox] ๐ŸŽฅ Camera parsed: GATE
2023-10-24 13:36:50.948 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: GATE-Gate
2023-10-24 13:36:50.948 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: GATE-Door
2023-10-24 13:36:50.948 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Retrieving list of user's temporary keys...
2023-10-24 13:36:51.360 WARNING (MainThread) [custom_components.akuvox] ๐Ÿคจ Response: {'code': 1, 'msg': "You don't have operate permission", 'externalErrorObj': []}
2023-10-24 13:36:51.361 ERROR (MainThread) [custom_components.akuvox] โŒ Unable to retrieve user's device list'.
2023-10-24 13:36:51.361 DEBUG (MainThread) [custom_components.akuvox] Finished fetching akuvox data in 1.510 seconds (success: True)
2023-10-24 13:36:51.366 ERROR (MainThread) [homeassistant.components.camera] Error while setting up akuvox platform for camera
File "/config/custom_components/akuvox/camera.py", line 22, in async_setup_entry
2023-10-24 13:36:51.368 ERROR (MainThread) [homeassistant.components.button] Error while setting up akuvox platform for button
File "/config/custom_components/akuvox/button.py", line 26, in async_setup_entry
2023-10-24 13:36:51.369 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up akuvox platform for sensor
File "/config/custom_components/akuvox/sensor.py", line 27, in async_setup_entry

im guessing its a user permission thing right ?

Hi @jmassih, thanks for supplying the log messages.

I just released a new version, v0.0.4, which I hope fixes the issue.

Can you please upgrade and let me know if itโ€™s working for you?
If you donโ€™t see your devices after upgrading and restarting Home Assistant, you might need to delete the integration from your integrations page and then add it again.

Hello again,
the integration is working now, but relays buttons are missing, im attaching log just in case.

2023-10-24 16:53:58.010 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration akuvox which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-10-24 16:54:08.909 ERROR (MainThread) [homeassistant.components.button] Platform akuvox does not generate unique IDs. ID Gf Screen already exists - ignoring button.gf_screen
2023-10-24 16:54:08.909 ERROR (MainThread) [homeassistant.components.button] Platform akuvox does not generate unique IDs. ID L1 Screen already exists - ignoring button.l1_screen
2023-10-24 16:54:08.909 ERROR (MainThread) [homeassistant.components.button] Platform akuvox does not generate unique IDs. ID GATE already exists - ignoring button.gate
2023-10-24 16:55:46.822 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Requesting server list...
2023-10-24 16:55:46.826 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ”„ Begin polling user's personal door log every 2 seconds..
2023-10-24 16:55:47.224 DEBUG (MainThread) [custom_components.akuvox] โœ… Server list retrieved successfully
2023-10-24 16:55:47.225 DEBUG (MainThread) [custom_components.akuvox] parse_sms_login_response = {
"pbx_server": "pbx1.ecloud.akuvox.com:5070",
"rest_server": "ecloud.akuvox.com:8080",
"rest_server_https": "ecloud.akuvox.com:8443",
"vrtsp_server": "rtspsrv1.ecloud.akuvox.com:8601",
"web_server": "ecloud.akuvox.com",
2023-10-24 16:55:47.225 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Retrieving list of user's devices...
2023-10-24 16:55:47.613 DEBUG (MainThread) [custom_components.akuvox] โœ… User's device list retrieved successfully
2023-10-24 16:55:47.613 DEBUG (MainThread) [custom_components.akuvox] ๐ŸŽฅ Camera parsed: Gf Screen
2023-10-24 16:55:47.613 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: Gf Screen-Relay1
2023-10-24 16:55:47.613 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: Gf Screen-Relay2
2023-10-24 16:55:47.613 DEBUG (MainThread) [custom_components.akuvox] ๐ŸŽฅ Camera parsed: L1 Screen
2023-10-24 16:55:47.613 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: L1 Screen-Relay1
2023-10-24 16:55:47.613 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: L1 Screen-Relay2
2023-10-24 16:55:47.613 DEBUG (MainThread) [custom_components.akuvox] ๐ŸŽฅ Camera parsed: GATE
2023-10-24 16:55:47.613 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: GATE-Gate
2023-10-24 16:55:47.614 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: GATE-Door
2023-10-24 16:55:47.614 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Retrieving list of user's temporary keys...
2023-10-24 16:55:48.063 DEBUG (MainThread) [custom_components.akuvox] โœ… User's temporary keys list retrieved successfully
2023-10-24 16:55:48.064 DEBUG (MainThread) [custom_components.akuvox] Saving user's data to local storage
2023-10-24 16:55:48.070 DEBUG (MainThread) [custom_components.akuvox] Finished fetching akuvox data in 1.249 seconds (success: True)
2023-10-24 16:55:48.074 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox camera 'Gf Screen'
2023-10-24 16:55:48.075 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox camera 'L1 Screen'
2023-10-24 16:55:48.075 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox camera 'GATE'
2023-10-24 16:55:48.079 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init
2023-10-24 16:55:48.079 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'Gf Screen'
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'Gf Screen'
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'L1 Screen'
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'L1 Screen'
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'GATE'
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init
2023-10-24 16:55:48.080 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'GATE'
2023-10-24 16:55:48.081 ERROR (MainThread) [homeassistant.components.button] Platform akuvox does not generate unique IDs. ID Gf Screen already exists - ignoring button.gf_screen
2023-10-24 16:55:48.081 ERROR (MainThread) [homeassistant.components.button] Platform akuvox does not generate unique IDs. ID L1 Screen already exists - ignoring button.l1_screen
2023-10-24 16:55:48.081 ERROR (MainThread) [homeassistant.components.button] Platform akuvox does not generate unique IDs. ID GATE already exists - ignoring button.gate

Hi @jmassih, I released a beta hotfix which I hope fixes your issue. Please install the beta and let me know if the door relay buttons are added.

To see Akuvox beta releases in HACS:

  1. Open the Akuvox integration repository in HACS
  2. Click on the [โ‹ฎ] button in the top right
  3. Select the โ†ป Redownload option
  4. Enable the Show beta versions option
  5. Select version v0.0.5-beta1 from the updated version drop-down list
  6. Restart Home Assistant

Itโ€™s working now. Relays are shown as devices with entities.
I did test one of the relays, and worked as it should.
Thanks a lot.
Are you planning on adding a way to know if someone press the button on the video phone?

Great, happy to hear itโ€™s working for you now.

Yes, I added support for detecting when doors are opened in todayโ€™s release (itโ€™s mentioned in the GitHub readme page), but from my testing I see it only recognises when doors are opened from within the app (which is less helpful). I am working on fixing this issue in an upcoming release.

i see. yeah i saw the readme, goodluck with that.
However Iโ€™m talking about when a visitor press the call button on video phone, it would be helpful if a binary sensor in HA would tell us the state of the button.
Thanks and enjoy your coffee :slight_smile:

Thank you :blush:
I will definitely look into it!

Hi @jmassih, I released a new beta version, v0.0.5-beta2, which should now properly fire a door open event any time a door relay is triggered (you can listen for the event in Home Assistant under the event name: akuvox_door_update).

The akuvox_door_update event contains all the data associated with the door opening event, including:

  • The name of the door and relay.
  • The name of whomever opened the door (either their name if they have an associated accounts, otherwise โ€œvisitorโ€).
  • A URL to an still image from the camera at the time the door was opened.

I think an event that includes all the relevant data is more useful than a binary sensor which would only serve to tell you that the door was opened.

Please try the new version when you get a chance, and let me know if it works for you. :+1:

Will have a look at tomorrow.
However i was asking about the call button on the videophone not the open door button.
Example: if a visitor comes and press the call button on the videophone, is there a way to know from home assistant that somebody pressed the button?

Hi @jmassih. Yes, if the call button is pressed it will also trigger the akuvox_door_update event. In that scenario the Initiator in the eventโ€™s data will be visitor.

I see, so i tried listening to the akuvox_door_update event in the developer tools and triggered a relay button press but nothing came out, i tried to listening to * to see which events are being fired, only call_service and state_changed are being called. i will do further testing tomorrow.

The events fired are only the ones that appear in the Activities tab in the SmartPlus app.

yeah i can see the activities in the app, specifically the one i tried which is a gate unlock.
but couldnโ€™t find anything related to akuvox_door_update

If the gate unlock event appears in the Activities tab of the SmartPlus app then it should have fired the akuvox_door_update event in Home Assistant.
Can you please enable debug logging and report back what happens when you unlock the gate?

"pbx_server": "pbx1.ecloud.akuvox.com:5070",

"rest_server": "ecloud.akuvox.com:8080",

"rest_server_https": "ecloud.akuvox.com:8443",

"vrtsp_server": "rtspsrv1.ecloud.akuvox.com:8601",

"web_server": "ecloud.akuvox.com",

2023-10-26 10:07:26.643 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Retrieving list of user's devices...

2023-10-26 10:07:27.030 DEBUG (MainThread) [custom_components.akuvox] โœ… User's device list retrieved successfully

2023-10-26 10:07:27.030 DEBUG (MainThread) [custom_components.akuvox] ๐ŸŽฅ Camera parsed: Gf Screen

2023-10-26 10:07:27.031 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: Gf Screen-Relay1

2023-10-26 10:07:27.031 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: Gf Screen-Relay2

2023-10-26 10:07:27.031 DEBUG (MainThread) [custom_components.akuvox] ๐ŸŽฅ Camera parsed: L1 Screen

2023-10-26 10:07:27.031 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: L1 Screen-Relay1

2023-10-26 10:07:27.031 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: L1 Screen-Relay2

2023-10-26 10:07:27.031 DEBUG (MainThread) [custom_components.akuvox] ๐ŸŽฅ Camera parsed: GATE

2023-10-26 10:07:27.031 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: GATE-Gate

2023-10-26 10:07:27.031 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿšช Door relay parsed: GATE-Door

2023-10-26 10:07:27.031 DEBUG (MainThread) [custom_components.akuvox] ๐Ÿ“ก Retrieving list of user's temporary keys...

2023-10-26 10:07:27.451 DEBUG (MainThread) [custom_components.akuvox] โœ… User's temporary keys list retrieved successfully

2023-10-26 10:07:27.451 DEBUG (MainThread) [custom_components.akuvox] Saving user's data to local storage

2023-10-26 10:07:27.457 DEBUG (MainThread) [custom_components.akuvox] Finished fetching akuvox data in 1.145 seconds (success: True)

2023-10-26 10:07:27.461 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init

2023-10-26 10:07:27.461 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init

2023-10-26 10:07:27.461 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'Gf Screen, 0'

2023-10-26 10:07:27.461 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init

2023-10-26 10:07:27.462 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init

2023-10-26 10:07:27.462 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'Gf Screen, 1'

2023-10-26 10:07:27.462 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init

2023-10-26 10:07:27.462 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init

2023-10-26 10:07:27.462 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'L1 Screen, 0'

2023-10-26 10:07:27.462 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init

2023-10-26 10:07:27.462 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init

2023-10-26 10:07:27.462 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'L1 Screen, 1'

2023-10-26 10:07:27.462 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init

2023-10-26 10:07:27.462 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init

2023-10-26 10:07:27.463 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'GATE, 0'

2023-10-26 10:07:27.463 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init

2023-10-26 10:07:27.463 DEBUG (MainThread) [custom_components.akuvox] In AkuvoxEntity init

2023-10-26 10:07:27.463 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox door relay 'GATE, 1'

2023-10-26 10:07:27.464 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox camera 'Gf Screen'

2023-10-26 10:07:27.465 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox camera 'L1 Screen'

2023-10-26 10:07:27.465 DEBUG (MainThread) [custom_components.akuvox] Adding Akuvox camera 'GATE'

File "/config/custom_components/akuvox/api.py", line 545, in _api_wrapper

File "/config/custom_components/akuvox/api.py", line 543, in _api_wrapper

File "/config/custom_components/akuvox/api.py", line 494, in async_retrieve_personal_door_log

File "/config/custom_components/akuvox/api.py", line 521, in async_get_personal_door_log

File "/config/custom_components/akuvox/api.py", line 549, in _api_wrapper

raise AkuvoxApiClientCommunicationError(

custom_components.akuvox.api.AkuvoxApiClientCommunicationError: Timeout error fetching information

File "/config/custom_components/akuvox/api.py", line 545, in _api_wrapper

File "/config/custom_components/akuvox/api.py", line 543, in _api_wrapper

File "/config/custom_components/akuvox/api.py", line 494, in async_retrieve_personal_door_log

File "/config/custom_components/akuvox/api.py", line 521, in async_get_personal_door_log

File "/config/custom_components/akuvox/api.py", line 549, in _api_wrapper

raise AkuvoxApiClientCommunicationError(

custom_components.akuvox.api.AkuvoxApiClientCommunicationError: Timeout error fetching information

File "/config/custom_components/akuvox/api.py", line 545, in _api_wrapper

File "/config/custom_components/akuvox/api.py", line 543, in _api_wrapper

File "/config/custom_components/akuvox/api.py", line 494, in async_retrieve_personal_door_log

File "/config/custom_components/akuvox/api.py", line 521, in async_get_personal_door_log

File "/config/custom_components/akuvox/api.py", line 549, in _api_wrapper

raise AkuvoxApiClientCommunicationError(

custom_components.akuvox.api.AkuvoxApiClientCommunicationError: Timeout error fetching information

2023-10-26 12:33:12.859 DEBUG (SyncWorker_5) [custom_components.akuvox] ๐Ÿ“ก Sending request to open door 'GATE, 0'...

2023-10-26 12:33:12.860 DEBUG (SyncWorker_5) [custom_components.akuvox] Request data = mac=0C11051C3663&relay=0

2023-10-26 12:33:13.280 DEBUG (SyncWorker_5) [custom_components.akuvox] โœ… Door open request sent successfully.

2023-10-26 12:33:20.300 DEBUG (SyncWorker_8) [custom_components.akuvox] ๐Ÿ“ก Sending request to open door 'GATE, 0'...

2023-10-26 12:33:20.300 DEBUG (SyncWorker_8) [custom_components.akuvox] Request data = mac=0C11051C3663&relay=0

2023-10-26 12:33:20.676 DEBUG (SyncWorker_8) [custom_components.akuvox] โœ… Door open request sent successfully.

2023-10-26 12:33:24.386 DEBUG (SyncWorker_0) [custom_components.akuvox] ๐Ÿ“ก Sending request to open door 'GATE, 0'...

2023-10-26 12:33:24.386 DEBUG (SyncWorker_0) [custom_components.akuvox] Request data = mac=0C11051C3663&relay=0

2023-10-26 12:33:24.772 DEBUG (SyncWorker_0) [custom_components.akuvox] โœ… Door open request sent successfully.

pressed the button three times, let me know if you need anything else