WTH Can't I take a screenshot of a card and store it as an image

To try and keep this as small as possible for WTH (I hope), I propose the ability to create an image from any cards from the energy dashboard (Energy Cards - Home Assistant) and save it as an image.

I would like to use the images for notifications from mobile app to other supported notifications like Telegram, Slack, Discord, etc.

Examples:

  1. Send an image of the solar production for the next day so I can see what the forecast looks like.
  2. Send an image of the previous day’s energy usage graph so I can see how the energy was used.
  3. When a device has used over x kWh, send the devices energy graph so you can see how it’s performing compared to other devices.

The feature would ideally extend out to customised cards in the future.

Would be nice add-on for notifications. It is not simple task to render card javascript to the image but possible. For example, Grafana does it with dedicated image-rederer service that uses browser engine under the hood.

Yeah I’ve often wanted this too.

1 Like

I have tried many different things to render a dashboard to an image, and then show it on various (stupid) displays in the house - I have ended up doing python pygame drawings on the device itself. This always becomes tricky and unflexible. A sensor changes its name and you need to redploy firmware to all the devices.

This feature could be really powerful to this as well. :slight_smile:

1 Like