Comments (9)
There is no version 0.0.9 yet of the HA integration, however there is a 0.0.8 beta release which contains the latest benqprojector library with the changes required for your projector. You have to enable beta releases in HACS to be able to install this release.
https://hacs.xyz/docs/faq/beta/
from homeassistant-benqprojector.
I got the 0.0.8 version installed, unfortunately I got the following error in the HA log
This error originated from a custom integration.
Logger: custom_components.benqprojector.config_flow
Source: custom_components/benqprojector/config_flow.py:113
Integration: BenQ Projector (documentation, issues)
First occurred: 2:24:57 PM (1 occurrences)
Last logged: 2:24:57 PM
Unexpected exception: ('modelname', '?', '*illegal forma')
Traceback (most recent call last):
File "/config/custom_components/benqprojector/config_flow.py", line 64, in async_step_setup_serial
info = await self.validate_input_setup_serial(user_input, errors)
File "/config/custom_components/benqprojector/config_flow.py", line 113, in validate_input_setup_serial
projector.connect()
File "/usr/local/lib/python3.10/site-packages/benqprojector/benqprojector.py", line 210, in connect
model = self._send_command("modelname")
File "/usr/local/lib/python3.10/site-packages/benqprojector/benqprojector.py", line 374, in _send_command
return self._parse_response(command, action, _command, response)
File "/usr/local/lib/python3.10/site-packages/benqprojector/benqprojector.py", line 430, in _parse_response
raise InvallidResponseError(command, action, response)
benqprojector.benqprojector.InvallidResponseError: ('modelname', '?', '*illegal forma')
from homeassistant-benqprojector.
Could you change the manifest.json
to use benqprojector==0.0.12.1
as the dependency?
from homeassistant-benqprojector.
Made the change the Manifest.json.
I ran through the setup and now I get this error in HA "Error
Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble" and won't go further
from homeassistant-benqprojector.
Make sure you've got all quotes and commas in the JSON right. This is what mine looks like:
{
"domain": "benqprojector",
"name": "BenQ Projector",
"version": "0.0.9",
"config_flow": true,
"documentation": "https://github.com/rrooggiieerr/homeassistant-benqprojector",
"issue_tracker": "https://github.com/rrooggiieerr/homeassistant-benqprojector/issues",
"requirements": [
"benqprojector==0.0.12.1"
],
"ssdp": [],
"zeroconf": [],
"homekit": {},
"dependencies": [],
"codeowners": [
"@rrooggiieerr"
],
"iot_class": "local_polling",
"integration_type": "device",
"loggers": ["benqprojector"]
}
from homeassistant-benqprojector.
ya I don't remember putting 121 in Json just 12 but missing the "." seems to have casused it
Logger: homeassistant.util.package
Source: util/package.py:100
First occurred: February 21, 2023 at 9:20:33 PM (3 occurrences)
Last logged: February 21, 2023 at 9:20:43 PM
Unable to install package benqprojector==0.0.121: ERROR: Could not find a version that satisfies the requirement benqprojector==0.0.121 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.6.1, 0.0.7, 0.0.7.1, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.12.1) ERROR: No matching distribution found for benqprojector==0.0.121 [notice] A new release of pip available: 22.3 -> 23.0.1 [notice] To update, run: pip install --upgrade pip
So fixed the Manifest file
{
"domain": "benqprojector",
"name": "BenQ Projector",
"version": "0.0.8",
"config_flow": true,
"documentation": "https://github.com/rrooggiieerr/homeassistant-benqprojector",
"issue_tracker": "https://github.com/rrooggiieerr/homeassistant-benqprojector/issues",
"requirements": [
"benqprojector==0.0.12.1"
],
"ssdp": [],
"zeroconf": [],
"homekit": {},
"dependencies": [],
"codeowners": [
"@rrooggiieerr"
],
"iot_class": "local_polling",
"integration_type": "device"
}
now its back to
This error originated from a custom integration.
Logger: benqprojector.benqprojector
Source: custom_components/benqprojector/config_flow.py:113
Integration: BenQ Projector (documentation, issues)
First occurred: 10:49:14 AM (2 occurrences)
Last logged: 10:49:48 AM
Unexpected response format, response: *ildlegal for>
from homeassistant-benqprojector.
Ii released a net testing version of the library, could you change the version to 0.0.12.2
and try again?
from homeassistant-benqprojector.
ok this message looks different
This error originated from a custom integration.
Logger: custom_components.benqprojector.config_flow
Source: custom_components/benqprojector/config_flow.py:96
Integration: BenQ Projector (documentation, issues)
First occurred: 9:45:19 AM (1 occurrences)
Last logged: 9:45:19 AM
Unexpected exception: Invalid.init() missing 1 required positional argument: 'message'
Traceback (most recent call last):
File "/config/custom_components/benqprojector/config_flow.py", line 64, in async_step_setup_serial
info = await self.validate_input_setup_serial(user_input, errors)
File "/config/custom_components/benqprojector/config_flow.py", line 96, in validate_input_setup_serial
raise vol.error.RequiredFieldInvalid()
TypeError: Invalid.init() missing 1 required positional argument: 'message'
from homeassistant-benqprojector.
This error happens on a totally different place in the code and I don't understand how that canhappen if you have already configured your projector.
Do you use a different serial to USB controller or other USB port since you've configured your projector in HA?
from homeassistant-benqprojector.
Related Issues (12)
- No command echo received and Unexpected exception: Failed to retrieve projector model on BenQ X3000i HOT 6
- Projector 'OFF' status is not detected correctly. Will not turn on through dashboard. HOT 21
- Network Support W5700 HOT 15
- Failed to connect with virtual comport HOT 39
- Network connection HOT 7
- Doesn't Appear to Work with BenQ HT3550 HOT 7
- Still intressted to integrate network connection? HOT 42
- TK700STI no input selection HOT 19
- Please update to newest stable release of benqprojector.py HOT 16
- Error when trying to configure my projector HOT 37
- Can the Mini USB slot be used to control BenQ W2700? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant-benqprojector.