Example #1
0
 private void TelldusCoreService_CommandReceived(object sender, CommandReceivedEventArgs e)
 {
     logger.LogInformation($"Device '{e.Device.Name}' ({e.Device.ID}) had {e.Command} sent to it.");
     webHookService.SendDeviceEventWebHook(e.Device.ID, e.Command, e.Parameter);
 }