bitfocus / companion-module-sony-visca

MIT License
16 stars 19 forks source link

Custom Commands #35

Closed MrEm1 closed 1 year ago

MrEm1 commented 2 years ago

Hi there, I am wondering if it would be possible to add the custom command functionality to the Sony VISCA module, similar to the PTZOptics Module.

sonarkon commented 1 year ago

would love this!

tonsofpcs commented 1 year ago

I would also like to see this, ideally an option for "raw" custom and one that includes the 0x8x for the selected camera.

tonybeatle commented 1 year ago

please add custom commands. I've been asking for so long. thanks

goseid commented 1 year ago

The Custom Command action has been implemented in Companion v3.0.0+5781 (beta).

tonybeatle commented 1 year ago

I'm trying to do a custom command to set the address of the cameras but its not letting put in the command code. The text is red and doesn't work. the command is 88 30 01 FF. What am I missing? Thanks

goseid commented 1 year ago

Is that the address set command? In the manual for my cameras it says "Not available for VISCA over IP".

"For VISCA network administration • Address Set* Sets an address of a peripheral device. Use when initializing the network, and receiving the following network change message.

In my experience valid custom commands work even if they are red. That indicates that it doesn't match what is expected but tries to send it anyway. Are you able to try other commands such as "81 01 06 06 10 FF"? That command should toggle the menu".

mkotek commented 1 month ago

Hi, I have received the AI related commands for Tenveo PTZ NDI camera with 30x Optical Zoom.

AI On (Framing): Turn on auto framing | 自动框选所有人 | 81 0A 11 54 12 FF | 框选所有人并居中 Turn off auto framing | 关闭自动框选 | 81 0A 11 54 13 FF | 关闭自动框选和人形跟踪

AI Tracking: Turn on auto tracking | 选择人形 | 81 0A 11 54 02 FF | 选择人形然后自动跟踪 Turn off auto tracking | 关闭人形选择 | 81 0A 11 54 03 FF | 关闭人形选择返回框选模式

Tracking person selection: Tracking left person | 选择人形左 | 81 0A 11 A3 02 FF |   Tracking right person | 选择人形右 | 81 0A 11 A3 03 FF |   OK | 选框消失 | 81 0A 11 A3 04 FF | 确定当前选择,选框消失

Can you implement them in the next version of the module?