Merge pull request #1245 from PepperDash/fix-add-client

Update `mobileadduiclient` command & `CrestronGenericBaseDevice.CustomActivate` method
This commit is contained in:
Neil Dorin
2025-04-08 12:47:08 -06:00
committed by GitHub
2 changed files with 9 additions and 1 deletions

View File

@@ -104,7 +104,7 @@ namespace PepperDash.Essentials.Core
Hardware.OnlineStatusChange += Hardware_OnlineStatusChange;
CommunicationMonitor.Start();
return true;
return base.CustomActivate();
}
/// <summary>

View File

@@ -679,6 +679,14 @@ namespace PepperDash.Essentials.WebSocketServer
}
var values = s.Split(' ');
if(values.Length < 2)
{
CrestronConsole.ConsoleCommandResponse("Invalid number of arguments. Please provide a room key and a grant code");
return;
}
var roomKey = values[0];
var grantCode = values[1];