@com1cedric O.K. to me :-)
Good luck!
Ralf
@com1cedric O.K. to me :-)
Good luck!
Ralf
@com1cedric where are you located?
Bckground: If in feasible distance I could send you my Hannspree Display for testing purposes …
Warm regards,
Ralf
@sdetweil said in Again -- MMM-Navigate can't get installed.:
the compiled module code must match the engine version
OK, sounds plausible.
Thanks.
Learned a lot, today :-)
Regards,
Ralf
@crowimu COOL!
congratulations!
For me the “confusing” part was the fact that INSTALL doesn’t work…
Installing should NOT check GPIO pinouts …
Really great that you worked this out!
Warmest regards,
Ralf
@sdetweil said in Question about backup script:
@rkorell the SCRIPT does not prompt
I use these git config parms
OK, where do you get this from?
If I have a look at your other post „local means this folder only“ let me assume that you may look at „$HOME/MagicMirror/.gitconfig“
Is this true?
Than this cannot work because my
git config --global --edit
created a .gitconfig in $HOME …
Will at least try your suggestion with git config … (THANKS for this - the stackoverflow article will be chacked as well)
Warmest regards,
Ralf
Nope.
Doesnt’t work.
Have created a “.gitconfig” file with
git config --global --edit
Entered user, email and password - but your script asks again for “user” …
???
Thanks
Ralf
O.K,. Google is not my friend today…
It seems that a “.gitconfig” file will do the trick …
Will double check.
@sdetweil as far as google told me it seems, I need to install Git CLI - which is not easy available for Raspi.
Any hint?
Sorry!
Ralf
@sdetweil said in Question about backup script:
how to use git config
OK, thanks.
I had understood that this is a config of your scripts, sorry.
@sdetweil said in Question about backup script:
if i find extra files i need a place to store them, so the module name for a folder is created
Thanks for this explanation - this is what I had assumed.
Regards,
Ralf
@sdetweil said :
you could use git config to save those, and avoid the prompts
Sounds cool.
How can I do this?
Thanks!
Ralf
@sdetweil said in Question about backup script:
hm… I did
Dear Sam (@sdetweil),
yes - this worked for me as well :-)
Now figured out how it works:
Have issued
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror-backup-restore/main/mm_backup.sh)" -r https://github.com/rkorell/MagicMirror -p
Then I was asked for username and password (twice) and git upload worked…
It seems git upload now contains a copy of local directory mm_backup.
If I check both, there are only a few directoris in Github as well as locally - much fewer than total number of installed modules…
What is the criterium for a module to “earn” a directory or not?
Thanks a lot!
Warmest regards,
Ralf
last trial (after digging in your script I understand that -p is not that correct…)
So I’ve figured out that reponame and username have their own prefix.
A prefix for the token is not present, so I assume user:token could be feasible.
So I came to
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror-backup-restore/main/mm_backup.sh) -p -r MagicMirror -u rkorell:ghpthisismyverylongandcryptictokenforgithub"
But this doesn’t work either…
So I’m desparately looking for the right place to put in the right parameters in the right manner.
Sorry for being this dumb…
Regards,
Ralf
@crowimu - Just a quick question: Have you considered to use a newer version of a Pi? A 4B or even 5?
Pi2 is somewhat old - may there is a kind of a root cause?
Regards,
Ralf
@sdetweil Dear Sam,
seen backup/restore days ago and as the question arises here - I struggle with the commend line :-(
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror-backup-restore/main/mm_backup.sh)" -h
works - I get some hints - same as on your github repo.
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror-backup-restore/main/mm_backup.sh)" -p
doesn’t work?
"illegal option '- ’ " is the error message.
Where can I place the -p option?
(inside the brackets I get an errormessage from curl …)
This is also true if I add repo- and username and the token.
There is my second question: how to pass the parameters?
I’ve tried
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror-backup-restore/main/mm_backup.sh)" -p MagicMirror rkorell ghp_thisismyverylongandcryptictokenforgithub
But with no luck.
MagicMirror is a fresh created repo, rkorell is my username on GitHub - token is fresh created private token according your guidance in module description.
Can you please help?
Thanks a LOT -as always,
Ralf
I had tried a Hannspree Touch monitor which worked out of the box with Raspian OS - without any driver installation.
So it should work with MagicMirror as well.
Video is connected via HDMI and touch is realized via USB.
I do not use it for my MagigMirror - it‘s to small for my use-case.
If you really want to realize a MIRROR keep in mind that every capacitative touch functionality will NOT work behind a reflecting surface.
For this use case you have to consider IR-Frames around your mirror.
If you just want to use the monitor - fine …
Regards,
Ralf
@crowimu Found in completely different context another hint to onoff - also related to GPIO (in concrete a GPIO related implemetation of a rotary decoder).
There was a suggestion
npm install --save onoff@6.0.0
I currently only „assume“ that @6.0.0 is the version - cause the cited post is from 2021 there could be a new version.
A quick google delivers this page and this one stated
npm install onoff
Will do the trick…
Good luck.
Ralf