I was wondering if there is anyway to manually reset the monitor ID number in the console view. During setup and playing around with different cameras my monitor id's have become skewed. I would like to manually id them or reset back to default. Is this possible?
Thanks
L8nite
Is there any way to reset the Monitor ID number?
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
You can manually set them by going into mysql as in
mysql zm
and then typing
update Monitors set Id = 1 where Id = 27;
however you will have to ensure that there is no monitor with that Id already present. You will also need to update the other tables, so whilst still in mysql do
update Zones set MonitorId = 1 where MonitorId = 27;
update Events set MonitorId = 1 where MonitorId = 27;
update Stats set MonitorId = 1 where MonitorId = 27;
update TriggersX10 set MonitorId = 1 where MonitorId = 27;
then quit mysql
quit
though you will probably only need the first two of these. You will also need to update the allowed MonitorIds field of any users you have created with restricted ids if the restriction is not to be messed up.
Phil,
mysql zm
and then typing
update Monitors set Id = 1 where Id = 27;
however you will have to ensure that there is no monitor with that Id already present. You will also need to update the other tables, so whilst still in mysql do
update Zones set MonitorId = 1 where MonitorId = 27;
update Events set MonitorId = 1 where MonitorId = 27;
update Stats set MonitorId = 1 where MonitorId = 27;
update TriggersX10 set MonitorId = 1 where MonitorId = 27;
then quit mysql
quit
though you will probably only need the first two of these. You will also need to update the allowed MonitorIds field of any users you have created with restricted ids if the restriction is not to be messed up.
Phil,