Skip to content

Commit

Permalink
Update module.php
Browse files Browse the repository at this point in the history
  • Loading branch information
elueckel authored Jun 9, 2024
1 parent 596791f commit 92750e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UniFi Device Monitor/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function DeviceMonitor()
$MemoryLoad = $JSONData["data"][0]["system-stats"]["mem"];
SetValue($this->GetIDForIdent("MemoryLoad"), $MemoryLoad);
$this->SendDebug($this->Translate("Device Monitor"), $this->Translate("Memory Load ").$MemoryLoad, 0);
$ConnectedDevices = $JSONData["data"][0]["num_sta"];
$ConnectedDevices = $JSONData["data"]["num_sta"];
SetValue($this->GetIDForIdent("ConnectedDevices"), ConnectedDevices);
$this->SendDebug($this->Translate("Endpoint Monitor"), $this->Translate("Connected Devices ").$ConnectedDevices, 0);
}
Expand Down

0 comments on commit 92750e4

Please sign in to comment.