xmas https://tech.feedyourhead.at/ en HackADay: A Christmas-Machine(Merry Christmas) https://tech.feedyourhead.at/content/hackaday-a-christmas-machine <span class="field field--name-title field--type-string field--label-hidden">HackADay: A Christmas-Machine(Merry Christmas)</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>This year I want to send you merry christmas by creating a blog-entry for a raspberry pi christmas project. The "christmas-machine" displays merry christmas and wishes for the "christkind" on a tft display for the raspberry. It is possible to send christmas wishes using a web applications that can be accessed via wifi. I placed this installation at the coffee-kitchen in the office and it was very nice to see that my colleges had a lot of fun with it.</p> <p>Blesses for "Brother Patrick" who spent me that wonderful Joy-IT TFT display.</p> <p> <video controls="" height="360" width="480"><source src="/sites/default/files/DateiUploads/xmasdev.mp4" type="video/mp4" /></video> </p> <h2>Install Joy-IT TFT3.2</h2> This is a very short installation guide for this display. Please visit the documentation for this display to see the <a href="http://anleitung.joy-it.net/wp-content/uploads/2017/04/RB-TFT3.2_RB-TFT3.5_Manual.pdf">full installation guide</a>. Edit /boot/config.txt <pre><code> dtparam=spi=on dtoverlay=joy-IT-Display-Driver-32b-overlay:rotate=270,swapxy=1 </code></pre> Edit /boot/cmdline.txt and add "fbcon=map:10" <pre><code> console=serial0,115200 console=tty1 root=PARTUUID=6c586e13-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait fbcon=map:10 </code></pre> Install xorg-modules: <pre><code> apt-get install xorg xorg-docs-core xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-libinput xserver-xorg-input-wacom xserver-xorg-legacy xserver-xorg-video-all xserver-xorg-video-amdgpu xserver-xorg-video-ati xserver-xorg-video-fbdev xserver-xorg-video-fbturbo xserver-xorg-video-nouveau xserver-xorg-video-radeon xserver-xorg-video-vesa </code></pre> Edit /usr/share/X11/xorg.conf.d/99-calibration.conf: <pre><code> Section "InputClass" Identifier "calibration" MatchProduct "ADS7846 Touchscreen" Option "Calibration" "160 3723 3896 181" Option "SwapAxes" "1" Option "TransformationMatrix" "1 0 0 0 -1 1 0 0 1" EndSection </code></pre> Edit /usr/share/X11/xorg.conf.d/99-fbturbo.conf and set fbdev to "/dev/fb1" <pre><code> Section "Device" Identifier "Allwinner A10/A13 FBDEV" Driver "fbturbo" Option "fbdev" "/dev/fb1" Option "SwapbuffersWait" "true" EndSection </code></pre> Install the driver: <pre><code> cd /tmp wget anleitung.joy-it.net/upload/joy-IT-Display-Driver-32b-overlay.dtbsudo cp joy-IT-Display-Driver-32b-overlay.dtb /boot/overlays/joy-IT-Display-Driver-32b-overlay.dtbo </code></pre> <h2>Prepare the desktop environment</h2> Install the LXDE-desktop: <pre><code> apt-get install lxde-common lxde-core lxde-icon-theme lxde-settings-daemon openbox-lxde-session lightdm lightdm-gtk-greeter chromium-browser unclutter </code></pre> Set autologin for user pi in lightdm: <pre><code> autologin-guest=false autologin-user=pi autologin-user-timeout=0 </code></pre> Edit /etc/xdg/lxsession/LXDE/autostart and remove xscreensaver: <pre><code> @lxpanel --profile LXDE @pcmanfm --desktop --profile LXDE @xset s off @xset -dpms @xset s noblank </code></pre> <b>Reboot</b> Edit /home/pi/.config/lxsession/LXDE/autostart: <pre><code> @lxpanel --profile LXDE @pcmanfm --desktop --profile LXDE @/home/pi/startxmas.sh @xset s off @xset -dpms @xset s noblank </code></pre> Remove software: <pre><code> apt-get remove light-locker wpasupplicant </code></pre> Edit /home/pi/startxmas.sh: <pre><code> #!/bin/bash DISPLAY=:0.0 unclutter & DISPLAY=:0.0 chromium-browser --kiosk --disable-restore-session-state --disable-features=TranslateUI --disable-session-crashed-bubble http://localhost/tree.html </code></pre> <h2>Install the Access-Point</h2> <pre><code> apt-get install hostapd dnsmasq </code></pre> Edit /etc/hostapd/hostapd.conf: <pre><code> interface=wlan0 driver=nl80211 ssid=xmas hw_mode=g channel=11 macaddr_acl=0 </code></pre> Edit /etc/dhcpcd.conf and add the following lines at the end of the file: <pre><code> interface wlan0 static ip_address=10.0.0.1/24 </code></pre> Edit /etc/dnsmasq.d/dhcp: <pre><code> dhcp-authoritative dhcp-range=10.0.0.50,10.0.0.150,12h address=/\#/10.0.0.1 interface=wlan0 </code></pre> Edit /etc/default/hostapd and modify DAEMON_CONF: <pre><code> DAEMON_CONF="/etc/hostapd/hostapd.conf" </code></pre> Configure autostart for hostapd: <pre><code> systemctl daemon-reload systemctl unmask hostapd systemctl enable hostapd </code></pre> <h2>Configure the webservice</h2> <pre><code> apt-get install apache2 php7.3 php7.3-cli php7.3-json git </code></pre> Download the Webfiles: <pre><code> git clone https://github.com/whotwagner/xmas2019.git /tmp/xmas2019 cp -r /tmp/xmas2019/* /var/www/html/ chown www-data /var/www/html/wishes </code></pre> </b>Reboot</b> <h2>MERRY CHRISTMAS AND A HAPPY NEW YEAR 2020</h2> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">Dec 21 2019</span> <div class="field field--name-field-tagies field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class='field__items'> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/xmas" hreflang="en">xmas</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/hackaday" hreflang="en">HackADay</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/raspberry" hreflang="en">Raspberry</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/Linux" hreflang="en">Linux</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/Fun" hreflang="en">Fun</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/Programming" hreflang="en">Programming</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/sysadmin" hreflang="en">Sysadmin</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/debian" hreflang="en">Debian</a></div> </div> </div> <section class="field field--name-comment-node-blog field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class='title comment-form__title'> <i class="fa fa-comments-o"></i> Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=286&amp;2=comment&amp;3=comment" token="bOpcwG6QkMNce10GTTONTe1gk3UOW4gOFZ8auDQ32WI"></drupal-render-placeholder> </section> Sat, 21 Dec 2019 20:28:14 +0000 Hoti 286 at https://tech.feedyourhead.at Merry Christmas https://tech.feedyourhead.at/content/xmas2018 <span class="field field--name-title field--type-string field--label-hidden">Merry Christmas</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I wish you a merry christmas and a happy new year.</p></div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">Dec 24 2018</span> <div class="field field--name-field-tagies field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class='field__items'> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/xmas" hreflang="en">xmas</a></div> </div> </div> <section class="field field--name-comment-node-blog field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class='title comment-form__title'> <i class="fa fa-comments-o"></i> Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=273&amp;2=comment&amp;3=comment" token="YZkNGvuuNab3dv_BR_Q8ZnEaXtQJISCZjMiruc4cv34"></drupal-render-placeholder> </section> Mon, 24 Dec 2018 19:04:29 +0000 Hoti 273 at https://tech.feedyourhead.at Merry Christmas https://tech.feedyourhead.at/content/merry-xmas-2017 <span class="field field--name-title field--type-string field--label-hidden">Merry Christmas</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I wish you a merry Christmas, beautiful holidays and a happy new year.</p></div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">Dec 25 2017</span> <div class="field field--name-field-tagies field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class='field__items'> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/xmas" hreflang="en">xmas</a></div> </div> </div> <section class="field field--name-comment-node-blog field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class='title comment-form__title'> <i class="fa fa-comments-o"></i> Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=250&amp;2=comment&amp;3=comment" token="b3rWhHlLeQAuowERGpQm4iTInpLSyDn6TWYI-QLfhqw"></drupal-render-placeholder> </section> Mon, 25 Dec 2017 08:37:52 +0000 Hoti 250 at https://tech.feedyourhead.at Merry Christmas https://tech.feedyourhead.at/content/xmas-2016 <span class="field field--name-title field--type-string field--label-hidden">Merry Christmas</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I wish you all a Very Merry Christmas and a beautiful time</p> <p><iframe height="500" src="https://tech.feedyourhead.at/xmas2016.html" width="600"></iframe></p> <p>PS: I found this nice html-css-hack at <a href="http://codepen.io">codepen.io</a></p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">Dec 23 2016</span> <div class="field field--name-field-tagies field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class='field__items'> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/xmas" hreflang="en">xmas</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/Fun" hreflang="en">Fun</a></div> </div> </div> <section class="field field--name-comment-node-blog field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class='title comment-form__title'> <i class="fa fa-comments-o"></i> Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=221&amp;2=comment&amp;3=comment" token="euav1WWr2dzXLYcH7AoGI8vi4OzhE2KHzBkhoVGzopw"></drupal-render-placeholder> </section> Fri, 23 Dec 2016 21:34:38 +0000 Hoti 221 at https://tech.feedyourhead.at Merry Christmas To All Of You.. https://tech.feedyourhead.at/node/139 <span class="field field--name-title field--type-string field--label-hidden">Merry Christmas To All Of You..</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Please use Full-Screen for maximum of joy...</p> <p> <video controls="" height="360" width="480"><source src="/sites/default/files/DateiUploads/xmas-2015.ogv" type="video/ogg" /></video> </p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">Dec 23 2015</span> <div class="field field--name-field-tagies field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class='field__items'> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/xmas" hreflang="en">xmas</a></div> </div> </div> <section class="field field--name-comment-node-blog field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class='title comment-form__title'> <i class="fa fa-comments-o"></i> Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=139&amp;2=comment&amp;3=comment" token="REh-0mTL7BHRnYDupBf9kgDOKL8azQOfgWXBk68r2Cw"></drupal-render-placeholder> </section> Wed, 23 Dec 2015 15:41:06 +0000 Hoti 139 at https://tech.feedyourhead.at Merry Christmas https://tech.feedyourhead.at/content/merry-christmas <span class="field field--name-title field--type-string field--label-hidden">Merry Christmas</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><h2>I wish you a very merry christmas and a geeky new year...</h2> <pre> <code> | --+-- | | / \ / \ '/ \' I- * -I | | / \ / \ / \ '/ \' I- * * * -I | * * | / \ / \ / \ / \ '/ \' I- * * * -I | * * | / \ / \ / \ / \ '/ \' I-----------------------------I MMMM MMMM MMMM MMMM MMMM </code></pre> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">Dec 22 2014</span> <div class="field field--name-field-tagies field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class='field__items'> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/xmas" hreflang="en">xmas</a></div> </div> </div> <section class="field field--name-comment-node-blog field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class='title comment-form__title'> <i class="fa fa-comments-o"></i> Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=29&amp;2=comment&amp;3=comment" token="UMnLAd2pwczbhuG_AINUbJsxrKQK2Tp-jz6Pxzped2E"></drupal-render-placeholder> </section> Mon, 22 Dec 2014 15:41:37 +0000 Hoti 29 at https://tech.feedyourhead.at