Files

45 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2026-03-26 10:04:12 +01:00
<!DOCTYPE html>
<html>
<head lang="en">
<title>Configure your BusyLight</title>
<meta charset="utf-8" />
<script src="https://sdpi-components.dev/releases/v3/sdpi-components.js"></script>
<script>
function getGlobalSettings() {
const { streamDeckClient } = SDPIComponents;
const settings = streamDeckClient.getGlobalSettings();
return settings.url || 'http://busylight-esp32.local';
}
</script>
</head>
<body>
<script>
</script>
<!--
Learn more about property inspector components at https://sdpi-components.dev/docs/components
-->
<sdpi-item label="URL or IP">
<sdpi-textfield
setting="url"
placeholder="http://busylight-esp32.local"
global="true"
value="getGlobalSettings()">
</sdpi-textfield>
</sdpi-item>
<sdpi-item label="Brightness">
<sdpi-range
setting="brightness"
min="10"
max="100"
default="40"
value="40"
step="5"
showlabels="true">
<span slot="min">10%</span>
<span slot="max">100%</span>
</sdpi-range>
</sdpi-item>
</body>
</html>