BiAmp Nexia Control

I am trying to find out if there is a way to use Home Assistant running on Hass.io to control a BiAmp Nexia setup via telnet. what I am finding out there is very limited access to what you can do with telnet with hassio. Does anyone know of a way to get the commands sent to the BiAmp system? Is there any basic matrix style templates out there for audio matrix controls that I can modify to work with a telnet handler?

Thank you

Got this working just using basic shell commands with scripts to execute them. Still working on the response side but seems to be very responsive so maybe it is not needed.

Here is a sample shell command for the telnet service
m4_vol_down: ‘echo “DEC 3 FDRLVL 9 4 5” | nc 23’

Commands are from BiAmp calculator which you just plug in the IDs and it shoots out the command.

Hey @1MRB

I am working on trying to control a Audia Flex output volume and routing.
Are you able to elaborate on how to implement these commands into Hass.io?
I’ve got the string generated and have been able to issue the telnet commands and control through command prompt from the machine, but integrating the shell commands and and scripts is a little past me. Thanks

You just setup scripts and shell commands of everything you want to execute.

This consists of two yaml files I created called shell.yaml and scrpits.yaml in the config folder.

sample shell command (shell.yaml):
z1_vol_up: 'echo "INCD 1 FDRLVL 51 1 5" | nc 192.168.0.21 23'

sample script to execute shell (scripts.yaml):

z1_vol_up:
    alias: Zone 1 Volume Increase
  sequence:
    - service: shell_command.z1_vol_up

sample code of lovelace.yaml (creates the buttons on lovelace)

              - type: "custom:button-card"
                color_off: rgb(153, 204, 255)
                color_type: card
                icon: mdi:volume-plus
                action: toggle
                entity: script.z1_vol_up
                name: Volume Up
                style:
                  - font-size: 12px

The Audia Flex is significantly slower to respond than the Nexia devices and I have seen delays in the commands being executed.

Thanks for the reply years after posting!

I managed to get this to work finally, but I had to add the shell command to the configuration.yaml file.
Adding the command to the shell.yaml file and executing the script would result in an error and the shell command would not execute.
The moment I moved the shell command to the configuration.yaml file, it worked first try.

Thank you again.

add this to your configuration.yaml

script: !include scripts.yaml
shell_command: !include shell.yaml

I just want to thank you all on this thread for posting this. For both the nostalgia of my career and flexibility, I’m considering a Nexia PM for a whole home audio solution and I’m not wanting to use a proper AV control system- that said I am trying to find a RED-1 controller because the iPod style control interface might be fun. :slight_smile: cheers!