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, 05: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, 06: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,497
Karma: 26047188
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 06:22 PM.
NiLuJe is offline   Reply With Quote
Advert
Old 12-12-2023, 06: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,497
Karma: 26047188
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, 10:04 AM   #4
elinkser
Addict
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: 210
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 03:57 PM. Reason: wiki
elinkser is offline   Reply With Quote
Old 12-13-2023, 02: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,497
Karma: 26047188
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
Advert
Old 12-14-2023, 06: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, 10: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 10:11 AM.
Fardenco is offline   Reply With Quote
Old 01-19-2024, 03: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, 10: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
Old 06-24-2024, 07:58 AM   #10
ericcastro
Junior Member
ericcastro began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2015
Device: Kindle Voyage
hey, maybe you already figured this out, but killing these processes will stop kobo from refreshing/adding anything on the screen:

Quote:
killall -q -TERM nickel hindenburg sickel fickel strickel fontickel adobehost foxitpdf iink dhcpcd-dbus dhcpcd bluealsa bluetoothd fmon nanoclock.lua
stole from koreader.sh in koreader github. note you can't just kill nickel because one of these other processes seems to be acting as a watchdog restarting the device if nickel is unresponsive

NiLuJe probably knows which one that is, but using that was enough for me

(I have my own photo frame that refreshes with silly randomly AI-generated characters with my face on them )
Attached Thumbnails
Click image for larger version

Name:	IMG_0298.jpg
Views:	99
Size:	1.17 MB
ID:	209122  
ericcastro 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 09:39 PM
digital photo frame DerDom Which one should I buy? 16 03-28-2022 08:58 PM
Using old Kindle as an eInk photo frame Albyr Amazon Kindle 6 10-26-2014 01:04 PM
Using old Kindle as an eInk photo frame Albyr Kindle Developer's Corner 5 10-26-2014 07:44 AM
LCD photo Frame pbananth Which one should I buy? 1 01-01-2008 08:58 AM


All times are GMT -4. The time now is 05:19 AM.


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