NovaSDR Support Forum

General Category => General Discussion => Topic started by: R3MAV on 03 Dec 2025, 09:23

Title: Change of ITU region
Post by: R3MAV on 03 Dec 2025, 09:23
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

(https://i.ibb.co/xqLgXcZs/2025-12-04-16-54-46.png) (https://ibb.co/ZzXgGw9J)
Title: Re: Change of ITU region
Post by: Phil-NY4Q on 14 Dec 2025, 12:02
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
Title: Re: Change of ITU region
Post by: Phil-NY4Q on 14 Dec 2025, 12:09
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.
Title: Re: Change of ITU region
Post by: R3MAV on 19 Dec 2025, 08:00
Phil, thank you so much! That definitely helped. It looks great now.