Home Security
Hi @mendhak this is more a discussion than an issue. I have been thinking about my Calendar a lot because of my network. The Calendar sits on a table quite close to a house security camera. It occurred to me that anyone entering our home would see the Calendar and hence know our movements for the next week or more. The epaper is great but do you have a way to blank the epaper when we are away? I could delete the entries or add dummies in Google before leaving and add them back but is there a neat way to blank the screen? Maybe it's doable already! Thanks!
Interesting you mention that. I just recently added a new privacy mode here.
It's basically the time but using a literary quote. I set this when I go on holiday, or when someone is visiting.
Thanks @mendhak. I checked my env.sh but no export privacy lines are there. I guess I need to update to the latest version?
Hi yeah that is right, it was added pretty recently so update required.
Hi @mendhak I have just updated but have hit a problem with my google calendar. In my old env.sh under Calendar ID I just added my [email protected]. In your instructions under integrate calendar I should find a more complex ID. But I still just see [email protected]. I have tried this and there does seem to be a problem with my simple ID. There are two other codes under Calendar ID - one a puble url for a web browser and the second an embed code. Neither of these look like [email protected]. Any thoughts appreciated!
Hey @feh123 if that simple address is what you get as the ID, just use that. Are you seeing some problem if you use that? You can also try the word 'primary'
Hi @mendhak yes - I wwent back and tried again and it did download the calander entries. I am very confused as to why! But I think my router/satellite are having issues. However I still get an error converting to PNG! Does the following suggest the problem? Thanks! EXPORT TO PNG
Traceback (most recent call last):
File "/home/pi/waveshare-epaper-display/display.py", line 24, in
Oh that error is something different, it looks related to the code that the waveshare people have put out (which this repo uses to display images).
Try this,
cd lib/e-Paper
git pull
That's to make sure you have the latest from their code.
I get an error: You are not currently on a branch. Please specify which branch you want to merge with. See git-pull(1) for details.
git pull <remote> <branch>
OK try this, this should clean up your e-Paper module first:
cd lib/e-Paper
git reset --hard HEAD
Then go back to the top of the repo, and get the latest e-Paper module again:
git submodule update --recursive --remote
You're now thinking, why did I embark on this journey 😆 but FWIW this problem did hit many people this year and should have been fixed now.
I have kept my old calendar on another RPI! I'm afraid this code did not seem to work: cd lib/e-Paper git reset --hard HEAD HEAD is now at 6ef4a7d Merge pull request #132 from SSYYL/master pi@Calendar:~/waveshare-epaper-display/lib/e-Paper $ cd .. pi@Calendar:~/waveshare-epaper-display/lib $ cd .. pi@Calendar:~/waveshare-epaper-display $ git submodule update --recursive --remote error: The following untracked working tree files would be overwritten by checkout: RaspberryPi_JetsonNano/python/lib/waveshare_epd/pycache/init.cpython-311.pyc RaspberryPi_JetsonNano/python/lib/waveshare_epd/pycache/epd7in5_V2.cpython-311.pyc RaspberryPi_JetsonNano/python/lib/waveshare_epd/pycache/epdconfig.cpython-311.pyc Please move or remove them before you switch branches. Aborting fatal: Unable to checkout 'a824b4f8f34dee7e721183c0154788dcde41c460' in submodule path 'lib/e-Paper'
I don't know why that failed. You could try to remove the submodule folder and get it again
rm -rf lib
git submodule update --recursive --remote
Brilliant - that worked! Thanks a lot for working through this for me.
I know the feeling!