Comments (16)
Well, actually you can submit which commands are supported by your projector to the underlying benqprojector library. Instructions are on that page
done
from homeassistant-benqprojector.
I just released a new version, let me know if it solves your problems
from homeassistant-benqprojector.
Command macaddr=? not supported
Unexpected response: b'\r\n'
Command *ltim2=?# unsupported item
That's are the error's the integration still throws
from homeassistant-benqprojector.
Ok, could be that macaddr
and ltim2
is indeed not supported by your projector because it doesn't have a network connection and doesn't contains a second light. But the rest of the integration is working for you? You can control the projector from within HA?
from homeassistant-benqprojector.
Yes, I already could with master before.
But the errors are filling my logs full.
When switched on even more:
Command *pow=?# blocked item
Command *pp=?# blocked item
Command *ltim=?# blocked item
Command *ltim2=?# blocked item
Command *color=?# blocked item
Command *keyst=?# unsupported item
Command *ltim2=?# unsupported item
Command *autopower=?# unsupported item
Command *standbynet=?# unsupported item
Command *standbymic=?# unsupported item
from homeassistant-benqprojector.
Maybe you could first ignore \r\n response and then make a function that remembers what is unsupported
from homeassistant-benqprojector.
And make all this errors warnings instead
from homeassistant-benqprojector.
Well, actually you can submit which commands are supported by your projector to the underlying benqprojector library. Instructions are on that page
from homeassistant-benqprojector.
You can also disable the corresponding entities in HA and the messages for those unsupported commands should disappear.
from homeassistant-benqprojector.
I'm guessing the integration now works for you? So I'm closing this issue
from homeassistant-benqprojector.
Today I found out, that video source drop-down is missing. And other settings the benq supports are visible in benqprojector python library but not in the ha integration. And when I try to change for example contrast or brightness, everything gets unavailable for around 15-30 seconds.
Also:
Command *color=?# blocked item
Too busy to send audiosour=?
Too busy to send appmod=?
Too busy to send ct=?
Too busy to send asp=?
Too busy to send lampm=?
(Never tried to set them)
Unknown power status: None
Unexpected response format, response: *o=# *vol=10#
Unexpected response format, response: *lan=# *blank=off#
Unexpected response format, response: *audoor?
Unexpected response format, response: c#
Unexpected response format, response: *oor?
Unexpected response: b'*coo=\r\n'
Unexpected response: b'cn?\r\n'
Unexpected response: b'>\x00'
Unexpected response: b'*SAP1#\n'
Unexpected response: b'Illegal format\r\n'
from homeassistant-benqprojector.
I also faced some issues with my own projector. There happened to be an error in the library which I now fixed and the new release seems to work fine for me. Give it a try
from homeassistant-benqprojector.
Unexpected response: b'>\x00'
11 occurrences
Command *pow=?# blocked item
Command *pp=?# blocked item
Command *ltim=?# blocked item
48 occurrences
Unexpected error fetching custom_components.benqprojector data: '<=' not supported between instances of 'float' and 'NoneType'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 300, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/benqprojector/init.py", line 211, in _async_update_data
if not await self.hass.async_add_executor_job(self.projector.update_power):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/benqprojector/benqprojector.py", line 844, in update_power
and (time.time() - self._power_timestamp) <= self._poweron_time
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '<=' not supported between instances of 'float' and 'NoneType'
And everything just from switching on.
And after switching on, everything got unavailable....
from homeassistant-benqprojector.
After re adding the integration, I can at least use it to control again, but there are still all the settings missing like video source....
from homeassistant-benqprojector.
I don't have the model you have, so can't do any testing since it works for me. I think you have to do a bit more research yourself and try the benqprojector library to see what's going on with your projector
from homeassistant-benqprojector.
The library sees everything but the ha integration don't show everything. At least for the options....
The errors I need to figure later, but right now, after the last release, where there is a profile now for my device, the ha integration don't show options anymore, that the beamer supports like selecting video source or enable/disable auto video source switching
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
- not upgrading to Version 0.0.9 seems to be stuck at 0.0.7 HOT 9
- Network connection HOT 7
- Doesn't Appear to Work with BenQ HT3550 HOT 7
- Still intressted to integrate network connection? HOT 39
- TK700STI no input selection HOT 19
- 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.