Frequency can not be set without a browser tab with Kraken settings interface

Previously, I could set frequency simply by editing a settings.json file (center_freq and vfo_freq_0 etc.) in the editor (like nano). I could connect to the station using ssh, and update the config, and once the file was changed - the Kraken software would update the frequency automatically. Now, I have noticed that this approach works only if there is an open browser tab with the black Kraken app interface on port 8080. Once I open it, it catches the previously updated settings.json file and applies the changes as well as applies automatically all the next changes done to the settings.json.

I’ve built a custom client to the KrakenSDR that reads DOA and can set frequency and other parameters simply by updating the settings.json file and now not it does not work properly. Presumably, someone has moved crucial settings-applying logic to the web page instead of keeping it in the Linux service that runs in the background.

How to replicate:
0. Close all the tabs with the black Kraken settings web page

  1. Open http://<kraken_ip>:8081/DOA_value.html file, check the frequency
  2. Connect to the Raspberry using SSH, and edit the config file:
    nano ~/krakensdr_doa/krakensdr_doa/settings.json
  3. Update the center_freq and vfo_freq_0 frequencies (it should be enough)
  4. Save the changes, and refresh DOA_value web page. You’ll notice that the frequency in DOA_value has not changed
  5. Open a Kraken black settings web page in a separate tab
  6. Refresh DOA_value, the frequency should change now
  7. Repeat everything with the black tab open, you’ll notice that frequency changes properly


@krakenrf_carl @dubrsl

Agree. It’s problem.
Another problem: when settings.json exist, kraken can’t start work (DAQ Subsystem Status in red) and can’t save configuration: show wrong value in VFO-1 Frequency.