IPEVO Point 2 View (P2V) HID Protocol And Control
Why is this helpful? This allows you to control an IPEVO P2V without needing to install the proprietary control software and also allows you to integrate it in a custom program. I use it to automatically refocus the camera when starting a 3D print while keeping autofocus off to retain a consistent focus point during timelapses.
How? You can use hidapitester (https://github.com/todbot/hidapitester) on linux, hidapi for programmatic control (https://github.com/libusb/hidapi), or SimpleHIDWrite if you’re looking for a Windows GUI.
Example for triggering manual focus (converted hex (4F) to dec for the data argument):
~/hidapitester $ sudo ./hidapitester --vidpid 1778:0204 -l 5 --open --send-output 02,79,04,00,00 --read-input 1
Opening device, vid/pid: 0x1778/0x0204
Writing output report of 5-bytes...
wrote 5 bytes: 02 4F 04 00 00
Reading 5-byte input report 0, 250 msec timeout...
read 5 bytes: 01 02 01 00 00
Closing device
Full list of responses and commands that you can try (all values are in hex):