I installed the driver and videos played fine for me with the ‘Hubitat HTML Attribute Display’ custom tile linked above.
There were some quirks from that custom tile consider its original intended use-case of displaying custom weather tiles:
- The photos were restricted to 80% width
- The videos were unconstrained, so they were massive
I’ve created a custom tile that works specifically with this dkilgore90 Google Photos device type. You can import it using the following button:
It adds some additional features compared to the basic ‘Hubitat HTML Attribute Display’ custom tile:
- Images and videos fill the full width of the tile
- You can customize the scaling to either:
- contain - scale the image down to fit
- cover - scale the image to fit while also filling the space
- fill - stretch the image to fit the space (distorts image)
- Refresh Rate is exposed as an optional configuration setting
- Ideally you would want to roughly match your Google Photos Refresh rate. (eg. set them both to 5 minutes or 60 minutes or whatever works best for you)
- You can tap the tile to send the
next()
command- Since we have to poll for status update, the tile waits 1.5 seconds after successfully sending the command to try to get the new state
- It’s not required to enter a Device ID.
- The tile will try to find a device with the type ‘Google Photos Device’ which matches the device type dkilgore90 created
- It’s not required to enter the attribute name as we always want the
image
attribute
That being said, if the videos weren’t working for you before, it wouldn’t surprise me if they don’t work with this version either since I didn’t change anything related to that.