WebSocket messages

What message is used to set frequency from the front-end settings page over websocket? It should set frequency much faster than by updating a JSON settings file. There are too many messages flying to find one by myself and it would take ages for me to dig through the code. Could you elaborate please?

P.S. Is there another way to set frequency or other settings except for websocket and editing the settings file?

Hi, do you want to emulate the webui under (krakenip:8080) or what exactly is your goal?

I had a look at the websocket in the webui, the python framework used for the UI makes quite complicated calls (as you already mentioned) so i would not use that for some external script, also because it could change in future software versions.

The main way to set new settings is editing the settings json file (if not using the webui on the kraken), you can do this by hand or use some kind of script. If you change settings in the cloud mapper (map.krakenrf.com) we internally also edit the settings file to update the settings.

regards,
Manuel

1 Like

@krakenrf_manuel
The problem with editing the settings file is that it takes time for the device to catch up with all the settings and always requires recalibration. On the other hand, changing the frequency from the front end changes the frequency only and does not require the device to re-apply all the settings. Moreover, you can avoid recalibration, which is also a time-saver (please correct me if I am wrong)

Changing the frequency will require recalibration no matter if it goes through the API or not.

The only frequency change that doesn’t require recalibration is if you just move the VFO.