Thread: K4 Simple HTTP server
View Single Post
Old 12-27-2024, 09:59 AM   #1
ebenammi
Junior Member
ebenammi began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2024
Device: Kindle Paperwhite 7th gen
Simple HTTP server

Hello there,

Got an old and badly beaten up K4. I figured I'd use its display for a Home Assistant dashboard. I then found out it's not very easy to scavenge a display off of a Kindle and use it with an ESP32 or whatever, so I decided I'd just use the whole thing instead as is. What I've seen people do is run a basic script on the Kindle that periodically polls a URL, downloads an image, and sets it as the wallpaper.

What I had in mind is to turn that process around. I was thinking about running a very minimal HTTP server on the Kindle, which a remote service would then use to push the images to the Kindle. Nothing fancy. Just one very tiny HTTP server that only has one POST endpoint.

What I've done so far is I've broken the thing out of jail, installed Python2.7, and set up usbnetwork. I can SSH into it and run commands. It works. I've written the small HTTP server in Python, put the file on the Kindle, and ran it. It didn't complain, but it didn't seem to work either. Then I realized I can't access the Kindle over the network at all. Can't even ping it. The Kindle is on the network for sure. It shows up on nmap, it has internet access, it can ping other devices, but other devices can't reach it.

That makes me think I'm not really well-enough informed about this stuff. Are there any pointers anyone could give here? Maybe a project like this already exists? Maybe there is some resource that would help me develop it myself?

TIA
ebenammi is offline   Reply With Quote