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 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 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!
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?
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 ).
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)
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.
; 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
; 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()
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.