mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
feat: implement DeviceActionMessenger for executing device actions via JSON API
This commit is contained in:
parent
4403e91b79
commit
fb0afc8c41
3 changed files with 43 additions and 0 deletions
|
|
@ -242,6 +242,12 @@ namespace PepperDash.Essentials
|
|||
|
||||
AddPreActivationAction(() => LinkSystemMonitorToAppServer());
|
||||
|
||||
AddPreActivationAction(() =>
|
||||
{
|
||||
var actionMessenger = new DeviceActionMessenger("deviceActionMessenger-" + Key, "/action");
|
||||
AddDeviceMessenger(actionMessenger);
|
||||
});
|
||||
|
||||
AddPreActivationAction(() => AddWebApiPaths());
|
||||
|
||||
AddPreActivationAction(() =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue