Skip to content

0.2.3

Choose a tag to compare

@markusressel markusressel released this 23 Oct 14:34
· 67 commits to main since this release
c78972a

Fixes

  • Uploads of images and GIFs write every BLE packet with response, like the official app, instead of a burst without response. Behind an ESPHome Bluetooth proxy the burst lost packets: the display acknowledged a chunk seconds late or never, and rebooted. The pause between packets of 0.2.2 is only used for writes without response now.
  • The display time in the upload header is written little endian, like the app (it was read as 1280 seconds instead of 5).

New

  • Slots: GifModule.upload_gif_file and ImageModule.show_image_file take slot and display_time and store the item on the device instead of showing it right away. The device keeps up to 12 items and cycles through them by itself.
  • client.materials (MaterialsModule): clear(slots) deletes slots, store(files, slots, display_time, ...) stores a list of files into a list of slots (all 12 by default, other slots are never touched).

Uploads are a bit slower than in 0.2.2 (about 18% on BlueZ).