===== vp remote =====
==== pjlink ====
* [[https://github.com/davethw/pjlink]]
* [[https://pjlink.jbmia.or.jp/english/dl_class2.html]]
* [[https://superuser.com/questions/1698849/sending-pjlink-commands-with-netcat]]
echo -en "%1AVMT 30\r"|nc -n4 -w 1 172.16.100.22 4352 | tr '\r' '\n'
echo -en "%1AVMT 31\r"|nc -n4 -w 1 172.16.100.22 4352 | tr '\r' '\n'
set theIPofTheFuckingProjector to "192.168.1.100"
do shell script "echo \"%1AVMT ?\\r\" | nc -w 0 " & theIPofTheFuckingProjector & " 4352"
do shell script "echo \"%1AVMT 30\\r\" | nc -w 1 " & theIPofTheFuckingProjector & " 4352"
==== ProjectorManager ====
tell application "ProjectorManager"
AvMute 0
end tell
tell application "ProjectorManager"
AvUnMute 0
end tell
==== Christie ====
Merci to Guillaume at the theatre of the Nice
=== SHUTTER Christie Serie G, GS ===
do shell script "echo \"(shu0)\" | nc -w 0 201.0.0.2 3002"
do shell script "echo \"(shu1)\" | nc -w 0 201.0.0.2 3002"
=== SHUTTER Christie Serie Q ===
do shell script "echo \"\\xBE\\xEF\\x03\\x06\\x00\\x63\\x92\\x01\\x00\\x05\\x24\\x01\\x00\\r\" | nc -w 0 192.168.1.254 23"
do shell script "echo \"\\xBE\\xEF\\x03\\x06\\x00\\xF3\\x93\\x01\\x00\\x05\\x24\\x00\\x00\\r\" | nc -w 0 192.168.1.254 23"
==== Panasonic ====
=== Tnn ===
set powerOff to "/cgi-bin/power_off.cgi"
set shutterClose to "/cgi-bin/proj_ctl.cgi?key=shutter_on&lang=e&osd=on"
set shutterOpen to "/cgi-bin/proj_ctl.cgi?key=shutter_off&lang=e&osd=on"
#Do not change anything above this line!
set theServer to "192.168.0.8" -- set this to the ip address of the projector
set theUsername to "user1" -- set this to the username for the projector
set thePassword to "panasonic" --set this to the password for the projector
set theCommand to shutterClose --set the command required, option are, powerOn, powerOff, shutterClose, shutterOpen
#Do not change anything below this line
set theProtocol to "http" -- vs https
set theUserPass to theUsername & ":" & thePassword -- your Indigo remote access username/password
set theURL to theProtocol & "://" & theUserPass & "@" & theServer & theCommand
set theFinalURL to "\"" & theURL & "\""
try
with timeout of 1 second
do shell script "/usr/bin/curl" & " " & "--connect-timeout" & " " & "1" & " " & theFinalURL
end timeout
end try
powerOn to "/cgi-bin/power_on.cgi"
set powerOff to "/cgi-bin/power_off.cgi"
set shutterClose to "/cgi-bin/proj_ctl.cgi?key=shutter_on&lang=e&osd=on"
set shutterOpen to "/cgi-bin/proj_ctl.cgi?key=shutter_off&lang=e&osd=on"
#Do not change anything above this line!
set theServer to "192.168.0.8" -- set this to the ip address of the projector
set theUsername to "user1" -- set this to the username for the projector
set thePassword to "panasonic" --set this to the password for the projector
set theCommand to shutterOpen --set the command required, option are, powerOn, powerOff, shutterClose, shutterOpen
#Do not change anything below this line
set theProtocol to "http" -- vs https
set theUserPass to theUsername & ":" & thePassword -- your Indigo remote access username/password
set theURL to theProtocol & "://" & theUserPass & "@" & theServer & theCommand
set theFinalURL to "\"" & theURL & "\""
try
with timeout of 1 second
do shell script "/usr/bin/curl" & " " & "--connect-timeout" & " " & "1" & " " & theFinalURL
end timeout
end try
=== SebMas ===
open
do shell script "curl -L " & "http://admin1:panasonic@192.168.1.8/cgi-bin/sd95.cgi?cm=0200a1910203"
close
do shell script "curl -L " & "http://admin1:panasonic@192.168.1.8/cgi-bin/sd95.cgi?cm=0200a1910103"
==== barco ====
source : https://groups.google.com/g/qlab/c/Do_TWCj7E5E
do shell script "curl -X POST -m 1 -H \"Content-Type: application/json\" -d '{\"jsonrpc\": \"2.0\", \"method\": \"property.set\", \"params\": {\"property\": \"optics.shutter.target\", \"value\": \"Open\"}}' 192.168.88.13:9090"