{ "name": "Visca", "type": "Serial", "path": "LIEN", "version": "0.0.1", "description": "Visca protocol to control PTZ cameras", "url": "https://gogs.madology.myds.me/Chataigne/Visca-Module-Chataigne", "downloadURL": "", "hasInput": true, "hasOutput": true, "hideDefaultCommands": false, "hideDefaultParameters": [ "protocol", "messageStructure", "firstValueIsTheName" ], "defaults": { "protocol":"Raw", "baudRate" : 9600 }, "parameters": { "Setup":{ "type": "Container", "collapsed": true, "Fixture Definition" : { "type": "File", "description": "Select json file with fixture definitions." , "alwaysNotify": true }, "Fixtures" : { "type": "File", "description": "Select json file with fixtures."}, "Load Fixtures": { "type": "Trigger", "description": "Load the fixture files and create parameters for lights"}, "Clear DMX": { "type": "Trigger", "description": "Set all DMX channels to 0"} } }, "scripts": [ "Visca.js" ], "values": {}, "commands": { "Inquiry": { "menu": "", "callback": "sendInquiry", "parameters": { "ID" : { "type": "Integer", "default":1, "min": 1, "max": 7, "useForMapping": true }, "Position" : { "type":"Enum", "options": { "CAM_ZoomPosInq":"CAM_ZoomPosInq", "CAM_FocusModeInq":"CAM_FocusModeInq", "CAM_FocusPosInq":"CAM_FocusPosInq", "CAM_FocusPosInq":"CAM_FocusPosInq", "CAM_ReplyIntervalTimeInq": "CAM_ReplyIntervalTimeInq" } } } }, "ZoomPosition": { "menu": "", "callback": "setZoomPos", "parameters": { "ID" : { "type": "Integer", "default":1, "min": 1, "max": 7, "useForMapping": true }, "Position" : { "type": "Float", "default":0., "min": 0., "max": 1., "useForMapping": true } } }, "ZoomSpeed": { "menu": "", "callback": "setZoomSpeed", "parameters": { "ID" : { "type": "Integer", "default":1, "min": 1, "max": 7, "useForMapping": true }, "Speed" : { "type": "Integer", "default":0, "min": -8, "max": 8, "useForMapping": true } } }, "ZoomPositionInTime": { "menu": "", "callback": "setZoomPositionInTime", "parameters": { "ID" : { "type": "Integer", "default":1, "min": 1, "max": 7, "useForMapping": true }, "Position" : { "type": "Float", "default":0, "min": 0., "max": 1., "useForMapping": true }, "Duration" : { "type": "Float", "default":0, "min": 0., "max": 1000, "useForMapping": true } } }, "ZoomPositionInTime_TL": { "menu": "", "callback": "setZoomPositionInTime_TL", "parameters": { "ID" : { "type": "Integer", "default":1, "min": 1, "max": 7, "useForMapping": true }, "Position" : { "type": "Float", "default":0, "min": 0., "max": 1., "useForMapping": true }, "offset" : { "type": "Float", "default":0, "min": 0., "max": 1000, "useForMapping": true } } } } }