bitfocus / companion-module-requests

Repository for tracking module requests
98 stars 11 forks source link

d&b amplifiers #538

Open pdalgety opened 3 years ago

pdalgety commented 3 years ago

a series of buttons for scene recalls and mutes for d&b D series and other amplifiers

daniep01 commented 3 years ago

Is a specification for the protocol available?

pdalgety commented 3 years ago

Hi Peter

I am contacting d&b via Autograph

Regards

Patrick

Patrick Dalgety Production & Technical Management - Event & Venue Logistics Rigging and Stage Design - Sound, Lighting & AV design Mob - +44 7711 095795 Email - @.**@.>

From: Peter @.> Sent: 22 June 2021 18:42 To: bitfocus/companion-module-requests @.> Cc: pdalgety @.>; Author @.> Subject: Re: [bitfocus/companion-module-requests] d&b amplifiers (#538)

Is a specification for the protocol available?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bitfocus/companion-module-requests/issues/538#issuecomment-866194896, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUSRQIGWHJCGUQH2HSD6ONDTUDDQHANCNFSM47EDOMBA.

This email has been scanned by BullGuard antivirus protection. For more info visit www.bullguard.comhttp://www.bullguard.com/tracking.aspx?affiliate=bullguard&buyaffiliate=smtp&url=/

bangadrum commented 2 years ago

From https://groups.google.com/g/qlab/c/9JmXaH5RduI

Applescript: do shell script "echo 'COMMAND_STRING' | xxd -r -p | nc xxx.xxx.xxx.xxx 30013"

Available command strings: MUTE Mute A: 3b00010000001b01000100000012000006c410008205000400020101 UnMute A: 3b00010000001b01000100000012000006c810008205000400020102 Mute B: 3b00010000001b01000100000012000006c510010205000400020101 UnMute B: 3b00010000001b01000100000012000006c910010205000400020102 Mute C: 3b00010000001b01000100000012000006c610018205000400020101 UnMute C: 3b00010000001b01000100000012000006ca10018205000400020102 Mute D: 3b00010000001b01000100000012000006c710020205000400020101 UnMute D: 3b00010000001b01000100000012000006cb10020205000400020102 POWER Power On: 3b00010000001c01000100000013000006fb1000010000040002010001
Power Off: 3b00010000001c01000100000013000006fb1000010000040002010000 Pre-formatted OCA strings for the "Load" command of the Presets Agent. The preset number is contained in the last byte! Load Preset 1: 3b00010000001b010001000000120000013000002713000300030101 Load Preset 2: 3b00010000001b010001000000120000013000002713000300030102

roomac commented 2 years ago

Here is the JS library for the OCA (aka AES70) protocol: https://github.com/DeutscheSoft/AES70.js

roomac commented 2 years ago

The shell commands above work OK for me as I just need to mute/unmute an individual channel. I had a quick check of the AES70 library using their test code and it connects to our 10D amp and spits out all the objects (very lengthy!).

pdalgety commented 2 years ago

Does that code just get copied into a button?

roomac commented 2 years ago

Yes, select an ‘internal: Run shell path (local)’, copy just the bit within the double quotes above and substitute the appropriate command string, e.g. echo '3b00010000001b01000100000012000006c610018205000400020101' | xxd -r -p | nc 192.168.0.19 30013 to mute channel C.

echalupka commented 9 months ago

Adding a +1 on this request. I believe all of the documentation is supplied at this point, just need to move to a module. In the meantime of anyone getting started on doing this with internal scripts; I highly advise taking advantage of internal variables for your amp IP addresses, mute, and power commands. Severely sped up the process on this side.

AlexK-99 commented 7 months ago

Here is a link to the module I made for the d&B 5D amp. I want see if i can make other amplifiers work but i dont have access to other amplifiers at the moment https://github.com/AlexK-99/companion-module-d-und-b-5d

echalupka commented 7 months ago

Alex, I have 30Ds and 40Ds. Let me know if there's a way I can help test things. Eric

AlexK-99 commented 7 months ago

@echalupka Yes, you can.

Please download the following github repo and run it with node js. https://github.com/AlexK-99/check-aes70.git But before you run that please do (npm install) and install the dependencies.

In the file checkaes70.js there are 2 variables once for HOST(IP) and once for PORT(50014 for D40/40D/5D and 30013 for all others) please change them according to your amps

After you have executed this, a file with the name msgdata.json should be created. Please could you make this available for me to download.

echalupka commented 7 months ago

@AlexK-99 apologies for being a newbie here -- Could we set up a zoom call or something else to walk through these steps? I've never run anything with node js or performed npm install to install dependencies.

Eric

AlexK-99 commented 7 months ago

@AlexK-99 apologies for being a newbie here -- Could we set up a zoom call or something else to walk through these steps? I've never run anything with node js or performed npm install to install dependencies.

Eric

are you on windows or mac then i can make suitable executable file

echalupka commented 7 months ago

Mac


From: Alexander Kettner @.> Sent: Friday, February 9, 2024 5:45:25 AM To: bitfocus/companion-module-requests @.> Cc: Eric Davidson @.>; Mention @.> Subject: Re: [bitfocus/companion-module-requests] d&b amplifiers (#538)

This message originated from outside of The Woodstock Academy. Please be careful when responding, clicking links, or opening attached documents.


@AlexK-99https://github.com/AlexK-99 apologies for being a newbie here -- Could we set up a zoom call or something else to walk through these steps? I've never run anything with node js or performed npm install to install dependencies.

Eric

are you on windows or mac then i can make suitable executable file

— Reply to this email directly, view it on GitHubhttps://github.com/bitfocus/companion-module-requests/issues/538#issuecomment-1935698110, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX5MUQ6BNH6ZC4Z2UY4NBHTYSX44LAVCNFSM47EDOMBKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJTGU3DSOBRGEYA. You are receiving this because you were mentioned.Message ID: @.***>

This e-mail message is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL or PRIVILEGED material. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and destroy all copies of the original message. If you are the intended recipient but do not wish to receive communications through this medium, please so advise the sender immediately.

AlexK-99 commented 7 months ago

@echalupka Is your Mac already ARM or still Intel?

echalupka commented 7 months ago

Intel


From: Alexander Kettner @.> Sent: Monday, February 12, 2024 3:13:30 AM To: bitfocus/companion-module-requests @.> Cc: Eric Davidson @.>; Mention @.> Subject: Re: [bitfocus/companion-module-requests] d&b amplifiers (#538)

This message originated from outside of The Woodstock Academy. Please be careful when responding, clicking links, or opening attached documents.


@echalupkahttps://github.com/echalupka Is your Mac already ARM or still Intel?

— Reply to this email directly, view it on GitHubhttps://github.com/bitfocus/companion-module-requests/issues/538#issuecomment-1938209388, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX5MUQ7CRPFIUMVSB3KDQYLYTHFKVAVCNFSM47EDOMBKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJTHAZDAOJTHA4A. You are receiving this because you were mentioned.Message ID: @.***>

This e-mail message is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL or PRIVILEGED material. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and destroy all copies of the original message. If you are the intended recipient but do not wish to receive communications through this medium, please so advise the sender immediately.

AlexK-99 commented 7 months ago

@echalupka hi Eric,

https://workupload.com/file/n84y2ZhQXK4

Here is the link to the application, simply unzip and then run checkaes70.bin and then provide me with the msgdata.json for download. You can change the HOST (ip) and PORT (50014 for D40/40D/5D and 30013 for all others) in the config.json depending on the amp type.

echalupka commented 7 months ago

When I double-click "checkaes70" (not checkaes70.js), a text document opens up. Is there a specific application I should be "running" this with?

Apologies, Eric

AlexK-99 commented 7 months ago

When I double-click "checkaes70" (not checkaes70.js), a text document opens up. Is there a specific application I should be "running" this with?

Apologies, Eric

Actually, by default the .bin should open in the terminal. Try to start it via terminal. On the Mac where I tested it I just had to double click to start it

tm1000 commented 7 months ago

@AlexK-99 i have 3x 10d and a 30d. I'm also a software engineer by day. I'll give this a whirl and let you know. Would be great to get into core companion

AlexK-99 commented 7 months ago

@tm1000 i am very curious about your results.

tm1000 commented 7 months ago

@AlexK-99 Hi there.

I got it connected (its a little finicky but just needs some work)

The mute toggle, on, off work on all the 10d and 30ds I have

Unfortunately the power on/off/toggle does not work at all.

I'll start bringing this over to your repo moving forward. We can work on this together