REST API

Most of the radios I own, I have controlled and added new features as needed, generally on my PC. I would like this to be possible on my KIWI, for example, by adding an AI-based modulation classifier that runs on my PC, which would also scan the spectrum and perform tasking as well as databasing.

At the least, I would like to be able to tune the radio and get back spectra or audio captures.

Comments

  • jksjks
    edited April 19

    Are you asking if there is a JSON control API for the Kiwi? There isn't, but probably should be. Some AJAX responses are in JSON. And I've been trying to move in that direction as they are added.

    There is a control API between the server and the browser Javascript. But its structure is cmd param=val based and was never intended to be publicly visible. This of course didn't last (the non-public part) and a Python package called kiwiclient emerged using the control API to allow programatic Kiwi control. It was for doing things like recording audio to .wav files and quickly expanded to do much more.

    So one option is for you to extract the Kiwi API by looking at that code. Or add to the base classes if you don't working in Python since they also show how to deal with the audio and waterfall streams etc.

    I'd love to see a modulation classifier. Especially for digital modes.

Sign In or Register to comment.