|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61
Karma: 71710
Join Date: Mar 2017
Device: Sony DPT RP1, Remarkable
|
A Javascript to transfer files without using Digital Paper App for Sony DPT-RP1
Here is the link: http://github.com/janten/dpt-rp1-py
Here is the original post link (in German): https://forum.golem.de/kommentare/so...ml#msg-4905878 Unfortunately, I don't know how to run the Javascript file. Anyone has tried it yet? I would be very happy if someone could kindly offer an instruction. |
![]() |
![]() |
![]() |
#2 |
E-Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 274
Karma: 1606616
Join Date: Oct 2012
Device: DPT-S1
|
Why does this thread not receive the crazy amount of feedback it should? This is awesome news. A REST API over a emulated network device via USB.
Everyone can use the RP1 now! People, give this guy some karma for finding this! |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 276
Karma: 3600000
Join Date: Jun 2017
Location: France
Device: Kobo Aura H2o; reMarkable; Onyx Max 2 Pro
|
Well, I'm still waiting on some more reports on this, before I get all excited - though, indeed, it is very good news if it works well.
Besides, Sony doesn't seem to show much interest in selling lots of RP1's to people in my part of the world; I just looked at their French website, and searches for things like "digital paper" or "RP1" turned up exactly... nothing. But, yes - as someone who would be a potential user of the RP1 if it were more friendly to my use - I'm still following this part of the forum. |
![]() |
![]() |
![]() |
#4 |
E-Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 274
Karma: 1606616
Join Date: Oct 2012
Device: DPT-S1
|
Well those reports wont just write themselves. Someone ought to try it! If I had an RP1, which I don't, I'd given it a run. Everyone just a bit too convenient to try it after they got that fantastic app of Sony's running?
Philippe, you want the RP1? They ship from Amazone and B&H, see here on Sony's intl. page. I had very good experience with B&H for deliveries to Germany, so I take it the same would apply to France. |
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() ![]() Posts: 85
Karma: 126
Join Date: May 2015
Device: Sony PRS-950, Hanvon E920, Onyx Boox Note Lite, Boox Max2
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() ![]() Posts: 1
Karma: 118
Join Date: Oct 2017
Device: DPT-RP1
|
Hi everyone,
someone just tipped me that you guys discovered my Python (not JavaScript) script which I use do upload documents to my DPT-RP1. I realize that it is not very user friendly, it's just something I hacked together over the course of some days. The important findings are:
|
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61
Karma: 71710
Join Date: Mar 2017
Device: Sony DPT RP1, Remarkable
|
Could anyone kindly write an instruction for end-users? The process seems really complicated and confusing for me at least.
|
![]() |
![]() |
![]() |
#8 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 276
Karma: 3600000
Join Date: Jun 2017
Location: France
Device: Kobo Aura H2o; reMarkable; Onyx Max 2 Pro
|
Quote:
But, I'm still following this, just in case ![]() |
|
![]() |
![]() |
![]() |
#9 | |
E-Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 274
Karma: 1606616
Join Date: Oct 2012
Device: DPT-S1
|
Quote:
|
|
![]() |
![]() |
![]() |
#10 |
Enthusiast
![]() ![]() Posts: 35
Karma: 126
Join Date: Apr 2017
Device: Sony RP1
|
I, too, hope to see more development to make this option more available for non-programmer users.
|
![]() |
![]() |
![]() |
#11 |
Junior Member
![]() ![]() Posts: 1
Karma: 100
Join Date: Nov 2017
Device: dpt rp1
|
So I've been working with the python script, and am reporting on my initial progress.
First: it's wonderful to have the beginnings of a way to get stuff on and off the reader under Linux! The code is available by visiting the github site mentioned above, https://github.com/janten/dpt-rp1-py This is far from ready for non-programmers to use. The README.md gives clear, simple instructions on how to extract a client id and a key from the device. These two pieces of information are needed to authenticate. The key needs to be placed in a file that the python code can find, and the client id needs to replace the client id that is currently embedded in the python code. Getting the python code to run is not trivial. It depends on formatted strings, which are new to python 3.6. Don't try to get python 3.6 running on any Ubuntu earlier than 7.10 (artful), it's not worth the hassle! (It shouldn't be too difficult to get the code to run on python 3.5.) In order to connect to the reader, I needed to put the reader's wifi ip address into my /etc/hosts file (e.g., I put this on a new line: 198.168.1.201 digitalpaper.local). The user interface to the python program is to... edit the code. I got the reader to deliver a screenshot over wifi by adding the line "dp.get_screenshot()" under the authentication command in the "main" block, very exiting! Still unclear what commands to use in order to get files on or off the reader---I have not yet even figured out what the directory names are on the reader. But this seems solvable with some investigation and experimentation. As the author comments, the Sony code that runs the digital app is clean and neat. Wouldn't it be nice to get that code running under Linux? Many thanks to Jan-Gerd Tenberge for making his python hack available! |
![]() |
![]() |
![]() |
#12 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12
Karma: 4708
Join Date: Aug 2017
Device: Kindle Voyage, Boyue T62+, Sony DPT-RP1
|
Quote:
|
|
![]() |
![]() |
![]() |
#13 | |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Jun 2015
Location: Seattle, WA
Device: PRS-T1, DPT-S1, DPT-RP1
|
Quote:
My company laptop is blocked on certain port so USB never works for me, only Bluetooth. By some stupid reason the Sony App does not allow setup Wifi AP through Bluetooth. Now I can do it with your python hack. This is great! Just sharing the script i added using Janten's work to register WIFI AP: PHP Code:
|
|
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Nov 2018
Device: Sony DPT-RP1
|
How did you exactly set up the virtual machine? I'm using VirtualBox with Kubuntu as Host OS and tried it with Win10 and Win7. In both cases, I added the USB device filter for Sony DPT-RP1 in the USB settings and chose either USB2.0 or USB3.0. However, in both cases, the USB connection was recognised by the Guest OS but the pairing in the Digital Paper App didn't work! Very frustrating...
|
![]() |
![]() |
![]() |
#15 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 90156
Join Date: Jul 2017
Device: Nook Glowlight, Sony DPT-CP1
|
Will this work on the CP1/second generation? I arrived here because I'm about to make the jump to Linux for real, and also just found out that Sony is giving up on the Digital Paper completely.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sony Digital Paper DPT-S1 Owner's Thread | Avenger | Sony Reader | 764 | 02-12-2024 06:11 PM |
DPT-RP1 - device not pairing with Digital Paper App | Eksalis | Sony Reader | 13 | 04-20-2020 07:40 PM |
DPT RP1 Digital Paper App fails to connect wifi | JS_F | Sony Reader | 2 | 08-25-2017 10:46 AM |
DPT-RP1: The successor to Sony's DPT-S1 | davester | News | 0 | 04-10-2017 05:08 PM |
Sony Digital Paper (DPT-S1) Note taking Capabilities | The Inktelligent | Sony Reader | 6 | 08-10-2016 01:57 PM |