Skip to content

Commit 5cafe58

Browse files
committed
Small changes
Front-end ======== - Field renderer: mdnsName url goes to lights control Back-End ======= - Devices: show for max 24 hours
1 parent 18298be commit 5cafe58

File tree

7 files changed

+12738
-12736
lines changed

7 files changed

+12738
-12736
lines changed

docs/moonlight/drivers.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@ Sends Lights in Art-Net compatible packages to an Art-Net controller specified b
9797
* **Port**: The network port added to the IP address, 6454 is the default for Art-Net.
9898
* **FPS Limiter**: set the max frames per second Art-Net packages are send out (also all the other nodes will run at this speed).
9999
* Art-Net specs recommend about 44 FPS but higher framerates will work mostly (up to until ~130FPS tested)
100-
* **Nr of outputs**: Art-Net LED controllers can have more then 1 output (e.g. 12)
100+
* **Nr of outputs**: Art-Net LED controllers can have more than 1 output (e.g. 12)
101101
* **Universes per output**: How many universes can each output handle. This determines the maximum number of lights an output can drive (nr of universe x nr of channels per universe / channels per light)
102-
* **Nr of Outputs per IP**: how much outputs does one Art-Net controller have. If all outputs are send, Art-Net will be sent to the next IP number.
102+
* **Nr of Outputs per IP**: How many outputs does one Art-Net controller have. If all outputs are sent, Art-Net will be sent to the next IP number.
103103

104104
!!! tip "Set universes"
105105
Set the number of universes also on the controller!
106106

107-
* **Channels per ouput**: each output can drive a maximum number of channels, determined by the universes per output
107+
* **Channels per output**: each output can drive a maximum number of channels, determined by the universes per output
108108

109109
!!! warning "DMX start with 1"
110110
Dmx channels count from 1 to 512. At the moment we start counting from 0..511.
@@ -120,7 +120,7 @@ The following devices have been tested and are recommended:
120120
* Driving DMX fixtures: Used to drive the Light Presets for DMX lights / moving heads (see below)
121121
* **Nr of outputs**: max 2 outputs
122122
* **Universes per output**: 1 universe
123-
* **Channels per ouput**: 512 channels
123+
* **Channels per output**: 512 channels
124124

125125
[Club Lights 12 Pro Artnet Controller - CL12P](https://s.click.aliexpress.com/e/_Ex9uaOk)
126126

@@ -130,7 +130,7 @@ The following devices have been tested and are recommended:
130130

131131
* **Nr of outputs**: Max 12 outputs
132132
* **Universes per output**: Max 8 universes
133-
* **Channels per ouput**: max 8 * 512.
133+
* **Channels per output**: max 8 * 512.
134134

135135
Each color in a LED is one channel: For RGB max 170 LEDs is 510 channels per universe, for RGBW max 128 LEDs per universe is 512 channels per universe => max 1360 RGB LEDs and 1024 RGBW LEDs per output.
136136

interface/src/lib/components/moonbase/FieldRenderer.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
{#if property.type == 'ip'}
108108
<a href="http://{value}" target="_blank">{value}</a>
109109
{:else if property.type == 'mdnsName'}
110-
<a href="http://{value}.local" target="_blank">{value}</a>
110+
<a href="http://{value}.local/moonbase/module?group=moonlight&module=lightscontrol" target="_blank">{value}</a>
111111
{:else if property.type == 'time'}
112112
<span>{getTimeAgo(value, currentTime)}</span>
113113
{:else if property.type == 'coord3D' && value != null}

interface/src/lib/stores/telemetry.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ function createTelemetry() {
4747
rssi: { rssi: 0, ssid: data.ssid, disconnected: true, safeMode: data.safeMode, restartNeeded: data.restartNeeded, saveNeeded: data.saveNeeded, hostName: data.hostName } // 🌙 variables added
4848
}));
4949
}
50-
if (data.hostName != '')
51-
localStorage.setItem('telemetry.rssi.hostName', data.hostName);
50+
localStorage.setItem('telemetry.rssi.hostName', data.hostName != "" ? data.hostName : 'MoonLight');
5251
},
5352
setBattery: (data: Battery) => {
5453
update((telemetry_data) => ({

0 commit comments

Comments
 (0)