PyATEMMax icon indicating copy to clipboard operation
PyATEMMax copied to clipboard

Question: Is there a defined event for when a switcher tally status changes? Is this comparable to the OnReceive event in the events.py examples?

Open Jibun-no-Kage opened this issue 1 year ago • 1 comments

Question: Is there a defined event for when a switcher tally status changes? Is this comparable to the OnReceive event in the events.py examples?

I am thinking of, if possible, to integrate PyATEMMAX with MQTT messaging, so as events trigger on the ATEM, I can forward to downlevel devices. For example, a tally change on a given ATEM, parse that and generate MQTT messages to any devices listening for said message.

We have a need for our remote team, elsewhere in the location for example, to know the tally state of a given ATEM. We created small microcontrollers that update status screens, showing the current ATEM tally status. This uses the REST API from PyATEMAPI project, which uses PyATEMMax. It works, but constant query of the REST API generates a lot of traffic, when what would be more effective or efficient would be a even driven model rather than a polling model. But realize if the BMD ATEM SDK does not have a type of even driven model, this could get complex. But then I saw the OnReceive stub in the events.py example, and wondered if this was such, ATEM event driven scenario?

Jibun-no-Kage avatar Oct 08 '24 00:10 Jibun-no-Kage