diff --git a/RELEASES.md b/RELEASES.md index 7c9d866e8..5451f99ac 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -4,7 +4,7 @@ Version 0.9.7 (2024-06-13) * Torque Interceptor support with a toggle * Support for cars with No MRCC or Front camera with a toggle * Toggle to connect FrogPilot Server instead of comma server -* Go to https://portal.springerelectronics.com to view drives and set navigation +* Go to https://stable.konik.ai to view drives and set navigation * Update to the latest FrogPilot version * New driving model * Inputs the past curvature for smoother and more accurate lateral control diff --git a/common/api/__init__.py b/common/api/__init__.py index f3a7d8384..3898562f3 100644 --- a/common/api/__init__.py +++ b/common/api/__init__.py @@ -5,7 +5,7 @@ from datetime import datetime, timedelta from openpilot.system.hardware.hw import Paths from openpilot.system.version import get_version -API_HOST = os.getenv('API_HOST', 'https://api.commadotai.com') +API_HOST = os.getenv('API_HOST', 'https://api.konik.ai') class Api: def __init__(self, dongle_id): diff --git a/launch_chffrplus.sh b/launch_chffrplus.sh index cf5219d87..96f16e5f5 100755 --- a/launch_chffrplus.sh +++ b/launch_chffrplus.sh @@ -36,8 +36,8 @@ function set_dongle_id { if [ -f $PARAMS/UseFrogServer ] && [ -f $PARAMS/DongleId ] && [ -f $PARAMS/FrogId ]; then # All params created if [ "$(cat $PARAMS/UseFrogServer)" == "1" ]; then echo -e "\033[0;36mUsing FrogServer\033[0m" - export API_HOST=https://api.springerelectronics.com - export ATHENA_HOST=wss://athena.springerelectronics.com + export API_HOST=https://api.konik.ai + export ATHENA_HOST=wss://athena.konik.ai if [ "$(cat $PARAMS/DongleId)" != "$(cat $PARAMS/FrogId)" ]; then # And they are not equal (FrogId="") which means the device never registered with FrogServer echo "$(cat $PARAMS/DongleId)" > $PARAMS/DongleIdOld # Backup old dongle diff --git a/launch_openpilot.sh b/launch_openpilot.sh index 0b3cb40de..389334eb8 100755 --- a/launch_openpilot.sh +++ b/launch_openpilot.sh @@ -1,4 +1,4 @@ #!/usr/bin/bash -export API_HOST=https://api.springerelectronics.com -export ATHENA_HOST=wss://athena.springerelectronics.com +export API_HOST=https://api.konik.ai +export ATHENA_HOST=wss://athena.konik.ai exec ./launch_chffrplus.sh diff --git a/selfdrive/ui/qt/api.h b/selfdrive/ui/qt/api.h index ad64d7e72..e34a05589 100644 --- a/selfdrive/ui/qt/api.h +++ b/selfdrive/ui/qt/api.h @@ -9,7 +9,7 @@ namespace CommaApi { -const QString BASE_URL = util::getenv("API_HOST", "https://api.commadotai.com").c_str(); +const QString BASE_URL = util::getenv("API_HOST", "https://api.konik.ai").c_str(); QByteArray rsa_sign(const QByteArray &data); QString create_jwt(const QJsonObject &payloads = {}, int expiry = 3600); diff --git a/selfdrive/ui/qt/widgets/prime.cc b/selfdrive/ui/qt/widgets/prime.cc index cab2e6f12..ad1373d9e 100644 --- a/selfdrive/ui/qt/widgets/prime.cc +++ b/selfdrive/ui/qt/widgets/prime.cc @@ -38,7 +38,7 @@ void PairingQRWidget::refresh() { QString pairToken = CommaApi::create_jwt({{"pair", true}}); QString qrString = "https://connect.comma.ai/?pair=" + pairToken; if (getenv("API_HOST") != nullptr) { - qrString = "https://portal.springerelectronics.com/?pair=" + pairToken; + qrString = "https://stable.konik.ai/?pair=" + pairToken; } this->updateQrCode(qrString); update(); diff --git a/system/athena/athenad.py b/system/athena/athenad.py index bca37cfaa..f3c3602a1 100755 --- a/system/athena/athenad.py +++ b/system/athena/athenad.py @@ -42,7 +42,7 @@ from openpilot.system.version import get_build_metadata from openpilot.system.hardware.hw import Paths from openpilot.system.athena.streamer import Streamer -ATHENA_HOST = os.getenv('ATHENA_HOST', 'wss://athena.comma.ai') +ATHENA_HOST = os.getenv('ATHENA_HOST', 'wss://athena.konik.ai') HANDLER_THREADS = int(os.getenv('HANDLER_THREADS', "4")) LOCAL_PORT_WHITELIST = {8022} diff --git a/tools/lib/api.py b/tools/lib/api.py index 92a75d2a3..623cdf454 100644 --- a/tools/lib/api.py +++ b/tools/lib/api.py @@ -1,6 +1,6 @@ import os import requests -API_HOST = os.getenv('API_HOST', 'https://api.commadotai.com') +API_HOST = os.getenv('API_HOST', 'https://api.konik.ai') class CommaApi: def __init__(self, token=None): diff --git a/tools/lib/springerauth.py b/tools/lib/springerauth.py index a371fb85d..9e48e5641 100755 --- a/tools/lib/springerauth.py +++ b/tools/lib/springerauth.py @@ -64,7 +64,7 @@ def auth_redirect_link(method): }[method] params = { - 'redirect_uri': f"https://api.springerelectronics.com/v2/auth/{provider_id}/redirect/", + 'redirect_uri': f"https://api.konik.ai/v2/auth/{provider_id}/redirect/", 'state': f'service,localhost:{PORT}', } diff --git a/tools/scripts/fetch_image_from_route.py b/tools/scripts/fetch_image_from_route.py index b59e7c895..53e45ffcb 100644 --- a/tools/scripts/fetch_image_from_route.py +++ b/tools/scripts/fetch_image_from_route.py @@ -24,7 +24,7 @@ segment = int(sys.argv[2]) frame = int(sys.argv[3]) camera = cameras[sys.argv[4]] if len(sys.argv) > 4 and sys.argv[4] in cameras else "cameras" -url = f'https://api.commadotai.com/v1/route/{route}/files' +url = f'https://api.konik.ai/v1/route/{route}/files' r = requests.get(url, headers={"Authorization": f"JWT {jwt}"}, timeout=10) assert r.status_code == 200 print("got api response")