Replies: 38 comments 11 replies
-
Thank you. Two short ideas, I didn't have the time to check more exactly yet:
1. Did you activate the buttons in the settings?
2. Did you use GPIO naming our PIN numbers? Please use GPIO.
If this works, please tell me, I would integrate this as an option of button settings.
Using buttons you maybe better install the development version.
|
Beta Was this translation helpful? Give feedback.
-
Could you please send the modifications you did at the code?
|
Beta Was this translation helpful? Give feedback.
-
Oh, I didn't see them image above on my mobile. Following the manual of your board, this should be the correct pinning: Your modified code should be: Am I wrong? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I added your configuration to the development branch. Just install it by |
Beta Was this translation helpful? Give feedback.
-
There is not a lot documentation on waveshare. But There is a github project: https://github.com/pangduckwai/PiDisplay Here I found a difference. They setup GPIO Please alter /var/www/little-backup-box/displaymenu.py in To activate changes you have to go to web ui settings and save to restart the display-driver. Or you just reboot. |
Beta Was this translation helpful? Give feedback.
-
YES my Master - it works perfectly !!!!!!!!!!! and it doesn't make any sense at all because in the waveshare documentation there is a ready to use python example that this is how it works - https://www.waveshare.com/w/upload/5/53/1.3inch-OLED-HAT-Code.7z
Your project is especially close to me because I wrote a similar one, but not as professionally as you, because I'm not a programmer. My idea was simple - the first USB that was connected to the RPI was mass storage, and the next ones were external storage. The program on the USB drive also created UUID directories, but also checked whether the inserted card had such a number and if not, it first assigned it to the card from the UUID generator. And then, just by pressing a button, the copying took place. In addition, you could insert any number of cards for copying, they were all mounted to one directory and RSync did everything by itself. Unfortunately, I've been extremely busy in recent years and the project died :-( Of course there was no web server or SQL etc... Thank you very much for your help! |
Beta Was this translation helpful? Give feedback.
-
All the button settings from above are now integrated into settings. Could you please give feedback if it is working or not? |
Beta Was this translation helpful? Give feedback.
-
I edited working displaymenu.py and works perfect - thank You! |
Beta Was this translation helpful? Give feedback.
-
It should work without editing the py files now.
|
Beta Was this translation helpful? Give feedback.
-
so needs update to check it??? |
Beta Was this translation helpful? Give feedback.
-
Yes, please update and change hardware settings.
|
Beta Was this translation helpful? Give feedback.
-
no, it doesnt work because:
working buttons assigns is |
Beta Was this translation helpful? Give feedback.
-
I did NOT change code - just curl new sh and thats all. After that checked whats problem |
Beta Was this translation helpful? Give feedback.
-
Ok, I don't think I know how USB multicopy works. First, I select the BACKUP option, then insert TARGET, then SOURCE(s), the display shows the number of files from both USBs, but only the contents of one USB are copied to TARGET. Will I do something wrong? |
Beta Was this translation helpful? Give feedback.
-
It worked here... It's just what you did. Connect target like always, followed by the sources. Could you give more information? Filesystem types...
|
Beta Was this translation helpful? Give feedback.
-
Could you send the log file?
|
Beta Was this translation helpful? Give feedback.
-
copy is in progress :-) this moment works - it looks like file system problem in one SD 64GB card - there was only few photos but property card says that is full. Formated and try copy again. |
Beta Was this translation helpful? Give feedback.
-
Ok, I did a few copies, formats, copies, formats and so on and everything looks very good. One time I had a situation when I had one photo on the card and LBB did not make a copy several times, but after taking additional photos it made a copy (vFAT). I'll try to make a few more copies to be sure. If necessary, I can send some logs from the equipment If everything works as it should, you have landed in the perfect situation for me because in 4 days I will be going on holiday with my wife for 2 weeks where I will travel and, I hope, use LBB intensively. Without the multicopy option, I wouldn't even take LBB with me! THANKS A LOT! |
Beta Was this translation helpful? Give feedback.
-
In my tests most times I had one file only on the sources. This has to work. Please report errors. Did you configure mails? If file have been missing, this should be documented in the mail.
|
Beta Was this translation helpful? Give feedback.
-
email in github - yes |
Beta Was this translation helpful? Give feedback.
-
What about bluetooth? What's not working about mail?
|
Beta Was this translation helpful? Give feedback.
-
ok - I'm stupid - I tried to configure the WiFi network when the device creates its own hotspot :-))) |
Beta Was this translation helpful? Give feedback.
-
If you want to use your mobile add hotspot, I think you'll need a second device to configure. Comitup will remember this settings until you connect to another WiFi.
|
Beta Was this translation helpful? Give feedback.
-
but then how to connect wifi to your own mobile hotspot? I understand that the idea is to create a safe VPN between ETH and wifi, but it would probably be more popular to create a bridge between public wifi and your own hotspot created by LBB, and a long USB wifi card would be necessary for this |
Beta Was this translation helpful? Give feedback.
-
Different problems. What do you want to do?
You have a vpn server at home, your smartphone in hotspot mode and lbb
as client of the phone's hotspot and your vpn server?
|
Beta Was this translation helpful? Give feedback.
-
I'll try to gather my thoughts:
Just to be clear - I'm not using any VPN for now, maybe in the future??? |
Beta Was this translation helpful? Give feedback.
-
I just can write my opinion, the real knowledge you will find here:
http://davesteele.github.io/comitup/
1.: You use the public wifi as data connection to send mails and upload
files. This connection is established by comitup. Lbb could establish a
VPN while backing up to a cloud service. The second wifi on Rpi still
stays in hotspot mode to control lbb via web UI.
2.: Your wifi hotspot is a independent device, yes? If you connect both
to this wifi, lbb will get a new ip by your hotspot and if your hotspot
allows connections between clients, you can access lbb by smartphone by
this new IP (if your smartphone is inthis wifi also). Lbb's second wifi
will still be in hotspot mode and you can connect your smartphone to
this also. You even should have internet access for your phone through
lbb and your independent hotspot. This way you also can pass portal
pages of a wifi.
|
Beta Was this translation helpful? Give feedback.
-
Then I don't know how comitup works, give me some time - I need to learn a bit |
Beta Was this translation helpful? Give feedback.
-
Hi great job - CONGRATULATIONS, I bought gpio oled + buttons hat from waveshare and the display works perfectly, but I am not able to make the buttons work, in the script displaymenu.py I changed the definitions for the menu 2 buttons to the ones on the board but none of the buttons work and I don't know why, can someone see what is the reason?
https://www.waveshare.com/1.3inch-oled-hat.htm
Raspberry Pi PIN (BCM) buttons HAT
Joystick Up P6 Joystick Up Joystick Down P19 Joystick Down Joystick Left P5 Joystick Left Joystick Right P26 Joystick Right
config displaymenu.py
'2': { 'up': 6, 'down': 19, 'left': 5, 'right': 26 }
Beta Was this translation helpful? Give feedback.
All reactions