solowalker27 / homebridge-benq-projector Goto Github PK
View Code? Open in Web Editor NEWHomebridge plugin for BenQ projectors via serial RS232
License: MIT License
Homebridge plugin for BenQ projectors via serial RS232
License: MIT License
Hey there,
Trying to install v2.0.0 but one of the dependencies is [email protected]
which doesn't exist on npmjs.com. As a result, my npm
cannot install your update. To be clear, [email protected]
exists, just not that version.
Thank you for working on this plugin, it's exactly what I need for my setup!
I have observed this problem over the last few weeks, trying to figure out a solution. After about 1 hour, the reaction time between telling Homebridge to start the projector and the projector actually starting gradually increases, up until the point where it no longer responds at all.
If I restart the Homebridge process, it goes back to a reasonable amount of delay.
My projector is a SB840, and from all documentation and testing should have the same serial commands as other Benq projectors. However, the plugin returns several errors when trying to gather states from the projector, such as Input state, Power state and Mute state.
System details:
Node.js v12.16.1
Npm v6.14.3
Homebridge v0.4.53
Config-ui-x v4.13.0
Homebridge-Benq-Projector v1.0.6
HW: Raspberry Pi 2B1.1/3B1.2
2 different USB-RS232 dongles
BenQ SB840 projector
Wired ethernet connection
Please tell me if you would need any details, configuration files, log files or other information.
First off - killer plugin. Input selection and on/off are working great for me. Thanks!
However, I cannot get Home.app to recognize any volume controls for the projector. I see that you're registering the Service.TelevisionSpeaker
here, and there doesn't seem to be any condition around calling this function: https://github.com/solowalker27/homebridge-benq-projector/blob/master/index.js#L458
With debug mode on in Homebridge I don't see anything out-of-the-ordinary either.
Is the volume control supposed to appear as a different accessory or something?
Hi,
first of all: Thank you for your work on this plugin.
I am having troubles getting this plugin to run.
I receive the following error
My USB-RS232 adaptor is connected to ttyUSB0
My config looks like this:
{
"accessory": "BenQ-Projector",
"name": "Projector",
"model": "W1070",
"adapter": "/dev/ttyUSB0",
"inputs": [
{
"input": "hdmi",
"label": "Apple TV"
},
{
"input": "hdmi2",
"label": "Raspberry Pi"
}
]
}
Any idea what could cause this issue?
Any help would be highly appreciated.
Hi getting this issue with homebridge v.1.4.0:
Error: The module '/homebridge/node_modules/homebridge-benq-projector/node_modules/@serialport/bindings/build/Release/bindings.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 83. This version of Node.js requires NODE_MODULE_VERSION 93. Please try re-compiling or re-installing the module (for instance, using
npm rebuildor
npm install). at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18) at bindings (/homebridge/node_modules/homebridge-benq-projector/node_modules/bindings/bindings.js:112:48) at Object.<anonymous> (/homebridge/node_modules/homebridge-benq-projector/node_modules/@serialport/bindings/lib/linux.js:2:36) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32)
The plug-in download fails when trying to install v2.1.0 / latest from the npm registry, albeit the fact that npm lists this as the latest version.
The plugin did not work for me at first.
After I tried to control the beamer manually with GTKTerm, I noticed that the corresponding rights for accessing /dev/ttyUSB0 were missing. (I use an Ubuntu with the user ubuntu and not root on my Homebridge server). After I changed the file access rights with "sudo chmod 777 /dev/ttyUSB0" it worked without problems. The rights can of course be specified more precisely and not so freely that everyone has access.
It would be great if this could be mentioned in the documentation for beginners who are not familiar with serial connections under Linux.
Great plugin thanks for the development.
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.