Yes, both the Puppet and Lovelace Kindle Screensavers images load in a web browser. I have even downloaded one of the images and used the image (not online image) component to load the file manually which works. So the issue seems to be with accessing or processing the image, not displaying it.
I would love to use this setup, I configured everything the same but in the log it tells me:
[16:47:01][I][online_image:109]: Updating image (myllink)/lovelace/Epaper/0?viewport=800x480&eink=1
[16:47:01][D][http_request.arduino:134]: Received response header, name: etag, value:
[16:47:01][D][http_request.arduino:134]: Received response header, name: last-modified, value:
[16:47:01][D][http_request.arduino:140]: Content-Length: 50179
[16:47:01][D][online_image:175]: Starting download
[16:47:01][D][online_image:194]: Allocating PNG decoder
[16:47:01][I][online_image:212]: Downloading image (Size: 50179)
[16:47:01][D][online_image:089]: Allocating new buffer of 48000 bytes
[16:47:01][E][online_image:092]: allocation of 48000 bytes failed. Biggest block in heap: 22516 Bytes
[16:47:01][E][online_image.png:086]: Error decoding image: Incorrect PNG signature
[16:47:01][E][online_image:250]: Error when decoding image…
Why doesn’t it work?
Got it to work! I switched to bmp. Now it all works. Which is weird because I would say bmp is bigger than png…
Just add &format=bmp to your url and change format: BMP
Created an account to say thank you for mentioning the bmp solution. I was getting frustrated and now it just works. On to making a ridiculously awesome dashboard!
Sorry for the newb question, but I just got my TRMNL OG kit. I was able to use the guide on the Wiki and I can get the HA dashboard to work while I am at home. Does anyone know how I can get it to work if I want put this at my desk at work (different network than my house)? I’m looking to use a dashboard to have weather/forecast, time/date, state of some sensors that I can monitor while I am at work. TIA.
Are you able to use HA from work (is it exposed to the internet)? If so, it’s just a URL and WIFI change. If not, that’s a much bigger task than this thread can support.
Easiest path is to get a Home Assistant Cloud subscription, but you can also do it yourself with some work.
Sorry I was not clear. I have duckdns set up for me to access my HA via web browser from any computer (and yes, I am able to access it from work). But for the ESP32 board, what code do I change to access the duckdns URL? Can you use your YAML code from your original post to show me where I can use the duckdns URL? Thanks.
You’ll need to open up port 10000 (or whatever port you have set in Puppet) to access Puppet, but I’d be careful doing that. Puppet is currently wide open with no security.
Then you should be able to change the “url:” below
http://192.168.1.101:10000/dashboard-robin/display
online_image:
- id: dashboard_image
format: PNG
type: BINARY
buffer_size: 30000
url: http://192.168.1.101:10000/dashboard-robin/display?viewport=800x480&eink=2&invert #change this link to your screenshot link
update_interval: 20s
on_download_finished:
- delay: 0ms
- component.update: main_display