Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document recommended image settings #6

Closed
nayr1991 opened this issue May 5, 2022 · 1 comment
Closed

Document recommended image settings #6

nayr1991 opened this issue May 5, 2022 · 1 comment

Comments

@nayr1991
Copy link

nayr1991 commented May 5, 2022

Hey,

I was wondering if you would be willing to document the config you used for hass-lovelace-kindle-screensaver.
I'm having issues with the image captured from mine looks extremely washed out on my inkplate, regardless of the greyscale setting I use.

I have updated the waveform on my device, which was a slight improvement, but there's still a noticeable difference when flicking between the homeplate info screen and the lovelace image

@lanrat
Copy link
Owner

lanrat commented May 10, 2022

Hi,

I've since moved to using my fork (https://github.com/lanrat/hass-screenshot) which is very similar but adds a few fixes.

Here is the relevant part from my docker-compose.yml file for my Inkplate10.

  hass-screenshot:
    container_name: hass-screenshot
    image: lanrat/hass-screenshot
    build: hass-screenshot
    deploy:
      resources:
        limits:
          memory: 1G
    environment:
      - TZ=America/Los_Angeles
      - HA_BASE_URL=http://172.17.0.1:8123
      - HA_ACCESS_TOKEN=*************
      - LANGUAGE=en
      - MQTT_SERVER=192.168.1.4
      - REAL_TIME=true
      - RENDERING_DELAY=2
      - COLOR_MODE=GrayScale
        # image 1
      - HA_SCREENSHOT_URL=/lovelace-infra/hud?kiosk
      - RENDERING_SCREEN_HEIGHT=825
      - RENDERING_SCREEN_WIDTH=1200
      - GRAYSCALE_DEPTH=3
        # image 2+
        # .....
    restart: unless-stopped
    ports:
      - 5000:5000
    healthcheck:
      test: "wget --no-verbose --tries=1 --spider http://localhost:5000/ || exit 1"
      interval: 60s
      timeout: 5s
      retries: 3
      start_period: 60s

Let me know if you have any other questions.

@lanrat lanrat closed this as completed May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants