← Back

ofxPJControl

github.com/nullboundary/ofxPJControl · @nullboundary
OF 0.11 Hardware Interface

Openframeworks addon for projector control through a network, allows you to control PJLink Projectors, NEC, Christie, Epson, Barco, etc.

46 19 Last commit 6y ago Created 16y ago

Forks

Forks pushed to more recently than nullboundary/ofxPJControl itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

LSka/ofxPJControl by @LSka · ★ 0 · pushed 9mo ago
yuyankn/ofxPJControl by @yuyankn · ★ 0 · pushed 1y ago
saynono/ofxPJControl by @saynono · ★ 0 · pushed 4y ago
yokecph/ofxPJControl by @yokecph · ★ 0 · pushed 4y ago

README

ofxPJControl



An openFrameworks addon to send commands to video projectors over a network

Supported Projectors



Dependency



PJLink Specification



http://pjlink.jbmia.or.jp/english/data/5-1_PJLink_eng_20131210.pdf

"PJLink enables central control of projectors manufactured by different vendors and projectors can be operated by a controller."

------------------------------------------------------

Method list:

``cpp bool On(); //command to turn the projector on bool Off(); //command to turn the projector off bool sendPJLinkCommand(string command); //send any PJLink command to the projector void setup(string IP_add="192.168.0.100",int protocol=PJLINK_MODE, string password=""); //default void setProjectorType(int protocol); //NEC_MODE, PJLINK_MODE, etc void setProjectorIP(string IP_add); //the network IP of the projector void setProjectorPassword(string passwd); //password for PJLink authentication bool getProjectorStatus(); //return whether projector is on (true) or off (false) void setProjectorPort(int port); //the network port of the projector bool sendCommand(string command); //send any string command to the projector without password authentication

Projector Mode list:

cpp PJLINK_MODE NEC_MODE CHRISTIE_MODE SANYO_MODE PJDESIGN_MODE

`



Example:



Step 1. in the testApp.h:
`cpp

include "ofxPJControl.h"

ofxPJControl projector1;

Step 2. in the testApp.cpp:
cpp //Your projectors IP, and if its not PJLINK try another mode. projector1.setup("192.168.1.281",PJLINK_MODE,"mypassword"); projector1.On(); projector1.Off();
``

Author



Get this addon

HTTPS
SSH