Starlink

Aus C3D2
Version vom 22. Mai 2021, 22:09 Uhr von Astro (Diskussion | Beiträge) (dump)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Device API

Dishy

grpcurl -plaintext -d '{"get_status":{}}' 192.168.100.1:9200 SpaceX.API.Device.Device/Handle

Beispiel-Response:

{
  "dishGetStatus": {
    "deviceInfo": {
      "id": "ut01000000-00000000-0000xxxx",
      "hardwareVersion": "rev1_pre_production",
      "softwareVersion": "1752790c-3c41-4df6-96b1-037e914d842c.uterm.release",
      "countryCode": "DE",
      "utcOffsetS": 1
    },
    "deviceState": {
      "uptimeS": "63035"
    },
    "snr": 9,
    "obstructionStats": {
      "fractionObstructed": 0.000104296254,
      "wedgeFractionObstructed": [
        0.0010462683,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "wedgeAbsFractionObstructed": [
        0.000104296254,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "validS": 39596.48,
      "last24hObstructedS": 7
    },
    "alerts": {
      
    },
    "state": "CONNECTED",
    "downlinkThroughputBps": 13052.674,
    "uplinkThroughputBps": 7088.3735,
    "popPingLatencyMs": 35.52381
  }
}

Neben get_status gibt es auch get_history mit historischen Statistiken.

Wifi

grpcurl -plaintext -d '{"get_status":{}}' 192.168.1.1:9000 SpaceX.API.Device.Device/Handle

Beispiel-Response:

{
  "wifiGetStatus": {
    "deviceInfo": {
      "id": "Router-0100000000000000000xxxxx",
      "hardwareVersion": "v1",
      "softwareVersion": "2021.16.0.mr2262-prod",
      "countryCode": "DE"
    },
    "deviceState": {
      "uptimeS": "73532"
    },
    "serialNumber": "WNC-xxxxxxxxxx",
    "sku": "UK",
    "ipv4WanAddress": "100.72.129.17",
    "pingLatencyMs": 32.17965
  }
}