Birddog p200

Christie Widget Designer Version 6 - Q&A

Moderator: Moderator Group

Forum rules
When asking make sure to include the operating system and the revision of Widget Designer you are using.

Birddog p200

Postby videodsh » Fri Apr 22, 2022 9:52 am

Hey,

did anyone try to remote control a birddog ptz cam with WD? :roll:
if yes: how?
if no: why not :oops:

I've noticed there is an API.guide, but i don't have any idea of programming, so mayby one of you guys can help:


This command allows you to recall a previously set PTZ camera position on a BirdDog Eyes series PTZ camera. Depending on the
camera settings this will include the PTZ information only or PTZ + Image settings (Shutter/Iris/Colour/other parameters).
Devices Supported:
BirdDog Eyes P100, P200, A200, A300, P4K
http://x.x.x.x:8080/recall
Body Parameters:
1. {"Preset":"Preset-1"}


what to do in WD?

Update:
My way solving this so far is using companion as some sort of bridge. Companion can remote control most parameters of the P200. WD is pressing (virtual, if you don’t have a physical streamdeck) buttons in companion, which recall presets. Maybe not the smartest solution but successful.

cheers

tim
videodsh
 
Posts: 34
Joined: Sat Apr 23, 2016 6:52 pm
Location: Düsseldorf, Germany

Re: Birddog p200

Postby Yvonne Groetzschel » Mon Oct 10, 2022 11:14 am

Hello Tim,

In case your issue is still relevant:
Please find some information about the PTZ Node in our helpfile:
https://christiepandorasbox.com/root/do ... output.htm

To recall a preset you can follow these steps:
- Create PTZ Node + enter IP-address
- Create a Custom Script Button to execute the following command:
Node1.RecallPreset(ID: Integer)
Node1.RecallPreset(1)

I hope that helps.

Cheers,
Yvonne
Yvonne Groetzschel
 
Posts: 65
Joined: Mon Dec 01, 2014 2:10 pm

Re: Birddog p200

Postby videodsh » Tue Nov 29, 2022 10:53 am

Hey Yvonne,

unfortunately not working.
are both, Panasonic PTZ and birddog PTZ using the same control-protocol?
Controling Panasonic PTZ is working like charme, but birddog doesn't even return any value.
videodsh
 
Posts: 34
Joined: Sat Apr 23, 2016 6:52 pm
Location: Düsseldorf, Germany

Re: Birddog p200

Postby Daniel Kaminski » Thu Dec 01, 2022 12:11 am

Hi,

looks like it is a REST API. I have no P200 around to test it, but it should work like this.

https://birddog.tv/AV/API/index.html#api-PTZ-recallPost

the latest WD Version supports this:

To get Hardware Information:

Code: Select all
var response = ""
HTTPRequestToVar("http://192.168.100.100:8080/about","response","GET","application/json")
DebugMessage(response)


To recall a preset try this.
Code: Select all
var response = ""
var msg = '{"Preset":"Preset-1"}'.ToJson
HTTPRequestToVar("http://192.168.100.100:8080/recall","response","POST","application/json",msg)
DebugMessage(response)


Let me know if it works.
--
Daniel Kaminski
Pandoras Box Expert
User avatar
Daniel Kaminski
 
Posts: 1071
Joined: Tue Jul 22, 2008 10:55 am
Location: Herten, Germany

Re: Birddog p200

Postby videodsh » Mon Sep 18, 2023 12:08 pm

coming back a little late, but with some good news:

you suggestion ist now working. I am now able to recall presets directly.

edit:
need some assistance on syntax...

this is the actaul command to recall preset 1

var response = ""
var msg = '{"Preset":"Preset-1"}'.ToJson
HTTPRequestToVar("http://10.0.21.91:8080/recall","response","POST","application/json",msg)
DebugMessage(response)

but I want to replace the Number by a parameter, or variable, in order to simplyfy scripting in custom script buttons:

var response = ""
var msg = '{"Preset":"Preset-VAR"}'.ToJson
HTTPRequestToVar("http://10.0.21.91:8080/recall","response","POST","application/json",msg)
DebugMessage(response)

but I don't know the syntax. is it with brackets or without? or with quotation marks? I tried different things but ...

Any hint is pretty much welcome
videodsh
 
Posts: 34
Joined: Sat Apr 23, 2016 6:52 pm
Location: Düsseldorf, Germany


Return to Widget Designer V6

Who is online

Users browsing this forum: No registered users and 10 guests

cron