hermannsblum / kindle_infoscreen

Home-Assisstant Interface That Runs in the Kindle Browser.
MIT License
56 stars 5 forks source link

Generated HTML file does not show any elements #25

Open fixxolas opened 4 years ago

fixxolas commented 4 years ago

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

LasseRheinstroem commented 4 years ago

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

fixxolas commented 4 years ago

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:

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

hermannsblum commented 4 years ago

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)

LasseRheinstroem commented 4 years ago

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

vmartinv commented 3 years ago

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