Daanoz / ha-google-photos

Home Assistant Google Photos integration
MIT License
87 stars 7 forks source link

No image in app #31

Closed realjax closed 1 year ago

realjax commented 1 year ago

I have this integration working fine on my desktop browser and even the HA app on my mac.

I get a nice display like so: Screenshot 2023-06-21 at 16 03 54

but in the android app the image never loads: Screenshot_2023-06-21-16-13-57-315_io homeassistant companion android

Any idea why that is ?

Daanoz commented 1 year ago

Could you share some details of your setup? Local or remote? Http or Https?

I personally use https via Nabu Casa and locally, and it doesn't seem to cause issues when trying to display the photos. I did ran into some other people mentioning a similar issue:

https://github.com/home-assistant/android/issues/838 https://community.home-assistant.io/t/companion-app-doesnt-show-picture-entity/284135

The way the photos are served is actually handled by home assistant and not the integration, however I can't rule out the integration for 100% so it's interesting to know if this is caused by the issue mentioned above.

realjax commented 1 year ago

Yes, definitely something to do with ssl. When I try connecting my HA instance via my external address (not casa thingie but correctly configured with a valid certificate) over https the image also doesnt show in the browser. Funnily enough the app never shows images, neither over https nor http..

realjax commented 1 year ago

Sorry my fat fingers pushed a few buttons too many and I accidentally closed the issue

realjax commented 1 year ago

Last night my HA restarted and it has been working since. Note: I did restart after installing this integration as well, but maybe it needs two of em :)

For now this seems to work just fine, thanks for your help !

realjax commented 1 year ago

Actually it is hit or miss. More miss then hit. It did work for a bit like I mentioned but is now failing again.

Daanoz commented 1 year ago

So, haven't been able to look into it for a bit. This is actually pretty tricky to debug without a reproducible problem.

Couple of things to try:

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.