added the firmware page

This commit is contained in:
csawatzky 2025-04-15 15:30:23 -06:00
parent 428e45f148
commit 31fae79fd5
10 changed files with 1909 additions and 1552 deletions

View file

@ -80,6 +80,24 @@ const V2_Cell_Green: DevicePlatformDescriber = {
platformName: "v2cellgreen"
};
const V2_Cell_Blue: DevicePlatformDescriber = {
platform: pond.DevicePlatform.DEVICE_PLATFORM_V2_CELLULAR_BLUE,
label: "V2 Cellular Blue",
description: "Communicates via cellular",
icon: <SignalCellular4Bar style={{ color: "#fff" }} />,
offlineIcon: <SignalCellularOff style={{ color: "#fff" }} />,
platformName: "v2cellblue"
};
const V2_Wifi_Blue: DevicePlatformDescriber = {
platform: pond.DevicePlatform.DEVICE_PLATFORM_V2_WIFI_BLUE,
label: "V2 Wifi Blue",
description: "Communicates via wifi",
icon: <SignalCellular4Bar style={{ color: "#fff" }} />,
offlineIcon: <SignalCellularOff style={{ color: "#fff" }} />,
platformName: "v2wifiblue"
};
const map = new Map<pond.DevicePlatform, DevicePlatformDescriber>([
[pond.DevicePlatform.DEVICE_PLATFORM_INVALID, Default],
[pond.DevicePlatform.DEVICE_PLATFORM_PHOTON, Photon],
@ -87,7 +105,9 @@ const map = new Map<pond.DevicePlatform, DevicePlatformDescriber>([
[pond.DevicePlatform.DEVICE_PLATFORM_V2_CELLULAR, V2_Cellular],
[pond.DevicePlatform.DEVICE_PLATFORM_V2_WIFI_S3, V2_Wifi_S3],
[pond.DevicePlatform.DEVICE_PLATFORM_V2_CELLULAR_BLACK, V2_Cell_Black],
[pond.DevicePlatform.DEVICE_PLATFORM_V2_CELLULAR_GREEN, V2_Cell_Green]
[pond.DevicePlatform.DEVICE_PLATFORM_V2_CELLULAR_GREEN, V2_Cell_Green],
[pond.DevicePlatform.DEVICE_PLATFORM_V2_CELLULAR_BLUE, V2_Cell_Blue],
[pond.DevicePlatform.DEVICE_PLATFORM_V2_WIFI_BLUE, V2_Wifi_Blue]
]);
export function getDevicePlatformDescriber(platform: pond.DevicePlatform): DevicePlatformDescriber {