Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-12-2023, 04:31 PM   #1
ovr11325
Junior Member
ovr11325 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2023
Device: kindle
Kobo as a photo frame

Hello,

I'm just starting out with my Kobo and I'm delighted to discover this forum!
I'm surprised not to see more projects similar to a photo frame.

I'm trying to reproduce the following post from a blog:
https://sandropaganotti.com/2023/10/...al-photo-frame

My local server that processes my images is ready,
I'm just trying to make a script, which runs on the kobo, to download the image from the server, and display it on the screen.

According to what I read, the line of code "echo "1" > /sys/class/graphics/fb0/rotate" was functional on a kobo glo, but not on HD models with 32-bit screen.
I'd like to know if anyone knows how to display a photo from a local server on the kobo screen (on standard firmware, patched for telnet).

Thanks in advance for your help
ovr11325 is offline   Reply With Quote
Old 12-12-2023, 05:12 PM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
FBInk also ships with an utility that will allow you to painlessly deal with the insanity that is framebuffer layouts on Kobo.

e.g., at a glance at what's happening here, something like `fbdepth -R CW`.

On the upside, fbink itself will also allow you to display an actual sane image format (i.e., PNG) without having to do the insane and messy conversion to the matching raw pixel format that's happening in that link.

(Which, btw, is not "proprietary", it's RGB565 ;p [for the device in question; all Kobos still boot @ 16bpp, but it's been quite a few years now since Nickel itself moved to RGB32 @ 32bpp. Since pickel is designed for that early recovery & boot progress bar stage, it still targets that legacy layout, though. TL;DR: Don't, just use fbink )

Last edited by NiLuJe; 12-12-2023 at 05:22 PM.
NiLuJe is offline   Reply With Quote
Old 12-12-2023, 05:20 PM   #3
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Quote:
Originally Posted by ovr11325 View Post
patched for telnet
Because this also made me fear for whatever legacy horror you might have put your device through, you don't need *any* patching for *telnet* access, Nickel itself enables that on its own once in Developer mode (enter devmodeon in the search bar).

(IIRC, there are also a few NickelMenu snippets in the NM thread for a "telnet only" standalone toggle).
NiLuJe is offline   Reply With Quote
Old 12-13-2023, 09:04 AM   #4
elinkser
Groupie
elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.
 
Posts: 185
Karma: 146236
Join Date: Oct 2022
Device: Kobo Clara HD
Quote:
Originally Posted by NiLuJe View Post
Because this also made me fear for whatever legacy horror you might have put your device through, you don't need *any* patching for *telnet* access, Nickel itself enables that on its own once in Developer mode (enter devmodeon in the search bar).

(IIRC, there are also a few NickelMenu snippets in the NM thread for a "telnet only" standalone toggle).

Maybe I was imagining things but I thought I saw a "EnableDebugServices" in DeveloperSettings], in the /mnt/onboard/.kobo/Kobo/Kobo eReader.conf file, that enables automatic starts of telnet, EVEN IF DEVMODEOFF.

The weird thing is - when did that setting get there? Is it possible it was always there and I just never noticed?
https://www.mobileread.com/forums/sh...d.php?t=353810

* Edit: Mobileread wiki explained it:
https://www.mobileread.com/forums/sh...44&postcount=5

I hadn't even realized that ForceWifiOn waa now possible in DEVMODEOFF until Sublipri mentioned it a few days ago.
https://www.mobileread.com/forums/sh...7&postcount=31

Last edited by elinkser; 01-18-2024 at 02:57 PM. Reason: wiki
elinkser is offline   Reply With Quote
Old 12-13-2023, 01:43 PM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I wouldn't know anything else about the actual behavior of the native telnet support, as I always have SSH running instead. (and that includes a telnetd that takes precedence over Nickel's).

But, yeah, ForceWifi is standalone, that I can confirm .
NiLuJe is offline   Reply With Quote
Old 12-14-2023, 05:07 AM   #6
ovr11325
Junior Member
ovr11325 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2023
Device: kindle
Ok thanks, I will go for FbInk! It seems quite documented. And I guess, I may find others photo frame projects using FbInk :-)
ovr11325 is offline   Reply With Quote
Old 12-15-2023, 09:07 AM   #7
Fardenco
Junior Member
Fardenco began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2023
Device: Kobo Forma
I'm also interested, if you manage to make it work please tell it to me.
What I want to do is really similar from the technical point of view, but the end goal is different.
What I want is to use my Kobo as a dashboard for my home automation system. Since the integrated web browser is not able to render the dashboard for some reason, I'm generating some kind of screenshots of the dashboard directly on the server, and now I only need to display them on the kobo.
My first idea was to create a really simple web page on the server with just the image taking all the screen and some js to make the page reload every 30sec to get the last version of the screenshot. It worked, I was able to display the page in fullscreen, everything looked great, but for some reason the kobo seems to always crash after some time when doing that, so I need to find another solution

Last edited by Fardenco; 12-15-2023 at 09:11 AM.
Fardenco is offline   Reply With Quote
Old 01-19-2024, 02:39 AM   #8
ovr11325
Junior Member
ovr11325 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2023
Device: kindle
Hi Fardenco,

I never finished this project but I'm quiet sure I have everything to do it.
In the end, my setup is:
A daemon that runs on a raspberry pi, transfer an image by sftp to the internal memory of the reader, and the execute via ssh a command Fbink the display the image.

It's quiet simple, the kobo just follow the instruction from the server.
The issue: the kobo can't go into low energy mode (can't turn wifi off,...)

for the code that runs on servers, some GPT model can generate if for you (but I can provide you a copy if you want)
ovr11325 is offline   Reply With Quote
Old 03-26-2024, 09:26 AM   #9
Fardenco
Junior Member
Fardenco began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2023
Device: Kobo Forma
Hi, I got something working, I'm able to display any image I want in fullscreen, but my issue is that some background items like the clock are refreshing parts of the screen, ruining my images until the next time I call fbink
Did you run into the same problem ? Did you find a workaround ?
Thanks
Fardenco is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
does a photo frame that display todays date/time etc exist for kobo thx kocoman Kobo Developer's Corner 4 11-16-2023 08:39 PM
digital photo frame DerDom Which one should I buy? 16 03-28-2022 07:58 PM
Using old Kindle as an eInk photo frame Albyr Amazon Kindle 6 10-26-2014 12:04 PM
Using old Kindle as an eInk photo frame Albyr Kindle Developer's Corner 5 10-26-2014 06:44 AM
LCD photo Frame pbananth Which one should I buy? 1 01-01-2008 07:58 AM


All times are GMT -4. The time now is 02:52 PM.


MobileRead.com is a privately owned, operated and funded community.