by konschubert · 3y ago · 0 comments
You're writing
> I use FBInk on the kindle to display the images after curling them from a API Gateway.
I am the founder of this smart screen product: https://shop.invisible-computers.com/products/invisible-cale...
Curling an image is the same approach that I use for my e-paper smart screen as well. It should be quite easy to bring your dashboard to my device... maybe we can work together on something? My email is info@invisible-computers.com
I want to be fair to DHL here: The parcels are shipped through the letter network to make the overseas shipping more affordable. It's expected that they take bit longer than the normal DHL packages.
> Can the device not check the url directly
Yes, it could (with some modifications). But then you need to transmit and store the URL on the device, which requires establishing a bluetooth connection to change it. I am considering to offer this as an option to give myself and other peace of mind.
> Do you respect etags and other caching headers like if-modified-since
Not yet, but I could implement this very quickly if you send me an email and tell me you need this. :) (This is a great example how proxying things though the backend makes development easier: If I wasn't proxying, this change would require a firmware update.)
Yea, that's something I have been trying to build, but it's surprisingly non-trivial. There are a bunch of headless browser options, but I haven't found a good way to tell them: "Render the page in X width and Y height and then take a screenshot".
That seems like a problem that should have 100 open source solutions for it, and I am sure there are some that work really well! But I personally haven't found one yet.
Isn't this the exact example of phantomjs?
``` page.viewportSize = { width: 600, height: 600 }; ```
At least that is what I use to do for screen testing for some of our low-hanging-fruit QA. At some point I rewrote it in puppeteer and it was as simple as the above line.
The screenshot results in being the X/Y size.
I'd be interested in why this doesn't work in your usecase.
Headless Chrome seems like it should be able to do what you want pretty easily. https://developer.chrome.com/blog/headless-chrome/
Hopefully you find it useful :)
Some custom content just for yourself, or an app that others can install as well?
I can buy an ESP32 e-ink screen and run esphome or any of several other open source projects and put a piece of wood on the front of it, too.
One: https://www.invisible-computers.com/invisible-calendar/image...
Two:
https://github.com/Invisible-Computers/image-gallery/blob/ma...
Both of these require rendering the content via an HTTP endpoint and both of these currently only work together with the device backend.
> I can buy an ESP32 e-ink screen and run esphome or any of several other open source projects and put a piece of wood on the front of it, too.
Yes, you can! And if you do this, you have absolutely no need to use my e-paper smart screen. (Though, for the record, it's not just a piece of wood in front, it's a CNC'd frame)
And the connectivity is through Wifi. (And Bluetooth during Setup)
The big part, is the power is delivered at a pretty high voltage, so you are going to need a buck converter to get it down to the 5V usb expects.
Isn't this called a USB-A plug?
EDIT: I cannot respond to the child comment, but yes: The Device has a male USB plug, and then the cable goes right into the device, no receptacle on the device.