L lk229 n3wb Sep 17, 2017 19 4 Aug 29, 2023 #1 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?
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?
J jaydeel BIT Beta Team Nov 9, 2016 1,557 1,580 SF Bay Area Aug 29, 2023 #2 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: If it does not exist yet, create an empty *.txt file to store the camera's current profile To the webserver, send JSON command jsonCmd: [cmd] => camconfig [camera] => shortname From the JSON response string, GET the camera's current profile Compare the camera's current profile to the saved value in the *.txt file If changed, send the alert Save the camera's current profile to the *.txt file
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: If it does not exist yet, create an empty *.txt file to store the camera's current profile To the webserver, send JSON command jsonCmd: [cmd] => camconfig [camera] => shortname From the JSON response string, GET the camera's current profile Compare the camera's current profile to the saved value in the *.txt file If changed, send the alert Save the camera's current profile to the *.txt file
L lk229 n3wb Sep 17, 2017 19 4 Aug 29, 2023 #3 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.
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.
fenderman Staff member Mar 9, 2014 36,891 21,407 Aug 29, 2023 #4 lk229 said: 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. Click to expand... It wont happen unless you request it...
lk229 said: 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. Click to expand... It wont happen unless you request it...
L lk229 n3wb Sep 17, 2017 19 4 Aug 29, 2023 #5 Is there a specific place that requests are posted or should I just email the developer?
fenderman Staff member Mar 9, 2014 36,891 21,407 Aug 29, 2023 #6 lk229 said: Is there a specific place that requests are posted or should I just email the developer? Click to expand... Email support
lk229 said: Is there a specific place that requests are posted or should I just email the developer? Click to expand... Email support
J jaydeel BIT Beta Team Nov 9, 2016 1,557 1,580 SF Bay Area Aug 29, 2023 #7 lk229 said: Is there a specific place that requests are posted or should I just email the developer? Click to expand... Start with the question mark icon.
lk229 said: Is there a specific place that requests are posted or should I just email the developer? Click to expand... Start with the question mark icon.
L lk229 n3wb Sep 17, 2017 19 4 Aug 29, 2023 #8 Thank you both for your replies. I've sent a support request.