valkjsaaa / homebridge-epson-projector

EPSON Projector automation, via Homebridge for the impatient.
11 stars 9 forks source link

turn OFF projector -no answer Epson EH-TW9300 #1

Open samsonovss opened 6 years ago

samsonovss commented 6 years ago

sorry my english turn on the projector - good turn OFF projector - bad

After shutdown there is no response in home kit three minutes later, the answer is received

FIX: (PWR=OFF) please replace with (KEY=3B and KEY=3B) double-click

as in this script Python: https://gist.github.com/0x4C4A/645b7a97281d624d88e29fcd7330fd75

There are other command:


Main Keys:

POWER: KEY=3B HDMI1: KEY=4D HDMI2: KEY=40 PC: KEY=44 VIDEO: KEY=46 USB: KEY=85 LAN: SOURCE=53 MUTE: KEY=3E


Picture Modes:

Dynamic: CMODE=06 Bright Cinema: CMODE=0C Natural: CMODE=07 Cinema: CMODE=15 B&W Cinema: CMODE=20 Digital Cinema: CMODE=22


Image Settings:

4K "Preset Modes": IMGPRESET=00..05 (00 = Off, 01 = Preset 1, 02 = Preset 2, etc) Power Consumption: LUMINANCE=00..02 (00 = High, 01 = ECO, 02 = Medium) Auto Iris: IRIS=00..02 (00 = Off, 01 = Normal, 02 = High)


Preset Memory:

Load Memory Slot 1-10: POPMEM=02%20[01..0A] (01=Slot 1, 02=Slot 2 ... 0A=Slot 10). So, Load slot 8 would be: POPMEM=02%2008 Save Memory Slot 1-10: PUSHMEM= (same as above)


Lens Memory:

Load Memory Slot 1-8: POPLP=01..08 (01 = Slot 1, 02 = Slot 2, etc) Save Memory Slot 1-8: PUSHLP=01..08 (same as above)

danmarker7 commented 4 years ago

How were you able to get the command to enter 2 times to enter standby? I tried to edit index.js but I couldn't figure out the command to add delay and repeat.

    if (powerOn) {
        command = "PWR=ON";
    } else {
        command = "KEY=3B";