Send alert when camera profile changes?

lk229

n3wb
Sep 17, 2017
19
4
I've figured out how to send an alert when the system-wide profile changes (Settings, Profiles, On change) but I can't find a way to send an alert when the profile of an individual camera changes. Is this possible?
 
Camera profile change actions are not built in as far I know.

You may need to write a script and run it as a scheduled task every N minutes.
The pseudo code could be like this:
  1. If it does not exist yet, create an empty *.txt file to store the camera's current profile
  2. To the webserver, send JSON command
    jsonCmd:
    [cmd] => camconfig
    [camera] => shortname
  3. From the JSON response string, GET the camera's current profile
  4. Compare the camera's current profile to the saved value in the *.txt file
  5. If changed, send the alert
  6. Save the camera's current profile to the *.txt file
 
Thanks. I was thinking I'd need to do something similar but was hoping to avoid unnecessary polling. Maybe a future release could include this.
 
Is there a specific place that requests are posted or should I just email the developer?