{"id":732,"date":"2021-04-03T12:01:30","date_gmt":"2021-04-03T10:01:30","guid":{"rendered":"https:\/\/apfelcast.com\/?p=732"},"modified":"2021-04-03T12:01:30","modified_gmt":"2021-04-03T10:01:30","slug":"raspberry-pi-diashow-bilder-monitor-mit-nextcloudanbindung-schritt-fuer-schritt-anleitung","status":"publish","type":"post","link":"https:\/\/it-ion.de\/index.php\/2021\/04\/03\/raspberry-pi-diashow-bilder-monitor-mit-nextcloudanbindung-schritt-fuer-schritt-anleitung\/","title":{"rendered":"Raspberry Pi Diashow Bilder-Monitor mit Nextcloudanbindung- Schritt-f\u00fcr-Schritt Anleitung"},"content":{"rendered":"\n<div class=\"brlbs-cmpnt-container brlbs-cmpnt-content-blocker brlbs-cmpnt-with-individual-styles\" data-borlabs-cookie-content-blocker-id=\"default\" data-borlabs-cookie-content=\"PGlmcmFtZSB0aXRsZT0iWW91VHViZSB2aWRlbyBwbGF5ZXIiIHNyYz0iaHR0cHM6Ly93d3cueW91dHViZS5jb20vZW1iZWQvU3RRNXNpQVNDS1EiIHdpZHRoPSI1NjAiIGhlaWdodD0iMzE1IiBmcmFtZWJvcmRlcj0iMCIgYWxsb3dmdWxsc2NyZWVuPSJhbGxvd2Z1bGxzY3JlZW4iPjwvaWZyYW1lPg==\">\n<div class=\"brlbs-cmpnt-cb-preset-a\">\n<p class=\"brlbs-cmpnt-cb-description\">Sie sehen gerade einen Platzhalterinhalt von <strong>Standard<\/strong>. Um auf den eigentlichen Inhalt zuzugreifen, klicken Sie auf die Schaltfl\u00e4che unten. Bitte beachten Sie, dass dabei Daten an Drittanbieter weitergegeben werden.<\/p>\n<div class=\"brlbs-cmpnt-cb-buttons\"> <a class=\"brlbs-cmpnt-cb-btn\" href=\"#\" data-borlabs-cookie-unblock role=\"button\">Inhalt entsperren<\/a> <a class=\"brlbs-cmpnt-cb-btn\" href=\"#\" data-borlabs-cookie-accept-service role=\"button\" style=\"display: none\">Erforderlichen Service akzeptieren und Inhalte entsperren<\/a> <\/div>\n<p> <a class=\"brlbs-cmpnt-cb-provider-toggle\" href=\"#\" data-borlabs-cookie-show-provider-information role=\"button\">Mehr Informationen<\/a> <\/div>\n<\/div>\n<p>In diesem Video zeige ich euch ganz einfach, wie ihr euren Raspberry Pi in einen Diashow Monitor verwandeln k\u00f6nnt, der automatisch Bilder von euerer nextcloud anzeigt.<\/p>\n<p>\u00bb Fertige Installation zum Download auf Patreon: <a href=\"https:\/\/www.patreon.com\/posts\/47791129\">https:\/\/www.patreon.com\/posts\/47791129<\/a><\/p>\n<p>\u00bb Nextcloud Installation:<br \/>\nAuf Raspberry Pi: <a href=\"https:\/\/youtu.be\/hEFzZglKtOY\">https:\/\/youtu.be\/hEFzZglKtOY<\/a><br \/>\nAuf Linux Server: <a href=\"https:\/\/youtu.be\/QB_FEWJ9BB4\">https:\/\/youtu.be\/QB_FEWJ9BB4<\/a><br \/>\nAuf Windows 10: <a href=\"https:\/\/youtu.be\/rtfKDupfulQ\">https:\/\/youtu.be\/rtfKDupfulQ<\/a><\/p>\n<p>\u00bb Verwendete Produkte (Pi 4B):<br \/>\nAll-in-One Set: <a href=\"https:\/\/amzn.to\/3s9eDm4\">https:\/\/amzn.to\/3s9eDm4<\/a><br \/>\nRaspberry Pi 4B 4GB: <a href=\"https:\/\/amzn.to\/2ZvJPzP\">https:\/\/amzn.to\/2ZvJPzP<\/a><br \/>\nRaspberry Pi 4 Case: <a href=\"https:\/\/amzn.to\/3ug9FG6\">https:\/\/amzn.to\/3ug9FG6<\/a><br \/>\n3A USB-C Netzteil: <a href=\"https:\/\/amzn.to\/2M7UFsx\">https:\/\/amzn.to\/2M7UFsx<\/a><br \/>\nmicroSD Karte: <a href=\"https:\/\/amzn.to\/3ufhsUD\">https:\/\/amzn.to\/3ufhsUD<\/a><br \/>\nHDMI-Kabel: <a href=\"https:\/\/amzn.to\/3pBkDlV\">https:\/\/amzn.to\/3pBkDlV<\/a><\/p>\n<p>\u00bb Verwendete Produkte (Pi 3B):<br \/>\nAll-in-One Set: <a href=\"https:\/\/amzn.to\/3sb5SYH\">https:\/\/amzn.to\/3sb5SYH<\/a><br \/>\nRaspberry Pi 3: <a href=\"https:\/\/amzn.to\/3bmyM1o\">https:\/\/amzn.to\/3bmyM1o<\/a><br \/>\nRaspberry Pi 3 Case: <a href=\"https:\/\/amzn.to\/2NH0tcX\">https:\/\/amzn.to\/2NH0tcX<\/a><br \/>\n3A microUSB Netzteil: <a href=\"https:\/\/amzn.to\/3bjuh7E\">https:\/\/amzn.to\/3bjuh7E<\/a><br \/>\nmicroSD Karte: <a href=\"https:\/\/amzn.to\/3ufhsUD\">https:\/\/amzn.to\/3ufhsUD<\/a><br \/>\nHDMI-Kabel: <a href=\"https:\/\/amzn.to\/2OY8KKf\">https:\/\/amzn.to\/2OY8KKf<\/a><\/p>\n<p>&nbsp;<\/p>\n<div id=\"93964-1\"><script src=\"\/\/ads.themoneytizer.com\/s\/gen.js?type=1\"><\/script><script src=\"\/\/ads.themoneytizer.com\/s\/requestform.js?siteId=93964&#038;formatId=1\"><\/script><\/div>\n<p>&nbsp;<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#### Raspberry Picture Frame with Nextcloud ####\n\n## Update Raspberry Pi ##\nsudo su\napt update &amp;&amp; apt upgrade \n\n## Install all dependencies ##\napt install build-essential git cmake openssl libssl-dev sqlite3 libsqlite3-dev qt5-default libqt5webkit5-dev qttools5-dev qttools5-dev-tools python-sphinx texlive-latex-base inotify-tools qt5keychain-dev doxygen extra-cmake-modules kio-dev\n\n## compile from GitHub ##\ncd ~\ngit clone https:\/\/github.com\/nextcloud\/client_theming.git nextcloud_client\ncd nextcloud_client\ngit submodule update --init\ncd client\ngit submodule update --init\ncd ..\nmkdir build\ncd build\ncmake -D OEM_THEME_DIR=$(pwd)\/..\/nextcloudtheme ..\/client\nsed -i 's\/Icon=nextcloud\/Icon=Nextcloud\/g' src\/gui\/nextcloud.desktop\nsed -i 's\/Icon\\[\\(.*\\)\\]=nextcloud\/Icon\\[\\1\\]=Nextcloud\/g' src\/gui\/nextcloud.desktop\nmake\n\nsudo make install\n\n## check if running ##\nnextcloudcmd -v\n\n## if error, then.. ##\necho 'LD_LIBRARY_PATH=$LD_LIBRARY_PATH:\/usr\/local\/lib\/arm-linux-gnueabihf' | sudo tee -a \/etc\/environment\ngrep '\/usr\/local\/lib\/arm-linux-gnueabihf' \/etc\/ld.so.conf.d\/arm-linux-gnueabihf.conf &gt;\/dev\/null 2&gt;&amp;1 || echo '\/usr\/local\/lib\/arm-linux-gnueabihf' | sudo tee -a \/etc\/ld.so.conf.d\/arm-linux-gnueabihf.conf\ngrep '\/usr\/local\/lib\/arm-linux-gnueabihf' \/etc\/ld.so.conf.d\/x86_64-linux-gnu.conf &gt;\/dev\/null 2&gt;&amp;1 || echo '\/usr\/local\/lib\/arm-linux-gnueabihf' | sudo tee -a \/etc\/ld.so.conf.d\/x86_64-linux-gnu.conf\nsudo ldconfig\nexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:\/usr\/local\/lib\/arm-linux-gnueabihf\n\n## check again ##\nnextcloudcmd -v https:\/\/n3.apfelcast.com\/remote.php\/dav\/files\/raspberry\/\n\n## create directory ##\nmkdir \/home\/pi\/cloud\n\n## create netrc file ##\nnano ~\/.netrc\n\nmachine mein.server.de\n        login benutzername\n        password passwort\n        \nchmod 0600 ~\/.netrc\n\n## sync via cli ##\nnextcloudcmd --non-interactive -n \/var\/data\/cloud\/ https:\/\/mein.server.de\/remote.php\/webdav\/\n\n\n## install slideshoe software ##\nwget https:\/\/github.com\/NautiluX\/slide\/releases\/download\/v0.9.0\/slide_pi_stretch_0.9.0.tar.gz\ntar xf slide_pi_stretch_0.9.0.tar.gz\nmv slide_0.9.0\/slide \/usr\/local\/bin\/\n\napt install libexif12 qt5-default\n\n## autostart slideshow at boot ##\nnano \/etc\/xdg\/lxsession\/LXDE-pi\/autostart\n\n@xset s noblank \n@xset s off \n@xset -dpms\n@slide -t 30 -o 200 -p \/home\/pi\/cloud\/Diashow\n\n## disable screen blacking after 10 minutes ##\nnano \/etc\/lightdm\/lightdm.conf\n\n[SeatDefaults]\nxserver-command=X -s 0 -dpms\n\n## V1: Simple crontab sync ##\ncrontab -e \n*\/15 * * * * nextcloudcmd -n \/home\/pi\/cloud\/Diashow https:\/\/meine.domain.com\/remote.php\/webdav\/ &gt;\/dev\/null 2&gt;&amp;1\n\n## V2: automate Sync via bash skript ##\nnano \/home\/pi\/cloud-sync.sh\n\n#!\/bin\/bash\nLOCAL=\/var\/data\/cloud\/\nREMOTE=https:\/\/mein.server.de\/remote.php\/webdav\/\nPARAMS=\"--non-interactive -n --exclude \/home\/pi\/cloud-sync-exclude.txt\"\n\nLOG=\/var\/log\/cloud-sync.log\n\nif [ pgrep -x nextcloudcmd ]; then\n  echo \"====================\" | tee -a $LOG\n  date -R | tee -a $LOG\n  echo \"Cloud-Sync l\u00e4uft schon!\" | tee -a $LOG\n  echo \"====================\" | tee -a $LOG\n  exit 1\nfi\n\necho \"====================\" | tee -a $LOG\ndate -R | tee -a $LOG\necho \"Cloud-Sync gestartet\" | tee -a $LOG\necho \"====================\" | tee -a $LOG\n\n\/usr\/local\/bin\/nextcloudcmd $PARAMS $LOCAL $REMOTE 2&gt;&amp;1 | tee -a $LOG\n\necho \"====================\" | tee -a $LOG\ndate -R | tee -a $LOG\necho \"Cloud-Sync beendet\" | tee -a $LOG\necho \"====================\" | tee -a $LOG\n\n## make executable ##\nchmod +x \/home\/pi\/cloud-sync.sh\n\n## automate via crontab ##\n0 4 * * * \/home\/pi\/cloud-sync.sh &gt;\/dev\/null &amp;<\/pre>\n<p>&nbsp;<\/p>\n<h3>apfelcast Support<\/h3>\n<p>Du ben\u00f6tigst Unterst\u00fctzung bei deinem Projekt oder hast Fragen zur Umsetzung?<br \/>\n<strong>Dann melde ich gern bei uns!<\/strong><\/p>\n<p>[button link=&#8220;https:\/\/apfelcast.com\/kontakt&#8220; type=&#8220;big&#8220; class=&#8220; custom-button&#8220;] Kontaktieren[\/button]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sie sehen gerade einen Platzhalterinhalt von Standard. Um auf den eigentlichen Inhalt zuzugreifen, klicken Sie&#8230;<\/p>\n","protected":false},"author":1,"featured_media":733,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-732","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-allgemein"],"taxonomy_info":{"category":[{"value":1,"label":"Allgemein"}]},"featured_image_src_large":["https:\/\/it-ion.de\/wp-content\/uploads\/2021\/04\/maxresdefault-8-1024x576.jpg",1024,576,true],"author_info":{"display_name":"Daniel Klozb\u00fccher","author_link":"https:\/\/it-ion.de\/index.php\/author\/wp-master\/"},"comment_info":0,"category_info":[{"term_id":1,"name":"Allgemein","slug":"allgemein","term_group":0,"term_taxonomy_id":1,"taxonomy":"category","description":"","parent":0,"count":89,"filter":"raw","cat_ID":1,"category_count":89,"category_description":"","cat_name":"Allgemein","category_nicename":"allgemein","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts\/732","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/comments?post=732"}],"version-history":[{"count":0,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/posts\/732\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media\/733"}],"wp:attachment":[{"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/media?parent=732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/categories?post=732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it-ion.de\/index.php\/wp-json\/wp\/v2\/tags?post=732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}