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

QrcClient is not a constructor #1

Open
patrickgilsf opened this issue Dec 19, 2023 · 4 comments
Open

QrcClient is not a constructor #1

patrickgilsf opened this issue Dec 19, 2023 · 4 comments

Comments

@patrickgilsf
Copy link

Is there user error here? I am trying to import and use this tool, and getting QrcClient is not a constructor.

Thanks

@joshuaburkhalter
Copy link

Is there user error here? I am trying to import and use this tool, and getting QrcClient is not a constructor.

There is a small problem with the way that QrcClient is getting exported. You can get around it by doing:

const client = new QrcClient.default();

@patrickgilsf
Copy link
Author

Thanks @joshuaburkhalter - I am actually making my own JS wrapper for this API as well. Should have a repo up in the next few weeks.

But I appreciate the info!

@joshuaburkhalter
Copy link

joshuaburkhalter commented Jun 25, 2024

That's awesome @patrickgilsf , I'd love to help - are you implementing everything that QRC can do (mixer, pa routing, etc.)? I've been wanting to build a full module that includes the QRC and PARAPI.

@patrickgilsf
Copy link
Author

No, I am not. Just the calls that fit my use cases. Component Get, Component Set, Component GetComponents, Component GetControls.

Mixer, PA routing, Snapshots, can all be controlled by the above methods.

The idea is to have a fully agnostic Q-Sys control, so you can control from a webpage, script, etc.....don't need to rely on a touch panel

Last, there is another one out there has the same goal - https://github.com/locimation/js-qrc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants