Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add azimuth, elevation and antenna information #979

Merged
merged 86 commits into from Dec 6, 2023

Conversation

aanon4
Copy link
Contributor

@aanon4 aanon4 commented Nov 21, 2023

It's a long requested feature to add the azimuth information. This is useful when setting up nodes and working out which current nodes are pointing towards you. But without the beamwidth information that didn't seem as useful as it could be. Rather than forcing people to enter that, instead encode it with each radio which has built-in antennas, and allow selection from a database of external antennas.

Note. Many more antennas to add still.

#943

Copy link

Orv commented Nov 21, 2023

What format do you need antenna information in?

@aanon4
Copy link
Contributor Author

aanon4 commented Nov 22, 2023

Antenna information looks like this:

{
          "model": "AM-9M13-120",
          "description": "airMAX 900 MHz, 13 dBi, 120° Sector",
          "gain": 13,
          "beamwidth": 120
}

For external antennas, it lives in the /etc/antennas.json file. For builtin antennas, it lives in the /etc/radios.json file. For example:

"mikrotik hap ac2": {
    "wlan0": {
      "maxpower": 27,
      "bandwidths": [ 5, 10, 20 ],
      "antenna": {
        "description": "2.5 dBi Omni",
        "gain": 2.5,
        "beamwidth": 360
      }
    },
    "wlan1": {
      "maxpower": 26,
      "bandwidths": [ 10, 20 ],
      "antenna": {
        "description": "2.5 dBi Omni",
        "gain": 2.5,
        "beamwidth": 360
      }
    }
  }

@Orv
Copy link

Orv commented Nov 22, 2023

KP Performance dish. Performance info for use on 2, 3 and 5 GHz

{
"model": "UB24EWIFIDBI",
"description": "KP Performance Antennas Dish@2GHz",
"gain": 19,
"beamwidth": 12
}

{
"model": "UB24EWIFIDBI",
"description": "KP Performance Antennas Dish@3GHz",
"gain": 21,
"beamwidth": 9
}

{
"model": "UB24EWIFIDBI",
"description": "KP Performance Antennas Dish@5GHz",
"gain": 25,
"beamwidth": 6
}

@aanon4
Copy link
Contributor Author

aanon4 commented Nov 22, 2023

@Orv Added.

@Orv
Copy link

Orv commented Nov 22, 2023

{
"model": AS24G17B90MS-KU",
"description": "Altelix 2.4 GHZ; Sector",
"gain": 17,
"beamwidth": 90
}

@Orv
Copy link

Orv commented Nov 23, 2023

{
"model":AS5158G18B65Ms-NF",
"description": "Altelix 5 GHZ; Sector",
"gain": 18,
"beamwidth": 65
}

@aanon4 aanon4 changed the title Add azimuth and antenna information [Proposal] Add azimuth and antenna information Nov 23, 2023
@aanon4 aanon4 changed the title Add azimuth and antenna information Add azimuth, elevation and antenna information Nov 24, 2023
@aanon4 aanon4 merged commit aae5e14 into aredn:main Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release Will be merged after the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants