Anyone know if the monitor id's need to be sequential starting at 1? I'm redoing my setup and had an idea to change which id got assigned to my monitors.
Basically I want each camera to have an id of 1xx for the low definition stream and 2xx for the high definition stream. All the low def streams would be in the 100's and the high def streams in the 200's to group them together.
Monitor ID's
Re: Monitor ID's
I believe the monitor ID's are assigned sequentially and you do not have the option to change them. You can change the monitor name but not the ID number. If you delete a monitor that ID is not reused. But I have been proved wrong in the past...
-
- Posts: 271
- Joined: Tue Feb 11, 2014 2:04 pm
Re: Monitor ID's
I finally got an API call from command line to work just a moment ago and I've determined that my idea is possible. So far I've got two monitors defined using 101 and 102 for the low def streams and 201 and 202 for the high def streams.
Next I'm gonna work up a script to populate the Monitors all at once. I got 10 cams all with dual streams so this will be super handy if I ever mess up like I did yesterday and accidentally blow away all my monitors.
Next I'm gonna work up a script to populate the Monitors all at once. I got 10 cams all with dual streams so this will be super handy if I ever mess up like I did yesterday and accidentally blow away all my monitors.
-
- Posts: 271
- Joined: Tue Feb 11, 2014 2:04 pm
Re: Monitor ID's
Been playing a bit more with command line API calls. Wanted to tweak one monitor that I had added so just to see what would happen I deleted the monitor using the web interface and then tried to re-add it from an API call. It didn't like it. The new version of the monitor never showed up. I'm guessing there was something left over in the database from the first version of the monitor and it was somehow blocking the addition of the new modified version. Once I can get some of this API stuff figured out I think I really like using it to make changes to the setup.