- Install mitmproxy
- Run
mitmweb --ssl-insecurefrom a terminal - Configure Android to use the proxy:
- Settings
- Network & Internet
- Internet
- Settings cog (beside WiFi network name)
- Pencil (in the top right)
- Open "Advanced options"
- Change "Proxy" to "Manual"
- Set "Proxy hostname" to the proxy IP address
- Set "Proxy port" to 8080
- Filter HTTP requests by searching for "command=".
- Open the WiiM Home app and start clicking various options in the app. The respective HTTP requests will appear in the HTTP interceptor.

- When done, don't forget to change "Proxy" back to "None"
- Android device (emulators can be used)
- WiiM Home app
- HTTP Toolkit PRO - installed on both the Android device and a PC
- You need the PRO version in order to allow trusting the self-signed SSL certificate on the WiiM device.
- The non-PRO version can be used to see the what requests the app makes, but they won't be forwarded to the device.
- Make sure the WiiM device is set up in the application
- In HTTP Toolkit on the PC, navigate to Settings -> HOST HTTPS WHITELIST -> Add the IP address of the WiiM device

- Start the HTTP Toolkit with the Android device (via ADB or QR code)
- Filter HTTP requests using the "command=" string.
- Open the WiiM Home app and start clicking various options in the app. The respective HTTP requests will appear in the HTTP interceptor.
