Without any public API available I found an awesome post by Benjamin Hanke documenting his journey on reverse engineering the basic controls for controlling this device. It would be possible to accomplish this by enabling tcpdump on any selected device and downloading the file using task manager on RMS and issuing uci commands.I recently purchased some Libratone Zipp Mini speakers that were on offer and wanted a way to control these through Home Assistant. As an example, I'm leaving a brief reply regarding the configuration of this case. Please note that tcpdump can fill up router RAM very quickly if there is a lot of traffic and it may slow down the device to a crawl if left unchecked - make sure that the tcpdump runs only for as long as it needs to, otherwise disable the service and remove the file (or reboot the router) after downloading it on RMS. I'll include this step (command) in the example.
Note: If tcpdump package is installed/exists on the device, skip step 0.Ġ. If tcpdump package is not installed on the device, please install it via package manager by navigating to Services>Package Manager and adding the package.Īlternatively, the package can be installed via CLI by issuing the following commands: We're gonna create 2 task groups - one for enabling the tcpdump service and one for disabling the service, downloading the file and then removing itġ. Login to the RMS, make sure the required device is online, then go to " Devices" on the sidebar, select " Management>Task Manager" and click on " Add new task group". Copy and paste these commands in the command field. I'm including every available option using the uci commands, modify or remove some of them as needed.
Deselect the "Stop task group on failure" option and save the task group.Ģ. WIRESHARK PCAP DOWNLOADĬreate a second task group, this one will disable the tcpdump service, then download the file and then it will delete the. Pcap file to make sure it doesn't take up all the space on the device.Ģ.1 First task type is " Command", it will disable the tpcdump logging. Uci set _dump='0' & uci commit & /etc/init.d/tcpdebug reload Leave the timeout setting as is if it doesn't take more than 10 seconds to execute the command. Deselect the "Stop task group on failure" option.Ģ.2 Next, click on " Add additional task". For the file path field, enter the following:ĭeselect the "Stop task group on failure" option.Ģ.3 Click on "Add additional task" again, this time it will be the " Command" type. Enter the following command to make sure. pcap file gets removed after it is downloaded via RMS:ĭeselect the "Stop task group on failure" option.
When everything is done, save the task group. Note: naturally, due to how many settings and variables are being used here, some of them can and should be modified according to circumstances.