Skip to content

Setting Up OpenDisplay in Home Assistant for Image Push #130

Description

@cryptomilk

I've got some OpenDisplay devices from Jonas, because I work on https://github.com/cryptomilk/hass-eink-dashboard

I've fixed a bug in py-opendisplay with grayscale images. After that it should be working fine. Thanks for merging.

I thought about how to upload images. The device is awake for some time (40sec) and then in deep sleep mode. You can't use timers, because you would have to sync them with the device, and you don't want to have to do that.

So we need to detect when the device is awake. As soon as it wakes up from deep sleep and start to advertise over BLE again. If you use an ESPHome Bluetooth Proxy, then you can listen for that and create a home assistant trigger. Then your can create an automation which triggers when the device wakes up and start the image upload.

I've documented it here: https://github.com/cryptomilk/hass-eink-dashboard/blob/main/docs/opendisplay.md

The current problem with 2.10 is that the logging is so verbose, that the image can't be transferred in 40sec. I think this fixed in the main branch of the firmware. I just haven't figured out how to build it for a special device.

I just wanted to share my ideas how to work best with HA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions