valetudopng

A Valetudo map renderer (ex Hypfer/ICantBelieveItsNotValetudo) for Home Assistant.

APACHE-2.0 License

Stars
40
Committers
3

Bot releases are hidden (Show)

valetudopng - v1.0.17 Latest Release

Published by erkexzcx 7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/erkexzcx/valetudopng/compare/v1.0.16...v1.0.17

valetudopng - v1.0.16

Published by erkexzcx 9 months ago

Changes:

valetudopng - v1.0.15

Published by erkexzcx 11 months ago

Changes:

valetudopng - v1.0.14

Published by erkexzcx 12 months ago

Changes:

valetudopng - v1.0.13

Published by erkexzcx about 1 year ago

Changes:

    # Leave empty or delete these fields if TLS is not used
    tls_enabled: false
    tls_min_version: # Available values are 1.0, 1.1, 1.2 and 1.3. Defaults to Go's default (1.2) if not set.
    tls_ca_path:
    tls_insecure: false
valetudopng - v1.0.12

Published by erkexzcx about 1 year ago

Changes:

  • Fix bug introduced in v1.0.11 where -version would not show version.
valetudopng - v1.0.11

Published by erkexzcx about 1 year ago

Changes:

valetudopng - v1.0.10

Published by erkexzcx about 1 year ago

Changes:

  • Added map.png_compression value in configuration file, defaults (or if does not exists) to 0 (BestSpeed).

This should be useful for those attempting to host this service on robot. For example, here is the approximate difference between these values:

# 0 - best speed
Image rendered! drawing:12ms, encoding:17ms, size:89.3kB

# 1 - best compression
Image rendered! drawing:12ms, encoding:192ms, size:77.8kB

# 2 - default compression
Image rendered! drawing:12ms, encoding:24ms, size:79.9kB

# 3 - no compression
Image rendered! drawing:12ms, encoding:2ms, size:2.0MB

As you can see, 3 shines here since it doesn't use much of CPU, which is useful when hosting on robot. Note that robot's wifi is simply 💩 and you should use 3 with min_refresh_int set to something at least 5s or more. It cannot instantly send 2mb of file due to a very slow robot's wifi.

valetudopng - v1.0.9

Published by erkexzcx about 1 year ago

Changes:

valetudopng - v1.0.8

Published by erkexzcx about 1 year ago

Changes:

  • Fix where binaries do not show version using -version arg.
  • No changes to code.
valetudopng - v1.0.7

Published by erkexzcx about 1 year ago

Changes:

  • Dockerfile, switched from CMD to ENTRYPOINT. Now you can use like this: docker run --rm -it ghcr.io/erkexzcx/valetudopng:latest --help
  • No other changes to application. This release is mainly to ensure latest tag points to latest release. Binaries are the same. Just built a bit differently.
valetudopng - v1.0.6

Published by erkexzcx about 1 year ago

Changes:

  • Performance improvements for drawing.

This might save few ms, but majority of time spent would be on drawing path and encoding (compressing) to PNG.

valetudopng - v1.0.5

Published by erkexzcx about 1 year ago

Changes:

valetudopng - v1.0.4

Published by erkexzcx about 1 year ago

Changes:

  • Draw performance improvement
valetudopng - v1.0.3

Published by erkexzcx about 1 year ago

Changes:

  • Switched from default PNG compression level to BestSpeed. Should render images significantly faster.
  • Added better logs (how long it took to draw image, how long it took to render it to PNG file and PNG file's size)
  • Coordinates now properly matches selected rectangle in debug website.
valetudopng - v1.0.2

Published by erkexzcx about 1 year ago

Changes:

valetudopng - v1.0.1

Published by erkexzcx about 1 year ago

Changes:

  • Implemented FourColorTheorem for segment colors. Based on Hypfer's javascript code.
valetudopng - v1.0.0

Published by erkexzcx about 1 year ago

Initial release

Package Rankings
Top 9.59% on Proxy.golang.org
Related Projects