Local Akuvox intercom control

I'll also note since you just mentioned LCM. You shouldn't be trying to manage the same device with both LCM and Keymaster! They are sibling projects and the Akuvox provider is almost identical though the one in Keymaster has a few more updates to it.

Also, LCM and Keymaster manage the codes in Akuvox with a different virtual slot prefix [KM:N] for Keymaster and [LM:N] (or is it [LCM:N]) for LCM.

I didn't realize there was a difference. I'm only using LCM and it's not giving the schedule of 1001. It's fine. I only need it to control one relay.

I haven't tested LCM with the Akuvox bits at all. What I do know is that they were picked up from when I got it added to Keymaster. So, it should be creating the keycodes with schedule 1001. While LCM and Keymaster differ in how they operate, the basic functionality is essentially the same between the two of them (the maintainer of LCM is also a maintainer of Keymaster)

I got it working with keymaster

1 Like

Hi all, great thread! Hoping someone can help with a specific IT83 indoor monitor scenario.

Device: Akuvox IT83 Indoor Monitor
Firmware: 83.30.10.4

I have a working local relay (Relay 1) connected and triggering correctly from the device touchscreen. My goal is to trigger it from Home Assistant via the local HTTP API.

The system/info endpoint works fine, confirming API and auth are functioning:

GET /api/system/info → {"retcode": 0, "action": "info", "message": "OK", ...}

But every relay endpoint I've tried returns No handlers for this request:

GET /api/relay/trig?mode=0&num=1&level=1&delay=5  → No handlers
GET /api/relay/get                                 → No handlers
GET /api/relay/status                              → No handlers
GET /fcgi/OpenDoor?action=OpenDoor&DoorNum=1       → 401 (even with credentials)
GET /fcgi/do?action=OpenDoor&UserName=...          → 500

It seems the IT83 firmware simply doesn't implement the /api/relay/ endpoints that door phones like the R29 support. I noticed @tykeal mentioned having an IT83 in the test lab — has anyone found a working HTTP endpoint for triggering the local relay on an IT83, or is this a known firmware limitation?

I've also raised a GitHub issue on the Local Akuvox repo. Any help appreciated!

@madlock1984 I don't have access to an IT83. The indoor monitor I have in my test lab is an S562. It doesn't have any relays on it at all.

Is the relay that you're controlling actually on the monitor or on a separate access control device?

Hey, thanks for the reply!

Yeah the relay is actually on the IT83 itself, it has physical NO/NC/COM terminals on the back of the unit and i have my door lock wired directly to those. So its completely self contained on the monitor.

It works great, i can trigger it from the touchscreen during a call. I just want Home Assistant to be able to trigger that same relay via HTTP. Ive tried all the /api/relay/ endpoints but they all return No handlers for this request. Only /api/system/info actually responds with anything useful.

Just replied on the GitHub issue too with the same clarification. Is there any chance someone with an IT83 specifically has come across a working endpoint for this?

someone sip running on the door ?

@Faecon I believe @slimak has done something with SIP on the device (see earlier discussion) no specific writeup of the configuration though.

I confirm that I have a fully functional Asterisk configuration, for a scenario where I can answer Akuvox E12S with my phone and there's no permanent internal monitor. I'd be happy to help if I can (I'm not at all familiar with SIP; just changed a few things and it works as I wanted :wink: ).

I am about to buy Akuvox E12W. Will this integration work?

Here are the models that are known to work:

That being said, you can install the integration and there is a way to run validation tests that will produce information needed to officially support an unknown device.

In particular, running the local_akuvox.run_capability_report is the most thorough method to make sure that the device can be fully managed. Otherwise, sending just the diagnostic will help get the majority of the shape for me. The report is the best method though as it will test “destructive” APIs as well (that is adding and removing codes, triggering the relay, etc)

Hi slimak, can you help me with the 2 way audio ? I cant get it working…

And what do you have installed: an add-on (app), an integration, anything else?

I was using go2rtc/webrtc. but that does not work. so probably I have to use SIP ?

Yes, sadly Akuvox’ audio only works via SIP. I don’t remember very well what exactly I did but I will try.

  1. I have this add-on (app), which is an Asterisk server: GitHub - TECH7Fox/asterisk-hass-addons: Asterisk add-on for Home Assistant · GitHub
Addon UI config
ami_password: *****
auto_add: true
auto_add_secret: ***
video_support: false
register_ingress_entry: false
generate_ssl_cert: false
certfile: fullchain.pem
keyfile: privkey.pem
additional_sounds: []
mailbox: false
mailbox_port: 12345
mailbox_password: "123"
mailbox_extension: "100"
mailbox_google_api_key: ""
log_level: info

AMI password is like a main password, the auto_add_secret is the SIP password for all auto-generated SIP users (each HA user = auto-generated SIP user)

A secure WSS connection - meaning one that uses a certificate - is required. If you already have a certificate in your Home Assistant instance, simply provide the filenames (as shown in my configuration: fullchain.pem, privkey.pem); otherwise, select the option for the add-on to generate a certificate for you. I also don’t know what the consequences or differences are when using a certificate generated by an add-on.

Addon files

I no longer recall what the items in the Asterisk files signify. However, based on the modification dates, I can see which files I changed - so here they are.

  • /addon_configs/3e533915_asterisk/asterisk/custom/pjsip_custom.conf
; Place your custom extensions here
[8000]
type = endpoint
context = default
disallow = all
allow = alaw,ulaw          ; Audio codecs
allow=h264                 ; Video codecs
direct_media_method=invite
dtmf_mode=info
callerid="Akuvox" <8000>
force_rport=no
aors= 8000
auth = auth8000

[8000]
type = aor
max_contacts = 1

[auth8000]
type=auth
auth_type=userpass
password=***        ; password for Akuvox SIP user 8000
username=8000
  • /addon_configs/3e533915_asterisk/asterisk/default/res_parking.conf
; Note: this file has been modified from the Asterisk defaults for the add-on

[default]
parkext => 700
parkpos => 701-703
context => parkedcalls
parkingtime => 60
comebacktoorigin = no
comebackcontext = parkedcallstimeout
parkedmusicclass = default
  • /addon_configs/3e533915_asterisk/asterisk/default/extensions.conf
; Note: this file has been modified from the Asterisk defaults for the add-on

[general]
static=yes

[default]
include => parkedcalls
;
exten => 444,1,Park(,s)
;
exten => 555,1,ParkedCall(default,701)
;
exten => _X!,1,Dial(${PJSIP_DIAL_CONTACTS(${EXTEN})})

[parkedcallstimeout]
exten => s,1,Hangup()

  1. This integration from the same author: GitHub - TECH7Fox/asterisk-hass-integration: Asterisk integration for Home Assistant · GitHub
    I don’t recall having to do anything other than the installation itself. I might have entered an AMI password.
  2. This last integration, which adds UI card(s) for making calls. I think it also generates SIP users from HA users: GitHub - TECH7Fox/sipcore-hass-integration: A SIP client inside home assistant! · GitHub
sipcore config
auto_answer: true
backup_user:
  extension: "101"
  ha_username: zdalny1
  password: ***
custom_wss_url: wss://homeassistant.your-domain.com:8089/ws
ice_config:
  iceCandidatePoolSize: 0
  iceGatheringTimeout: 1000
  iceServers:
    - urls:
        - stun:stun.l.google.com:19302
  iceTransportPolicy: all
  rtcpMuxPolicy: require
incomingRingtoneUrl: /sip_core_files/ring-tone.mp3
outgoingRingtoneUrl: /sip_core_files/ringback-tone.mp3
popup_config:
  auto_open: false
  buttons:
    - data:
        domain: switch
        entity_id: switch.esp01s_2_esp01s_2_channel
        service: turn_on
      icon: mdi:door-open
      label: Otwórz
      type: service_call
  extensions:
    "8000":
      camera_entity: camera.akuvox_12s_generic
      name: Doorbell
  hide_header_button: true
  large: false
sip_video: false
users:
  - extension: "100"
    ha_username: Maciej
    password: ***
  - extension: "101"
    ha_username: zdalny1
    password: ***
  - extension: "102"
    ha_username: Maciej (iphone)
    password: ***
  - extension: "103"
    ha_username: lenowo_tab
    password: ***

User configuration is important, and the passwords must match those on the Asterisk server. The “backup user” exists to alert you that something is misconfigured - it will be used instead of the correct user account that should be assigned to a given device.

I don’t use the cards provided by this integration for making calls (I created my own card), but they do work and are fully functional. You probably want to set hide_header_button: false to actually see the UI features.

custom_wss_url is the address of your HA - the same as you’ll put into Akuvox intercom configuration below.

  1. Akuvox config
Akuvox config


Be sure to also check out this guide, created by the person behind all these stuff: Tutorial | SIP-HASS Project

1 Like