diff --git a/README.md b/README.md index 76ed755..a9772bb 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,12 @@ This sensor watches the UserNotificationState. This is normally used in applicat This sensor exposes the name of the currently focused window. +### WebcamActive + +This sensor shows if your webcam is currently in use. + +Please note: Using this sensor will make your webcam activity light turn on every time it checks if the webcam is being used. Using an update interval lower than 30 seconds is not recommended. + ### CPULoad This sensor checks the current CPU load. It averages the load on all logical cores every second and rounds the output to two decimals. diff --git a/UserInterface/Views/AddSensorDialog.axaml.cs b/UserInterface/Views/AddSensorDialog.axaml.cs index 2f307cd..5fa9aa4 100644 --- a/UserInterface/Views/AddSensorDialog.axaml.cs +++ b/UserInterface/Views/AddSensorDialog.axaml.cs @@ -101,10 +101,10 @@ namespace UserInterface.Views item.UpdateInterval = 5; break; case AvailableSensors.WebcamActiveSensor: - item.Description = "This sensor shows if the webcam is currently in use."; + item.Description = "Please note: Using this sensor will make your webcam activity light turn on every time it checks if the webcam is being used. Using an update interval lower than 30 seconds is not recommended."; item.MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service#webcamactive"; item.ShowQueryInput = false; - item.UpdateInterval = 10; + item.UpdateInterval = 60; break; default: item.Description = null;