Read the statement by Michael Teeuw here.
Strip Down Guide for BenQ 28" VA Monitor GC2870H
-
Are you sure the touch sensor works behind the mirror? It’s pretty expensive and it would be a pity if it doesn’t. Touch-anything generally doesn’t work behind the mirror because of the metallic coating.
What mirror are you using and where did you get it from? I am still looking for a better alternative for mine. Not very happy with the transmission of only 8%.
-
@madscientist that is what I am afraid of as well, the metal coating sure does not help… but worst case I will put them on the aluminum frame below from the outside and a nice cover on top
I got the mirror from here: Glas-star.de
-
@madscientist you were right, it does not work well behind the mirror. I will keep the sensor anyway as the way it is designed it is easier to affix to my aluminum frame. I am now thinking of getting small black plexiglas casing to attach to the bottom part to control the mirror and make it look nice… let’s see.
So this could be the plan:
-
Plexiglas with Cutout letters
-
behind that translucent plexiglas
-
glue together
-
LED Strip on top of translucent glas to illuminate the cutout letters
-
enjoy?
-
-
I am just going to follow up on that, I found a different solution. I am using a HUE Dimmer Switch that is controlled via FHEM and it controls a python script running on MagicMirror to play my podcast and change the volume:
(I found that script somewhere on github and modified it a bit)
#!/usr/bin/python3 -u host_name = '10.0.1.49' host_port = 8000 import RPi.GPIO as GPIO import os import subprocess import signal from subprocess import call from time import sleep from http.server import BaseHTTPRequestHandler, HTTPServer class MyServer(BaseHTTPRequestHandler): def do_HEAD(self): self.send_response(200) self.send_header('Content-type', 'text/html') self.end_headers() def do_GET(self): global proc html = ''' <html> <body style="width:960px; margin: 20px auto;"> <h1>Magic Mirror Control</h1> <p>Current GPU temperature is {}</p> <p>Podcast: <a href="/play">Play</a> <a href="/stop">Stop</a></p> <p>Volume: <a href="/down">down</a> <a href="/up">up</a></p> <p>System: <a href="/shutdown">Shutdown</a> <a href="/restart">Restart</a></p> <div id="podcast-status"></div> <script> document.getElementById("podcast-status").innerHTML="{}"; </script> </body> </html> ''' temp = os.popen("/opt/vc/bin/vcgencmd measure_temp").read() self.do_HEAD() status = '' if self.path=='/': status='nothing' elif self.path=='/play': proc = subprocess.Popen(["omxplayer", "-o", "alsa:hw:ALSA", "--no-osd", "/tmp/video.mp4"], preexec_fn=os.setsid) status='Playing Podcast' elif self.path=='/stop': status='Stopping Podcast' os.killpg(os.getpgid(proc.pid), signal.SIGTERM) elif self.path=='/shutdown': status='Shutdown' subprocess.Popen(["sudo", "shutdown", "-h", "now"], preexec_fn=os.setsid) elif self.path=='/restart': status='Restart' subprocess.Popen(["sudo", "reboot"], preexec_fn=os.setsid) elif self.path=='/down': status='Volume down' subprocess.Popen(["amixer", "set", "Master", "12%-"], preexec_fn=os.setsid) elif self.path=='/up': status='Volume up' subprocess.Popen(["amixer", "set", "Master", "12%+"], preexec_fn=os.setsid) self.wfile.write(html.format(temp[5:], status).encode("utf-8")) if __name__ == '__main__': http_server = HTTPServer((host_name, host_port), MyServer) print("Server Starts - %s:%s" % (host_name, host_port)) try: http_server.serve_forever() except KeyboardInterrupt: http_server.server_close()
-
Hello,
Would it be possible to use a relay to power/unpower the screen ? On the sheet you show pin 3/4 power the backlight correct?
Thanks
-
-
Well i’m not sure, i don’t use the magic mirror OS but home made application. I use a pir sensor, i would like to have instant poweron/poweroff without any OSD message on screen. So My question was if i cut the pin 3 or 4 on the backlight connector will it work ? To be clear when the PIR detect someone the relay connect the PIN (3 or 4) after few seconds relay disconnect the PIN (3 or 4)
-
@adrien That should still be possible with the script method described in 5.1. Instead of the power lines for the controller board of the LCD you use the cables that lead to your backlight.
I don’t know what LCD you have. Some have an extra inverter or LED driver board. You can take the cables from there. Some have a 40 pin LVDS cable (instead of 30 pin), so you have to check the datasheet which wires are for the backlight. I’d take the VCC wire for the backlight, snip it and connect both lose ends to the relay. That should work.
Keep in mind that with this method the LCD is always on, only the backlight is off.
-
Thanks for your help. I use the same model :BenQGC2870H. I would like to combine a solution where i have a minimum power consumption and fast without osd message boot.
-
@adrien Hi Adrien, that was my initial plan but I use the two relays now for my speakers to avoid the initial crack sound when powering on the amplifier und I use one relay for the monitor power supply and one for the amplifier.