daemondazz / homeassistant-displays Goto Github PK
View Code? Open in Web Editor NEWCustom display platform and components for Home Assistant
Custom display platform and components for Home Assistant
Sorry, looks like its still an issue.
I have deleted my 'display' and 'fully_kiosk' folders from HA and replaced with the latest ones you have just updated but I'm having the same issue.
works fine on core 2021.5.5 but as soon as i update to 2021.6.1 it gives me the Integration 'display' not found error.
This has seemed to stop working with the latest HA update.
Running the following version:
Home Assistant OS 5.13
Core 2021.6.1
Supervisor 2021.05.4
I have not changed anything in the YAML.
it has always been:
Copy to clipboard
display:
Copy to clipboard
[2743349152] The system cannot restart because the configuration is not valid: Component error: display - Integration 'display' not found.
11:50:46 – (ERROR) Home Assistant WebSocket API
The system cannot restart because the configuration is not valid: Component error: display - Integration 'display' not found.
11:50:46 – (ERROR) Home Assistant Supervisor
anyone else had any issues?
As of Home Assistant 2021.4.0, all components should have a version attribute on the manifest file.
This shows up on the log:
No 'version' key in the manifest file for custom integration 'display'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'display'
Thank you.
2018-03-23 20:57:28 ERROR (MainThread) [custom_components.display] Error while setting up platform fully_kiosk
Traceback (most recent call last):
File "/opt/homeassistant/lib/python3.6/site-packages/urllib3/connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/opt/homeassistant/lib/python3.6/site-packages/urllib3/util/connection.py", line 83, in create_connection
raise err
File "/opt/homeassistant/lib/python3.6/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/homeassistant/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/opt/homeassistant/lib/python3.6/site-packages/urllib3/connectionpool.py", line 357, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib64/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib64/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/lib64/python3.6/http/client.py", line 964, in send
self.connect()
File "/opt/homeassistant/lib/python3.6/site-packages/urllib3/connection.py", line 166, in connect
conn = self._new_conn()
File "/opt/homeassistant/lib/python3.6/site-packages/urllib3/connection.py", line 150, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fbc2c96b400>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/homeassistant/lib/python3.6/site-packages/requests/adapters.py", line 440, in send
timeout=timeout
File "/opt/homeassistant/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/opt/homeassistant/lib/python3.6/site-packages/urllib3/util/retry.py", line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.4.70', port=2323): Max retries exceeded with url: /?cmd=deviceInfo&password=too+much+too+much&type=json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fbc2c96b400>: Failed to establish a new connection: [Errno 111] Connection refused',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 82, in async_setup
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/lib64/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/usr/lib64/python3.6/asyncio/futures.py", line 243, in result
raise self._exception
File "/usr/lib64/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/conf/custom_components/display/fully_kiosk.py", line 42, in setup_platform
if fully.update():
File "/opt/homeassistant/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 319, in wrapper
result = method(*args, **kwargs)
File "/conf/custom_components/display/fully_kiosk.py", line 87, in update
data = self._send_command('deviceInfo').json()
File "/conf/custom_components/display/fully_kiosk.py", line 109, in _send_command
return requests.get(self.url, params={'cmd': command, 'password': self.password, 'type': 'json'})
File "/opt/homeassistant/lib/python3.6/site-packages/requests/api.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "/opt/homeassistant/lib/python3.6/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/homeassistant/lib/python3.6/site-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/opt/homeassistant/lib/python3.6/site-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/opt/homeassistant/lib/python3.6/site-packages/requests/adapters.py", line 508, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.4.70', port=2323): Max retries exceeded with url: /?cmd=deviceInfo&password=too+much+too+much&type=json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fbc2c96b400>: Failed to establish a new connection: [Errno 111] Connection refused',))
Adding to HACS would make it easier for others to find this and use it.
So i was able to get to the services and install custom components. I Assigned my device via the config.yaml. I am unable to get my android devices to respond to the call services. How in android do you enable remote management? (I tried google rather unsuccesfully)
The Fully Kiosk Rest API already shows whether or not motion has been detected. If I login and do remote admin via port 2323, I can see whether or not motion has been detected.
Therefore it should be fairly easy to have this component support motion detection from the kiosk tablet as well. I would love to have this feature.
The same goes for acoustic and movement features as seen on the remote admin page:
Invalid data for call_service at pos 2: length of value must be at most 0 for dictionary value @ data['brightness']
Hi -- awesome add-on. I have it installed per instructions, it seems to be working for me, however, after I check my config I get the following error:
Invalid config for [display]: [name] is an invalid option for [display]. Check: display->name. (See /config/configuration.yaml, line 53). Please check the docs at https://home-assistant.io/components/display/
Running 0.94.4 -- thanks
My configuration.yaml section, line 53 is 'name' line. Thank you
display:
I've checked indentation etc, doesn't seem to be the issue.
When starting up it shows the following:
Jan 16 09:54:32 hass hass[37637]: 2020-01-16 09:54:32 ERROR (MainThread) [homeassistant.setup] Error during setup of component display
Jan 16 09:54:32 hass hass[37637]: Traceback (most recent call last):
Jan 16 09:54:32 hass hass[37637]: File "/srv/hass/lib/python3.8/site-packages/homeassistant/setup.py", line 169, in _async_setup_component
Jan 16 09:54:32 hass hass[37637]: result = await component.async_setup( # type: ignore
Jan 16 09:54:32 hass hass[37637]: File "/home/hass/.homeassistant/custom_components/display/__init__.py", line 72, in async_setup
Jan 16 09:54:32 hass hass[37637]: component = EntityComponent(
Jan 16 09:54:32 hass hass[37637]: TypeError: __init__() takes from 4 to 5 positional arguments but 6 were given
Hello,
am having issues with the component in the new version of Home assistant.
As its a custom component they refereed me to you.
Home Assistant release with the issue:
0.88.1
Last working Home Assistant release (if known):
0.87
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Component/platform:
https://www.home-assistant.io/custom_components/display/fully_kiosk
Description of problem:
As of 0.88.1 a warning is shown:
Your configuration contains extra keys that the platform does not support (but were silently accepted before 0.88). Please find and remove the following.This will become a breaking change.
- [name], [host], [password]. (See /config/configuration.yaml, line 70).
- [name], [host], [password]. (See /config/configuration.yaml, line 74).
- [name], [host], [password]. (See /config/configuration.yaml, line 78).
- [name], [host], [password]. (See /config/configuration.yaml, line 82).
Problem-relevant configuration.yaml
entries and (fill out even if it seems unimportant):
#tablet battery
display:
- platform: fully_kiosk
name: Dining Tablet
host: '192.168.0.179'
password: !secret http_password
- platform: fully_kiosk
name: Lobby Tablet
host: '192.168.0.168'
password: !secret http_password
- platform: fully_kiosk
name: TV Tablet
host: '192.168.0.185'
password: !secret http_password
- platform: fully_kiosk
name: 'Nexus 10 Tablet'
host: '192.168.0.183'
password: !secret http_password
upgraded to HA 0.97.0 and fire kiosk display component stops working.
Invalid config for [display]: [name] is an invalid option for [display]. Check: display->name. (See /config/configuration.yaml, line 659). Please check the docs at https://home-assistant.io/components/display/
Switch on/off generates this error:
2019-03-30 12:05:44 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/app/homeassistant/core.py”, line 1138, in async_call
self._execute_service(handler, service_call))
File “/usr/src/app/homeassistant/core.py”, line 1160, in _execute_service
await handler.func(service_call)
File “/config/custom_components/display/init.py”, line 82, in async_handle_display_service
for display in target_displays:
TypeError: ‘coroutine’ object is not iterable
😄 One of my tablets is not getting picked up at start up and doesn't ever get discovered (some of the times I restart). Other times, it works fine. Since I couldn't find anything in the logs, I think the component is not trying to discover the tablet after failing. I've tried the ping diagnostic and tablet is responding to pings
This highly useful component could be even better if this handling was improved. Thanks a ton!
The default switch added to HomeAssistant frontend can successfully turn off
the screen but not on
. When I click on the switch the screen turn off
and the switch immediately go back to the on
position (not the screen) and If I use the display.turnon
service in a script it dosen't work either.
0.68.1
running on RPi3Config file :
display:
- platform: fully_kiosk
name: Android Tablet
host: 192.168.1.193
password: !secret general_password_3
Hi
been loving the component but as of today Im getting an error with HA 0.88
Integrations need to be in their own folder. Change display/fully_kiosk.py to fully_kiosk/display.py. This will stop working soon.
thanks
So the wallpanel app for android is revived and offers most of the fullykiosk functionality ( https://github.com/thanksmister/wallpanel-android ). Would you consider adding support for it please?
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.