NovaSDR is uploaded to the github, it's updated Phantom at the moment. Keep this in mind.

Change of ITU region

Started by R3MAV, 03 Dec 2025, 09:23

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

R3MAV

Hello everyone! Could you tell me how and where to change the ITU region?
The condition from BandMenu.svelte does not work for region 1


Phil-NY4Q

#1
What I found was no matter what you did, the ITU region was stuck on region 1. To allow my frequency range to match the bands in ITU region 2, I had to edit the file : /NovaSDR/frontend/src/components/BandsMenu.svelte

And change the following code from return 1 to return 2
  // Get ITU region from server location
  function getRegionFromLocation() {
    const coords = maidenheadToCoords($serverInfo.location);
    console.log(coords)
    if (!coords) return 2; // Default to Region 1
    return getITURegion(coords.lat, coords.lon);
  }

Now to answer your question, I cannot because the system should be defaulting to region 1. What are you seeing that is not matching region 1?

Phil

Phil-NY4Q

Ok, I see your screenshot showing the 2 meter VHF section. You can edit the file : /NovaSDR/frontend/src/waterfall.js and
change the following code :

From :
        { name: '2M HAM', startFreq: 144000000, endFreq: 148000000, color: 'rgba(50, 168, 72, 0.6)',
          modes: [
            { mode: MODES.CW, startFreq: 144000000, endFreq: 144100000 },
            { mode: MODES.USB, startFreq: 144100000, endFreq: 144300000 },
            { mode: MODES.FM, startFreq: 144300000, endFreq: 148000000 }
          ] },

To:
        { name: '2M HAM', startFreq: 144000000, endFreq: 146000000, color: 'rgba(50, 168, 72, 0.6)',
          modes: [
            { mode: MODES.CW, startFreq: 144000000, endFreq: 144100000 },
            { mode: MODES.USB, startFreq: 144150000, endFreq: 144500000 },
            { mode: MODES.FM, startFreq: 144975000, endFreq: 146000000 }
          ] },

Then recompile the frontend and see if that fixes it.

R3MAV

Phil, thank you so much! That definitely helped. It looks great now.

Powered by EzPortal