Userscript to enhance the remote control web panel for the Minrray UV510A PTZ camera. It improves the display and layout of the buttons for easier mouse or touch operation and adds shortcuts so it can be controlled via keyboard. It was not tested with other Minrray products but it probably works with them as well. Avonic PTZ cameras look almost identical so it might work for them as well. Some modifications might be necessary to the script for these untested products.
- Improved CSS for better button colors and layout for easier mouse and touch operation.
- Auto pan feature to continously move the camera left and right in a repeating manner with custom time delays.
- Shortcuts for keyboard control:
- 0-9: Selects camera preset and moves camera to that position if hot switching is enabled.
- +, -: Increase/decrease camera move speed.
- *: Change between camera move speed of 1, 10, 20, 25.
- /: Toggle auto pan mode.
- Shift: Toggle hot switching mode. If turned on changing the selected preset will also move the camera to that position. Turning it off is usefull when you would like to save the current camera position to a preset without moving the camera to the choosen preset.
- Space: Move the camera to the current preset position. Usefull when you turned off hot switching mode.
- Enter: Save camera position to current preset.
- ↑, ↓, ←, →: pan & tilt camera
- Page Up, Page Down: Zome in & out.
- Home: Set preset to 0 (home/bootup position) and move the camera to that position if hot switching is enabled.
- Download Tampermonkey for Firefox or Chromium based browsers (Chrome, Vivaldi, Opera, Brave, Edge).
- Open the userscript source to install it! (modern userscript engines provide an install and update system)