Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variables fail to get set at Companion startup #86

Closed
BBrazner opened this issue Oct 25, 2022 · 9 comments
Closed

Variables fail to get set at Companion startup #86

BBrazner opened this issue Oct 25, 2022 · 9 comments
Labels
Awaiting BirdDog API Issues that require info or fixes to the API by BirdDog

Comments

@BBrazner
Copy link

I have 2.3.1 Companion on Mac M1 Mini, with BD P200 cameras running 3418-LTS FW.

I have a trigger that runs at Companion Startup. The actions set the initial speed values for pan, tilt and zoom (e.g., PTZ-Pan Speed: Speed Value 3). The log indicates the trigger fires at startup. Yet, examination of the variables ( e.g., $(xxx:pan_speed) ) reveal the actions never took effect.

@bryce-seifert
Copy link
Member

I think this might be similar to #78

Are all of the actions on the same trigger?
Does the BirdDog web UI reflect the correct values? Or are those unchanged as well?

@BBrazner
Copy link
Author

For this issue, I'm speaking of multiple actions all under a single trigger that runs at Companion Startup. The trigger runs (per the Companion log), but the values in the WebUI do not change, nor do the module variables change. It's as if the actions in the trigger (9 in all) were not processed.

@BBrazner
Copy link
Author

As for #78, I should point out I'm running 3418-LTS, not NDI 5. I have buttons for speed up and speed down for pan, tilt and zoom for 3 P200 cameras, and they take effect right away, with the exception of tilt speed down which I've documented in #85.

@bryce-seifert
Copy link
Member

Thanks for the clarification. We've reached out to BirdDog as this one is stumping us.

We confirmed that Companion is sending all the actions properly, but sometimes the camera is not updating all values properly. We're also able to replicate this outside of Companion.

We'll keep investigating as we await their response.

@BBrazner
Copy link
Author

I'm glad you have been able to confirm the problem. The camera seems to update the p/t/z speed settings at other times in the session. Do you think maybe adding a delay (e.g., 5 seconds) in the startup trigger might give the camera time to "wake up"? Or maybe a delay between each action? Or maybe, there's another command we can send before the speed commands that might wake up the camera?

@bryce-seifert
Copy link
Member

bryce-seifert commented Oct 28, 2022

If you're not putting the camera into standby mode, the camera should be awake and ready to get commands at startup so I don't think a delay should be needed there.

In my testing, adding a relative delay between each action, even as little as 500ms, the camera seems to get the updated values, so that could be a possible workaround.

Screenshot 2022-10-28 at 5 30 47 PM

We're also looking at possibly making one action that allows you to adjust the pan, tilt, and zoom speed all with one action as another possible workaround.

@BBrazner
Copy link
Author

Thanks for letting me know about adding a 500ms delay between each action. I'll give that a try.

Side question: I have some enhancement suggestions for the module. Do I use this forum for that? If yes, should I lump them into one post or make a post for each one?

@bryce-seifert
Copy link
Member

Yes, making a new issue on Github is the best place for suggestions.

I would suggest lumping if they're related to each other. If not, you can make separate issues so that we can address each directly.

@bryce-seifert bryce-seifert added the Awaiting BirdDog API Issues that require info or fixes to the API by BirdDog label Jan 25, 2023
@bryce-seifert
Copy link
Member

Merging this with related issue #78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting BirdDog API Issues that require info or fixes to the API by BirdDog
Projects
None yet
Development

No branches or pull requests

2 participants