Balance control via API

noise

Member
Joined
Dec 21, 2023
Messages
21
Is it possible to control balance via the API? I would like to adjust it dynamically depending on the sitting position detected via a mmwave sensor.
 
Given it’s relatively new, I‘d be surprised if the API documentation has been updated with that info. Is there a way you could perhaps trace the info from interacting via the app?
 
Super late reply, but I recently bought some WiiM Amps and wanted to automate balance control. I was able to intercept the endpoints, so hopefully this helps someone in the future!
  • Get left/right channel balance
    • Command: getChannelBalance
    • Args: None
    • Example: https://192.168.1.100/httpapi.asp?command=getChannelBalance
    • Output example: 0.0
    • Observations:
      • The value will be a number ranging from -1.0 (fully panned left) to 1.0 (fully panned right).
  • Set left/right channel balance
    • Command: setChannelBalance
    • Args: CHANNEL_BALANCE: -1.0 to 1.0 (decimal is optional)
    • Example: https://192.168.1.100/httpapi.asp?command=setChannelBalance:0
    • Output:
      • Success: OK
      • Error: Failed
 
Back
Top