Skip to content

Commit

Permalink
Add new devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Grey committed Apr 13, 2024
1 parent d5438ac commit c5ebba4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions assets/webconfig/js/content_leds.js
Original file line number Diff line number Diff line change
Expand Up @@ -2510,6 +2510,10 @@ function nanoleafGeneratelayout(panelLayout, panelOrderTopDown, panelOrderLeftRi
18: { name: "LightLinesSingleZone", led: true, sideLengthX: 77, sideLengthY: 77 },
19: { name: "ControllerCap", led: false, sideLengthX: 11, sideLengthY: 11 },
20: { name: "PowerConnector", led: false, sideLengthX: 11, sideLengthY: 11 },
29: { name: "4DLightstrip", led: true, sideLengthX: 50, sideLengthY: 50 },
30: { name: "Skylight Panel", led: true, sideLengthX: 180, sideLengthY: 180 },
31: { name: "SkylightControllerPrimary", led: true, sideLengthX: 180, sideLengthY: 180 },
32: { name: "SkylightControllerPassive", led: true, sideLengthX: 180, sideLengthY: 180 },
999: { name: "Unknown", led: true, sideLengthX: 100, sideLengthY: 100 }
};

Expand Down
6 changes: 5 additions & 1 deletion libsrc/leddevice/dev_net/LedDeviceNanoleaf.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,11 @@ class LedDeviceNanoleaf : public ProviderUdp
LIGHT_LINES = 17,
LIGHT_LINES_SINGLZONE = 18,
CONTROLLER_CAP = 19,
POWER_CONNECTOR = 20
POWER_CONNECTOR = 20,
NL_4D_LIGHTSTRIP = 29,
SKYLIGHT_PANEL = 30,
SKYLIGHT_CONTROLLER_PRIMARY = 31,
SKYLIGHT_CONTROLLER_PASSIV = 32
};

///
Expand Down

0 comments on commit c5ebba4

Please sign in to comment.