kindle_infoscreen icon indicating copy to clipboard operation
kindle_infoscreen copied to clipboard

Generated HTML file does not show any elements

Open fixxolas opened this issue 4 years ago • 5 comments

Opened the generated in Chrome on my machine, but nothing shows up. Is this broken?

fixxolas avatar Sep 17 '20 11:09 fixxolas

It should actually work.

there can be several causes: What does your config file look like fits your IP did you set the group in the HA do you have typing errors

LasseRheinstroem avatar Sep 17 '20 14:09 LasseRheinstroem

Hi Lasse,

Here is my config-file: { "token": "mysecrettoken", "wifi": "", "address": "http://192.168.1.5:8123", "groupname": "kindle", "refreshinterval": 10, "media_sources": { "media_player.your_media_player": ["media_player.shield_living_room", "media_player.shield_office"] } }

Part of HA's configuration.yaml: group: kindle: name: kindle entities: - light.g_utelys - light.soverom

To be clear, if everything is fine the HTMl-file would work in Chrome, right?

fixxolas avatar Sep 17 '20 19:09 fixxolas

Hi @fixxolas , can you please follow point 1 in the instructions to generate an access token and then replace "mysecrettoken" with the token in the config file?
I guess that should do it.

To be clear, if everything is fine the HTMl-file would work in Chrome, right?

Yes, it should work without problems in chrome, I am usually using that for tests.

UUps, and in case you just put "mysecrettoken" because you did not want to post your token (I guess that makes sense), can you check for any errors in the developer tools console of the browser? (In chrome, right-click the page, select 'inspect' and go to the console tab in the developer tools)

hermannsblum avatar Sep 17 '20 21:09 hermannsblum

The only Browser on the PC i got it to work was the old Internet Explorer.

LasseRheinstroem avatar Sep 18 '20 06:09 LasseRheinstroem

For me the reason it was not starting was that I forgot to reload the group configuration in Home Assistant

vmartinv avatar Jul 20 '21 13:07 vmartinv