-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Waveshare 2.13inch V3 Rev2.1 #1069
Add support for Waveshare 2.13inch V3 Rev2.1 #1069
Conversation
Signed-off-by: Axel Örn Sigurðsson <dev@absalon.is>
c307457
to
91e95ce
Compare
Fixed my issue with the display! Was very confused at first why 213d didn't work and thought the display was dead for a good moment, then I found this issue. |
THANKS, worked for me! xD but in place of site-packages I used dist-packages |
Thank you for this. Still having some issues getting my v3 to work. ui.display.type = "waveshare_3" Any thoughts? EDIT I decided to download the source and just upload the whole pwnagotchi folder to dist-packages and everything is working now. I must have goofed something up by uploading the individual files. Looks good!! thank you. |
I am very new to this and Have a V3 screen but have no clue how to set this up idk what im doing wrong Friend me on discord AnimeThighs#0069 if you could help me |
Even I'm sure I ordered the V2, I got the V3 instead after a good week of shipping. |
@ChutMei and @SeriousM, I posted on comments of this thread on reddit a steb by step about how to configure a pwnagotchi using waveshare v3 and this pull request :D |
Very nice, thank you @viniciuspereiras. I first tried to build a new image but it seems that the #1074 would be required as the build didn't succeed. Replacing the python script files is a much easier approach until the new version is (hopefully soon) released. |
Thanks, after downloading the whole pwnagotchi folder finally I got an almost working V3 display..However it looks like there is "no ink": the text is extremely dull/washed out..anybody else experienced the same? (Tried with different power sources) |
I followed the reddit method by replacing the python files which worked very well. One thing though was that the manual mode didn't refreshed the screen after boot, the auto mode worked flawlessly! |
I followed the guide and finally I made the V3 screen work. |
Yep, mine looks the same in MANU mode. Start in AUTO mode and the screen update will work. |
EPIC, now V3 it's working fine, thanks! |
I followed the guid and uploaded the new files to the pi, but my display is still not working. |
Didi you replace only 6 files or the whole pwnagotchi folder? Replace the whole folder in case, with just the 6 files listed here under "file changes" is not enough, but with the whole pwnagotchi folder works fine. |
Can someone help me? I think i did everything correct and when I look into de log file it stops at this. btw I am using a test image from #1046 on my raspberry pi zero 2 w and my display is a Rev2.1 V3 3-color display edit: when i am running the official waveshare V3 demo, this happens edit 2: I found the problem, the problem is that I am using a colored display. |
pi@pwnagotchi:~ $ sudo /usr/bin/pwnagotchi-launcher |
Can you please make support for the 2in13b_V3? The b is the colored version. |
It seems like this driver makes the pwnagotchi's face a bit smaller, the v2 displays seem to show it being bigger, is that some sort of bug or did you intentionally make the text size smaller for the ASCII face |
the only real solution for my issu with v3 display, MERGEE |
I ordered v2's specifically for my shop, we all received v3's hoping this get's merged so I can simply go over with them how to get this working, from the official repo w/o any extra tinkering from PR's. |
hello, I'm very new to this, I'm having a hard time understanding which files to download and where to put them. I know there are steps that will tell you, but I don't understand them at all. Can anyone help me? |
You can find the required files here to change: If you check the commit located here Files paths (once you'ved changed directory to /usr/local/lib/site-packages/pwnagotchi)
Go into each file and either make the changes manually, copy the new files in place of the old files, or view the code in raw and copy the entirity as a replacement for that code. You can use nano or vim once you're ssh'd into your pi. |
how do you replace the whole pwnagotchi folder? Sorry still new to the Pwnagotchi and would love to see my boy's face!!! |
I mean you could just clone the pwnagotchi folder in the users forked repo but it would be simpler to just follow the above and replace the necessary files. As the project spans many directories in different locations. |
@invictusani i usually work with Linux and Windows. But after some Research i 've found Paragon ExtFS. It should let you enter your rootfs. Normally i mount the Partition on Linux, but Paragon offers the same Software for Windows too. Dont touch config.txt, if not need. Your solution is for sure to edit config.toml. |
@pcfreaxx I got it to work! Thank you so much for your time and help, it's really appreciated! |
@invictusani glad to help, Hack the Planet. |
I've tried flashing that image with two separate utilities but my Pi 0 always gets stuck on "Update UMTP about System Runlevel Changes". How can this problem be alleviated with the patched image? |
@Spessmen14 sry you are the first with that Problem, i have no clue whats going wrong. |
|
I left it alone by itself and EVENTUALLY, like after an hour, it seems to be working properly. In german. But now when connecting a microUSB to the data port it won't let me log in, it doesn't accept any keyboard input. I should perhaps mention this is connected to a HAT. |
I covered this in my reddit guide:
https://www.reddit.com/r/pwnagotchi/comments/u4q18m/how_to_fix_the_small_face_issue_with_waveshare_v3/
…On Wed, Jun 8, 2022, 1:10 PM Dennis Chen ***@***.***> wrote:
It seems like this driver makes the pwnagotchi's face a bit smaller, the
v2 displays seem to show it being bigger, is that some sort of bug or did
you intentionally make the text size smaller for the ASCII face
I noticed this as well. I could not figure out how to fix this.
—
Reply to this email directly, view it on GitHub
<#1069 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKQA7EHLZPDDDPV6SIAI2WDVODH2DANCNFSM5LVAPHRQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
This file isn't able to be opened by winrar on multiple machines through either the direct .rar download or the torrent version. Winrar advises the following: "The archive is either in unknown format or damaged" |
Sorry but much, much people load it and it didnt changed since first upload. I tried it a few minutes ago and there we're no Problems. |
No worries at all. I was able to just download the .img instead of the entire .rar library and that seemed to get things up and running. I was able to SSH in and then change the language and my home network settings. Its name hasn't update for some reason but I'll figure that out later. I think the last thing I just need to figure out is how to fix the issue with the screen looking like its faded or dim while it's in manual mode. Auto mode seems to look just fine which is reassuring. |
hello, i tried with your image, to use 'raspberry' as password in SSH connection, but it don't let me enter. i can't enter browsing 10.0.0.2 too, cause it want username and password. any hints? |
Do you use pi as username? I use pi@10.0.0.2 with password "raspberry" |
oh yes, i solved it using pi@10.0.0.2, psw raspberry. now there are other problems... for example i can't do "sudo pip3 install --upgrade pwnagotchi". I'm in V1.5.3, cause in 1.5.5 vanilla the pwnagotchi have some issue with AI, so (like some suggestion in other GitHub issue) i want to upgrade it from the V1.5.3, but it give me "Requirement already satisfied" or other connection problems like "Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb5566650>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/pwnagotchi/" (it is connected via USB, and it can ping 1.1.1.1, so it should be connected to internet) |
another problem is that it reboot random, giving in logtails: |
page not found ! |
I'm really happy it worked. But is there a way to add costume plugins? I know, I can edit the standard plugins in the webconfig |
You should do it in config.toml, but not sure why your screen stops working... works fine for me |
Nah, this was me too frustrating. It all just won’t work for me. I just bought a v2. So I’m good with everything. Everything works. I’m happy. |
Following this guide EDIT: I used this and it's working great: |
I changed the files to support my V3 display. But when i reboot the pwnagotchi it does not work. Only way to get it back to work is put the display enable back to false. Any work around on this? |
As this is Merged, setting the screen to "waveshare_3" should do the trick right ? I tried waveshare213d as I saw on Reddit, but not working either :(. Can someone help ? Thank you ! |
Same problem here, I tried to install the 1.55 and clone the current master and also tried the
Nothing is displayed. |
Replacing the whole pwnagotchi folder from the source resolved the issue for me. Individual files did not work. |
Hello, I have never used ssh before and dont get how to actually replace the whole folder in terms of what commands to use. I can ssh into it and browse directories but could someone tell me what to actually do to change the whole folder |
I use WinSCP to copy files to my raspberry. First i remove the directory with "sudo rm -rf" (this will permanently remove the directory and everything inside). Then I drag and drop the files i want to copy in WinSCP. |
I recently learned about this project and decided to build one of my own. I initially ordered a waveshare 2.13 e ink display and had issues getting it to work but finally got it to work with the evil socket branch. Unfortunately I damaged the displays ribbon cable when trying to insert it into a case and it no longer works. I purchased another display but mistakenly it is the Touch version but is also a V3. My config file is still the same config file that I was using before which is showing waveshare 3 as shown on the evil socket GitHub. Pwnagotchi version 1.55 by evilsocket- https://github.com/evilsocket/pwnagotchi/releases my config.toml - main.name = "pwnagotchi" main.lang = "en" main.whitelist = [ "EXAMPLE_NETWORK", "ANOTHER_EXAMPLE_NETWORK", "fo:od:ba:be:fo:od", "fo:od:ba" ] main.plugins.grid.enabled = true main.plugins.grid.report = true main.plugins.grid.exclude = [ "YourHomeNetworkHere" ] ui.display.enabled = true ui.display.type = "waveshare_3" ui.display.color = "black" I followed the instructions of downloading the pwnagotchi-master files and replacing the 6 files in their appropriate directories (utils.py to /pwnagotchi/, waveshare3.py to /pwnagotchi/ui/hw/ etc..). I waited about 20 mins and restarted my pi. I'm still getting nothing on the display. I am able to ssh into the pi no problem. Please help. I've been tinkering with this for days and it has been driving me mad! Thank you in advance. |
For anyone still struggling, check out the aluminum-ice fork of this project. There you can set the config to waveshare_v3 and it should work... give it a few minutes after boot before the screen turns on. |
Adds support for the V3 Rev2.1 of the Waveshare 2.13inch PHAT.
Description
Waveshare seems to be phasing out V2 and replacing it with V3, according to their docs:
This PR introduces support for the V3 screen
The library code is provided from https://github.com/waveshare/e-Paper
Photo references
The V3 Rev2.1 board
pwnagotchi running with the screen
Motivation and Context
As V2 is being phased out and V3 is becoming more common, support for it makes sense.
Given the simplicity of the change and existance of #1039 I did not raise another issue. Happy to do so for further discussion if requested.
Fixes #1039
How Has This Been Tested?
Test steps involved:
/usr/local/lib/python3.7/site-packages/pwnagotchi
with the changes from this PRTypes of changes
Checklist:
git commit -s
I feel like this support should be documented, but I'm unsure where the documentation change lives. Happy to add info about V3 in the docs if requested!