This is a fantastic product. Amazing features and value for money.
I am writing some custom code to control these devices with a Crestron system. I am using the BETA firmware so wondering if there is a any changes in the API document?
Also, I would like to be able to use the UART connections for serial control but I cannot see any documents for the protocols/API. Can you please post that information?
I also have been able to connect to TCP/IP port 8899 which I think is the same as the UART connection as I can get track info from Spotify and player status changes without having to open the connection each time and ask for status. The connection stays open all the time which is great. Can you please post the API docs for communications on port 8899.
get current bt connection state, or reconnect/disconnect current device. only available in BT mode and device with no external bt module. Control will have no return
{name} hexed string with UTF8 encoding eg: 536F756E6453797374656D5F39383235 = SoundSystem_9825
set/get current device name. Remains after factory reset
ETH
3
ETH:{onoff}
{onoff} 0/1
get ethernet state
WIF
3
WIF:{onoff}
{onoff} 0/1
get wifi state
PMT[:{onoff}]
4
PMT:{onoff}
{onoff} 0/1
set/get current prompt voice state, enabled or disabled. Remains after factory reset
PRG[:{onoff}]
4
PRG:{onoff}
{onoff} 0/1
set/get pregain before tone, enabled or disabled
DLY[:{mute_delay}]
4
DLY:{mute_delay}
{mute_delay} 1~60
set/get delay time before system output control, default 30
MXV[:{max_vol}]
4
MXV:{max_vol}
{max_volume} 30~100
set/get system max volume. Remains after factory reset
ASW[:{auto_swith}]
4
ASW:{auto_switch}
{auto_switch} 0/1
enable/disable the auto switch to previous source after playback stopped (network)
POM[:{source}]
4
POM:{source}
{source} system source
set the input mode when power on, NONE for keeping last source.
ZON:{zone}:{msg}
4
related to {msg} sent
{zone} zone index, or use ALL to all zones {msg} detailed API message
send API message to specified zone, and will reply with the response message only available on model M400, zone index can be set by 7 PINs on right side
Thanks, this is just what I was looking for!
I’ve not been able to find the Baud settings, I’ve been trying common different combinations but not been able to connect yet.
Anyone have them to hand?
I’m part way there, as I see all the Amp settings displayed in my session (Minicom/screen) as the Amp powers up and transmits is’t initial settings, however, I’m not able to transmit anything back to the amp.
I assume I should see the keystrokes echo back in my connection session as I type them? (I currently don’t)
I see the transmit LED on the FTDI blink as I press keystrokes, but nothing on the screen or a response from the amp.
I’ll try some additional troubleshooting, to confirm my setup and comment back here. I’m hoping my learnings here will be useful to someone in the future
The UART is used as an API, not a shell, so no echo feedback. And for each command, it is supposed to end with ; for example, to set volume to 50, you need to send VOL:50;
Thanks @zpl1025 I have it working now!
I must have got the syntax wrong like included a space when I tried the commands in the past, but with no response I thought I’d wired it wrong.
Either way, this gives me just what I was looking for and hopefully with a Raspberry Pico and two multiplexers I’ll be able to control 3 Amps via 1 UART.
Do you mean UART through Serial Connection or UART Passthrough using TCP/IP ?
FYI I am contributing to the API Documentation and we have done HTTPAPI, TCP-UART Passthrough (not published yet). I am working on UPnP/DLNA and the last one with be UART over Serial.
@zpl1025 How do you wake up the system from standby via Serial, or is that not possible? I see SYS:STANDBY, but no equivalent to turn the system back on.