Scripts for Projector Panasonic

5,364 views
Skip to first unread message

Gunther J. Kibelkstis

unread,
Oct 22, 2015, 10:52:53 AM10/22/15
to QLab
Friends
Already I got scripts to turn on, off, open and close the lens of Panasonic projector. Now I think it is possible to make scripts to change the ports: HDMI, VGA, DVI etc.
Can anyone help?
Regards

nizer

unread,
Oct 22, 2015, 11:05:07 AM10/22/15
to QLab
AppleScripts?

Are you using cool term?

Gunther J. Kibelkstis

unread,
Oct 27, 2015, 3:30:57 PM10/27/15
to QLab
Nizer

I use the script cue to put the command to turn on, off, open and close the lens. Below sending the script I am using to connect / on t he projector.

set myFile to (POSIX path of (path to temporary items)) &  "curl_downloaded_file.xml"

do shell script "curl -L " & "http://admin1:pana...@192.168.0.3/cgi-bin/sd95.cgi?cm=0200a13d0103" & " -o " & myFile



Johnny Boy

unread,
Oct 28, 2015, 4:33:00 AM10/28/15
to QLab
Hi there! Sorry to jump in on your thread.
At our theatre we have a large Panasonic projector and we'd love to be able to control it from qlab. I wonder if I could ask you what your setup is and what are the physical connections to the projector.
Is it via OSC cat 5 or something else?
Cheers , A very curious J

micpool

unread,
Oct 28, 2015, 6:05:21 AM10/28/15
to QLab
You can control panasonic projectors remotely over cat 5 to the LAN port of the projector.

To get this working find the IP address of the projector from the network menu

Set up your Ethernet port on your mac with an ip address on the same subnet.

e.g your projector is  192.168.0.21

your mac could be 192.168.0.26

Both Subnet 255.255.255.0

Type the projector IP into safari or another web browser

If you haven't changed them the default user name and password for the projector will be admin1   panasonic

The projector has a built in web server and you should now have full remote control of all your projector functions from the browser.

In  Qlab you can  create a script cue with this (for shutter open):
--------------------------------
set 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.21" -- set this to the ip address of the projector
set theUsername to "admin1" -- 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 & "\""

with timeout of 1 second
do shell script "/usr/bin/curl" & " " & "--connect-timeout" & " " & "1" & " " & theFinalURL
end timeout
---------------------------------
This will open your shutter. You will probably find that it will also interrupt any audio that is running and any video cues that are running on other projectors. Ticking run in separate process will improve matters but not completely.

If this affects your application then an alternative is to try Projector MIDI remote


This is an app that you send MIDI to from QLab, over an IAC bus, that sends PJ protocol over the cat 5 to the projector.


Mic

John Conlon

unread,
Oct 28, 2015, 6:11:19 AM10/28/15
to ql...@googlegroups.com
Awesome! Thanks for the help! I've connected to the projector before over cat 5 to control the settings like keystone but being able to control the shutter helps immensely. Cheers J :)
--
--
Change your preferences or unsubscribe here:
http://groups.google.com/group/qlab
 
Follow Figure 53 on Twitter: http://twitter.com/Figure53

---
You received this message because you are subscribed to a topic in the Google Groups "QLab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qlab/IrtOJ0wKtNQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qlab+uns...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daan Hazendonk

unread,
Nov 5, 2015, 1:58:14 PM11/5/15
to QLab
+1 for Projector MIDI remote

http://halfdanj.dk/projectorremote/

Very nice software and I use it in a lot of shows with succes. Just make the app start when the computer starts, and you're ready to go.
Midi setup is easy: use the IAC driver (you have to enable it in "Audio/Midi-setup").


Op donderdag 22 oktober 2015 16:52:53 UTC+2 schreef Gunther J. Kibelkstis:

talkingtobrian

unread,
Feb 4, 2016, 1:41:54 PM2/4/16
to QLab
Once again, I am trying to do something in Qlab and Micpool has already answered my question before it ever occurred to me!  Going to try this when I get to the theatre tonight/tomorrow.  Dude, if you're ever in the metro NYC area, your beer/coffee is on me...

-brian

Drew Vaxination

unread,
Jan 23, 2017, 2:20:03 PM1/23/17
to QLab
Thanks for this, I hacked it a bit so that it does a swap for 2 projectors now since most shutter situations thats what I need. thought I would share with the group, thanks guys
<<< begin script >>>>

set 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 theServer1 to "192.168.1.8" -- set this to the ip address of the projector 1
set theServer2 to "192.168.1.9" -- set the IP of projector 2
set theUsername to "admin1" -- set this to the username for the projector
set thePassword to "panasonic" --set this to the password for the projector
set theCommand1 to shutterOpen --set the command required, option are, powerOn, powerOff, shutterClose, shutterOpen
set theCommand2 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 theURL1 to theProtocol & "://" & theUserPass & "@" & theServer1 & theCommand1
set theURL2 to theProtocol & "://" & theUserPass & "@" & theServer2 & theCommand2
set theFinalURL1 to "\"" & theURL1 & "\""
set theFinalURL2 to "\"" & theURL2 & "\""

with timeout of 1 second
do shell script "/usr/bin/curl" & " " & "--connect-timeout" & " " & "1" & " " & theFinalURL1
do shell script "/usr/bin/curl" & " " & "--connect-timeout" & " " & "1" & " " & theFinalURL2
end timeout


<<<<end script >>>

Popcorn

unread,
Jul 28, 2017, 8:13:47 AM7/28/17
to QLab
Hi There - So i have been using this script to control shutters and power with great success, but now have a need to change inputs on the projectors - has anyone done this or can anyone explain the "cm=0200a13d0103" bit as that seems to be where the magic is happening.

Thanks in advance

Andy


On Tuesday, October 27, 2015 at 7:30:57 PM UTC, Gunther J. Kibelkstis wrote:
Nizer

I use the script cue to put the command to turn on, off, open and close the lens. Below sending the script I am using to connect / on t he projector.

set myFile to (POSIX path of (path to temporary items)) &  "curl_downloaded_file.xml"

do shell script "curl -L " & "http://admin1:panasonic@192.168.0.3/cgi-bin/sd95.cgi?cm=0200a13d0103" & " -o " & myFile



Freddy Komp

unread,
Jul 29, 2017, 7:51:05 PM7/29/17
to QLab
Easy via that curl command line - just visit the Web interface in a normal Web browser, and ie. Open the link behind the buttons to switch the input in new browser windows, or look into the html source code to see the exact parameters to modify the usual power up and down scripts... I am not around my projector at the moment, but that is the easiest and most bullet proof way, as I found slight nuances between the structure of the various Panasonic models.

Cheers,

Freddy

Popcorn

unread,
Aug 13, 2017, 7:01:19 PM8/13/17
to QLab
Hi again. Not yet had a chance to play with this, thats Tomorrows job, but i was loking to see if i can also control my Denon DN500 BD bluray player and it looks like there might be a way, but this is too clever for me to get my head around. I found this-

http://e345eb35efcb99754b1f-525d2f2124a3483dfbd3f17c87329990.r36.cf2.rackcdn.com//1453/documents/DV04_Protocol_Guide2.0.pdf

All i need / want is a way to send the right control to my player, primaily just a play command.

All advice welcomed.

Thanks in advance.

Taylor Glad

unread,
Feb 7, 2022, 7:21:40 PM2/7/22
to QLab
Has this worked recently for anyone on Big Sur?
MacOS 11.5.2

Doesn't work running the script in QLab.
Running the script in Script Editor doesn't trigger the projector, and I get some "unauthorized" messages in the result
"<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"
<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">
 <head>
 <title>401 - Unauthorized</title>
 </head>
 <body>
 <h1>401 - Unauthorized</h1>
 </body>
</html>"

Also when I try to shortcut the process and just paste "http://admin1:pana...@192.168.8.114/cgi-bin/power_on.cgi" into Safari, it simply takes me to the login page without executing any action.
In Chrome, pasting the same thing takes me straight through and executes the command, even when I've cleared my cookies.
So that leads me to believe that something may have changed slightly with MacOS...?


The ultimate goal is to load the lens memories, which ProjectorManager doesn't appear to support.

micpool

unread,
Feb 8, 2022, 11:31:22 AM2/8/22
to QLab
I don't have any projectors to hand to test this, and this probably isn't very helpful,  but your experience would seem to tally with this post:


which I would summarise as

Some Panasonic projectors work with curl  and some don't

The ones that won't work with curl,  will work  if you paste the same URL directly  into Chrome.

Mic

Tim Reid

unread,
Nov 14, 2024, 10:23:57 AM11/14/24
to QLab
Hi,

stumbled on this thread while searching for a way to control Panasonic Lens Memories - this is working on a Panasonic MZ20k

- just change the number at the end to the memory you want to trigger.

Best
Tim

ccca·

unread,
Mar 5, 2025, 2:43:10 PM3/5/25
to QLab
that script that is being copied here and there didn't work for me. I have Panasonic PT-MZ880. The problem was the authentication. When I put projector IP in a browser, it promted me for username and password and the problem was that the script "couldn't fill" the prompt. So I tested the script before running it in qLab, I put it in mac's Script Editor so I could easily see the output. When everything works, it will be a html page confirming what you have done. There was all the time that  authentication error. With help of ChatGPT here comes version of the script that works for me and hopefully helps others with the same problem:


set 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.xxx.xxx" -- Projector IP
set theUsername to "admin1" -- Projector Username
set thePassword to "panasonic" -- Projector Password
set theCommand to shutterClose -- Command: powerOn, powerOff, shutterClose, shutterOpen

# Do not change anything below this line

set theProtocol to "http"
set theBaseURL to theProtocol & "://" & theServer & theCommand
set theFinalURL to quoted form of theBaseURL

try
-- Use --digest for authentication
set theResult to do shell script "/usr/bin/curl --connect-timeout 1 --digest --user " & theUsername & ":" & thePassword & " " & theFinalURL
end try
Reply all
Reply to author
Forward
0 new messages