Plugin to pilot a Sony video projector with the Eedomus.
This plugin allows you to send commands to a Sony video projector via ADCP protocol over Ethernet.
In order for the Eedomus to dialog with the video projector, it must obviously be connected to your Ethernet network and ADCP protocol must be enabled.
(To check this, open IP Address of your video projector with your browser. Open Setup menu. Then in advanced menu, open ADCP section)
If you setup ADCP with a password, the script will automatically detect it and will use the one provided during the plugin installation.
If you change it afterwards you will have to update [VAR2] of the HTTP actuator.
The video projector should be configured with a fixed IP address, else you will have to update it in the [VAR1] of the actuator at each change.
I implemented in the plugin only the commands below:
ON : Power on the video projector
OFF : Power off the video projector
PWRSTATUS : Get power status of the video projector (on, standby, cooling, startup)
HDMI1 : Switch video projector input to HDMI1
HDMI2 : Switch video projector input to HDMI2
MODEL : Get model reference of video projector
TIMER : Get power and lamp timers in hours
3D-SBS: Switch video projector in 3D Side-By-Side mode
MENU : Display/Hide video projector Menu
The plugin installation will create the Sony_ADCP.php script, an HTTP actuator and a State.
Operation is very simple: you chose one of the commands available on the HTTP Actuator and you'll get the result in the State associated.
The php script is using the 3 variables:
[VAR1] : IP address of the video projector
[VAR2] : ADCP password configured on the video projector
[VAR3] : API Code of the state associated (don't change it, else you won't see commands result)
The full list of commands available via ADCP is available here
The php script is assuming you didn't change the default TCP port for ADCP protocol (53595). If you changed it you must update the 29th line of the php script with the port number.