Display platform and Fully Kiosk Browser component

hey @lerroy_b,

yes, this is related to some changes in the dev side. you can find this here: https://developers.home-assistant.io/blog/2019/02/19/the-great-migration.html

I think the change should be done both in the path to the config and the component itself. This is how I understand the change.

hope this helps!

I have raised this as an issue on github: Issues with version 88.1 · Issue #7 · daemondazz/homeassistant-displays · GitHub

as follows:

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

I have started a new thread relating to the above issue here:

I have created a Pull Request to fix this issue for HA 0.88+. Do give it a spin! :slight_smile:

Once this PR is reviewed and merged by @daemondazz then this platform should be compatible with future Home Assistant versions.

2 Likes

I’ve pushed some changes that fixes async problems with the display component and fully_kiosk platform and also have done a bit of a refactor to simplify things a bit.

Please note the names of some of the services have changed, so check the README file out for details.

1 Like

Thanks for this component !
I installed it on HA 0.93 and it works perfectly for my Archos Hello 10 tablet.

Wanted to use this for a tablet and HA, but I have the custom compact header installed which needs javascript. How do you enable javascript in the Fully Kiosk browser? I looked through all the settings but don’t seem to be able to find it. Is there something special I need to do?

Works brilliand on 0.94.0 so far.

One questoin though: How do you “call” an URL?

automation:
  - alias: '[Kitcehen] Turn On'
    trigger:
      platform: state
      entity_id: binary_sensor.motion_sensor_xxxxxxxxxxxxx
      from: 'off'
      to: 'on'
    action:
    - service: display.turn_on
      entity_id: display.kitchen_tablet
    - delay: 
        seconds: 2
    - service: fully_kiosk.screensaver_stop
      entity_id: display.kitchen_tablet
    - delay: 
        seconds: 2      
    - service: display.load_url     
      entity_id: display.kitchen_tablet
      data:
        url: http://xxx.xxx.xxx.xxx:8123/lovelace/1

But I don’t think the ‘data’ part is correct - well it doesn’t work :blush:

EDIT: Well actyally that did work :blush:.
For some reason I had to reboot my Tablet and then it worked.

Hey man,

Just letting you know you did an awesome job with this one. It took me a few hours to get it setup, didn’t know the ‘#’ in the secrets.yaml would cause it to comment out the password. If possible could you add some states in your documentation on how to pull those I had to go through the comments to check it but in the end I managed to get it working.

Thanks!

Hey guys,

I ran through the breaking changes of the 104 and 104.1 update, but couldn’t find anything regarding this.
But after the upgrade I get that the integration was not set up?

What did I miss?

EDIT: Missed the _init_py file update that was fixed along with the 104 update.

Thanks!

1 Like

Yep, 0.104 removed the groups.all_xxx entities, so had to remove the setup for that.

Hey, what’s the news on this component since HACS? I was using it to turn off the screensaver on my kindle tablets when a person was detected outside to bring up the camera feed… But since I moved to HACS, I lost this component and am not able to add it as a custom component… Any chance of bringing it up to date?

1 Like

Going to answer my question as it doesn’t seem like this will make it into HACS and others might be forced to move off this component when they go to HACS too. I ended up implementing the screensaver functionality just with a shell command integration by adding this to my configuration.yaml:

shell_command:
  fully_kiosk_stop_screensaver: "/usr/bin/curl -X POST 'http://[YOUR_FULLY_KIOSK_IP]:2323/?cmd=stopScreensaver&type=json&password=[FULLY_KIOSK_PASSWORD]'"

You can actually replicate more or less all of the functionality of this component in similar ways. There are some good guides to get you started here, here, and here. It’s also worth noting that this does work on homeassistant supervised (formerly hass.io), at least for me.

1 Like

i get the following when i restart HA. what i should I do?

What command would I send to control the brightness?

Use this:

http://your.tablet.ip.address:2323/?cmd=setStringSetting&key=screenBrightness&value=1&type=json&password=your_password

got this from here:

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:

display:
  - platform: fully_kiosk
    name: Bathroom Tablet
    host: '192.168.0.179'
    password: !secret http_password

since the update it will not let me reboot unless i remove the above from the YAML.
it comes back and says:

[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?

Same issue here with the June updates. I ended up having to comment out the display platform to be able to reboot, but as a result lost all functionality.

Same issue here. Got config error and had to comment out to get back up and running.

Saw you were having the same issue as I was. And discovered that @GuruPG opened an issue on GitHub. Seems to be resolved, haven’t tested as yet personally. Thought you’d like to know.

https://github.com/daemondazz/homeassistant-displays/issues/24

Update 6/8: Confirmed it works now with the updated build. Did have to edit the manifest.json to read “display” instead of “displays” though.