fredrik-eriksson / kodi_projcontrol Goto Github PK
View Code? Open in Web Editor NEWService add-on to Kodi for controling projectors
License: Other
Service add-on to Kodi for controling projectors
License: Other
Hi. Having my Kodi instance handle the project seem like a good idea. I got a InFocus projector with a serial port interface, and the protocol is trivial and well documented. Would you be willing to help me integrate support for it into this add-on?
A small python script talking to the projector is available from <URL: https://github.com/petterreinholdtsen/infocus-projector-control >. As you can see there, it is fairly simple to talk to the projector.
I would love to turn the projector automatically off shortly after the screen saver kick in, to save the bulb. Do you have any idea how to make that happen with Kodi? It could even turn on the projector again when the screen saver is deactivated. :)
I'm unable to find this add-on in the official repositories. Would you consider adding it there, to make it easier to install for the untrained user?
I searched for it using <URL: https://kodi.tv/addons/browse?keyword=epson&category=All&author=&sort=title+ASC >.
Perhaps it is time to update the code to work with python 3 and the recent Kodi versions?
Hi,
thanks for the plugin, it seems to be someting I was looking for.
Is possible to add support for Acer V7500 projector?
The RS232 protocol is here:
https://global-download.acer.com/GDFiles/Document/User%20Manual/User%20Manual_Acer_1.0_A_A.xls?acerid=636409803890749228
Thanks!
From IRC:
feffe: btw, is the resources/language/English/strings.po directory structure required in kodi? it is quite unlike what I have seen in other free software projects.
[rechi] resources/language/ path is hardcoded in Kodi
[rechi] rename English directory to resource.language.en_gb (just a folder with the language name is deprecated)
will it work with simply resources/language/en.po and resources/language/sv.po ?
I fail to see the point of having a directory with only one file in it...
[rechi] no that doesn't work
resources/language/resource.language.en_gb/strings.po is the correct path
why en_gb instead of only en?
[rechi] language_region
eg en_us is a different language
actually, it is language_country, and I am asking if Kodi is smart enough to handle only language, or if it believe all languages are country specific. In other words, is it following RFC 3066 or did it make up its own scheme?
[Did not get a reply to the last one before I went to bed. :)]
At the moment, the projector is turned off the second the screen saver kick in. This causes problems with my InFocus projector, which can not be turned on again before it had some time to cool down. This make it impossible to quickly recover from the screen saver kicking in while I still want to use the system.
It would be better if the projector would turn itself off 1-2 minutes after the screen saver kick in.
This Protocol is Valid for the following (and maybe more) Devices of the Brand 3M:
Proved compatible: x62, x62w, x64, x64W
There are many other Projectors from this Series, i allready contacted the Company to get Information on this.
You can find the Control Protocol here: https://www.projektoren-datenbank.com/pdf/3mx62-rs232c.pdf
Thanks for doing this <3
@fredrik-eriksson, thanks for the add-on! I have an Epson Powerlite 820p connected over USB, would it be possible to add support for this device?
I just noticed this message in my /storage/.kodi/temp/kodi.log:
08:21:40.154 T:1744417696 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: global name 'monitor' is not defined
Traceback (most recent call last):
File "/storage/.kodi/addons/service.projcontrol/lib/monitor.py", line 72, in onScreensaverDeactivated
monitor.waitForAbort((min_turnaround-time_since_stop.seconds)*1000)
NameError: global name 'monitor' is not defined
-->End of Python script error report<--
Hi! Many Benq projectors have an RS232 socket. The protocol for controlling it is public on their website.
I don't currently have time but I'm happy to give this a crack myself once I do have time (in about a month or so)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.