Jekyll2020-12-26T01:51:17+00:00http://raspberrypisig.com/feed.xml<img src="/assets/images/logo.png" />RPi MoorabbinRaspberry Pi MoorabinYour NameHome Assistant Install on Raspberry Pi OS2020-12-26T00:00:00+00:002020-12-26T00:00:00+00:00http://raspberrypisig.com/blog/raspbian/2020/12/26/homeassistant-rpios<p>Details of the procedure <a href="https://gist.github.com/raspberrypisig/65aea786444dfa1f135ab5f3b2b85bcb">here</a></p>
<p>It is now a 2-step process (and hence you now run two scripts).</p>
<p>The main change is that NetworkManager needs to be installed, because it is now a hard dependency. That means the default networking applet will not
be used to connect to the network, but need to use the one provided by Network Manager. So the first step is to install Network Manager.</p>
<p>The second script then installs Home Assistant.</p>Your NameThey have made it harder, but it is still possibleKVM on Raspberry Pi OS2020-12-26T00:00:00+00:002020-12-26T00:00:00+00:00http://raspberrypisig.com/blog/raspbian/2020/12/26/kvm-raspberrypios<p>Installing KVM on Raspberry Pi OS 64-bit <a href="https://linuxhint.com/enable_kvm_kernel_module_on_raspberry_pi_os/">here</a></p>
<p>There were some problems that I encountered initially such as no keyboard and mouse, no internet access, VNC access etc. but I was able to overcome them one by one.</p>Your NameKVM Raspberry Pi OSMultiboot USB Raspberry Pi 42020-06-20T00:00:00+00:002020-06-20T00:00:00+00:00http://raspberrypisig.com/blog/rapsbian/2020/06/20/multiboot-usb-rpi4<p><a href="https://www.youtube.com/watch?v=YzI42d1axGM">Details here</a></p>
<p>PINN available <a href="https://github.com/procount/pinn">here</a></p>
<p>Be sure to check out Project Spaces <a href="https://github.com/procount/pinn/blob/master/README_PINN.md#project-spaces">here</a> and the Replace
<a href="https://github.com/procount/pinn/blob/master/README_PINN.md#replace-individual-oses">here</a></p>Your Namemultiboot usb on raspberry pi 4Native USB/SSD boot on Raspberry Pi 42020-06-05T00:00:00+00:002020-06-05T00:00:00+00:00http://raspberrypisig.com/blog/raspbian/2020/06/05/native-usb-ssd-boot-rpi4<p>UPDATE: Release Notes <a href="https://github.com/raspberrypi/rpi-eeprom/blob/master/releases.md">here</a></p>
<p>It is now possible to boot from a USB or SSD drive without using an SD card on a Raspberry Pi 4. The procedure outlined
below is still in beta, in future the process will be much easier. You can read more about it <a href="https://github.com/raspberrypi/rpi-eeprom/releases/tag/v2020.05.28-137ad">here</a></p>
<ol>
<li>Download <a href="https://github.com/raspberrypi/rpi-eeprom/releases/download/v2020.05.28-137ad/rpi-boot-eeprom-recovery-2020-05-28-vl805-000137ad-BETA.zip">https://github.com/raspberrypi/rpi-eeprom/releases/download/v2020.05.28-137ad/rpi-boot-eeprom-recovery-2020-05-28-vl805-000137ad-BETA.zip</a></li>
<li>Create an empty FAT-formatted SD card and extract the contents of the zip file from step 1</li>
<li>Boot Raspberry Pi 4 with SD Card. If successful, green led blinks forever and with HDMI output you get a green screen.</li>
<li>Unplug Raspberry Pi 4 and eject the SD card.</li>
<li>Download Raspberry Pi OS (previously Raspbian)</li>
<li>Use etcher/win32diskimager/RaspberryPImager as normal, but this time the target is not a SD card, but a USB/SSD drive.</li>
<li>Download <a href="https://github.com/raspberrypi/rpi-eeprom/releases/download/v2020.05.28-137ad/usb-msd-boot-firmware.zip">https://github.com/raspberrypi/rpi-eeprom/releases/download/v2020.05.28-137ad/usb-msd-boot-firmware.zip</a></li>
<li>Extract and replace files on USB/SSD drive.</li>
<li>Boot.</li>
</ol>
<p>BEFORE:</p>
<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ vcgencmd bootloader_version
Sep 10 2019 10:41:50
version f626c772b15ba1b7e0532a8d50a761b3ccbdf3bb (release)
timestamp 1568112110
$ vcgencmd bootloader_config
BOOT_UART=0
WAKE_ON_GPIO=1
POWER_OFF_ON_HALT=0
FREEZE_VERSION=0
</code></pre></div></div>
<p>AFTER:</p>
<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ vcgencmd bootloader_version
May 28 2020 08:22:33
version 7b40bda408e631812ad00ea210b149e7141d68ec (release)
timestamp 1590650553
$ vcgencmd bootloader_config
[all]
BOOT_UART=0
WAKE_ON_GPIO=1
POWER_OFF_ON_HALT=0
DHCP_TIMEOUT=45000
DHCP_REQ_TIMEOUT=4000
TFTP_FILE_TIMEOUT=30000
ENABLE_SELF_UPDATE=1
DISABLE_HDMI=0
SD_BOOT_MAX_RETRIES=1
USB_MSD_BOOT_MAX_RETRIES=1
BOOT_ORDER=0xf41
</code></pre></div></div>
<p>For me, the USB boot didn’t work the first. Press off, then on, voila.</p>
<p>Discussion <a href="https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=275187">here</a></p>Your NameA long-awaited featureRevised Home Assistant Supported Install Methods2020-06-04T00:00:00+00:002020-06-04T00:00:00+00:00http://raspberrypisig.com/blog/raspbian/2020/06/04/homeassistant-installation<p>Following backlash on deprecating generic install method, here is follow up post <a href="https://www.home-assistant.io/blog/2020/05/26/installation-methods-and-community-guides-wiki/">here</a></p>
<p>The important takeway is that the Home Assistant Supervised will still be a supported method of installing Home Assistant. They may limit
the number of OS and hardware they support with this method, but it will be available in one form or another for use with a
Raspberry Pi for those who still want to use their Raspberry Pi for purposes in addition to home assistant.</p>Your NameUpdate on blog after uproarNew name for Raspbian2020-06-04T00:00:00+00:002020-06-04T00:00:00+00:00http://raspberrypisig.com/blog/raspbian/2020/06/04/raspberrypios<p>Blog <a href="https://www.raspberrypi.org/blog/a-new-raspbian-update/">here</a></p>
<p>Motivation <a href="https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=275380&sid=179539de1c73f5b68018a82af57c2653">here</a></p>Your NameNow called Raspberry Pi OSRaspberry Pi 8GB2020-06-04T00:00:00+00:002020-06-04T00:00:00+00:00http://raspberrypisig.com/blog/hardware/2020/06/04/rpi8gb<p>Blog <a href="https://www.raspberrypi.org/blog/8gb-raspberry-pi-4-on-sale-now-at-75/">here</a></p>
<p>Core Electronics <a href="https://core-electronics.com.au/raspberry-pi-4-model-b-8gb.html">here</a></p>Your NameNew 8GB RAM versionCreate live stream from usb camera2020-05-08T00:00:00+00:002020-05-08T00:00:00+00:00http://raspberrypisig.com/blog/raspbian/2020/05/08/mjpg-streamer<p>Looking for a way to get a USB webcam feed into Home Assistant, I remembered that Octoprint uses <a href="https://github.com/jacksonliam/mjpg-streamer">mjpg-streamer</a> .</p>
<p>Home Assistant has a <a href="https://www.home-assistant.io/integrations/mjpeg/">MJPEG IP Camera integration</a> .</p>
<p>Install instructions and usage of mjpg-streamer <a href="https://gist.github.com/raspberrypisig/394b5fbb0ca7b17bed3afc2c0174c8dc">here</a>.</p>
<p>It is very responsive, good results.</p>Your Nameworks with pi camera tooHome Assistant Alternative Install2020-05-01T00:00:00+00:002020-05-01T00:00:00+00:00http://raspberrypisig.com/blog/raspbian/2020/05/01/homeassistant-alternate-install<p>The recommended way to install Home Assistant is to download the precompiled raspberry pi image. This is good for most users.</p>
<p>I still like to have Home Assistant installed on raspbian rather than hassio.</p>
<p>The Home Assistant way to do this is called a Supervised Install, link <a href="https://github.com/home-assistant/supervised-installer">here</a></p>
<p>There are a few steps in setting this up, so I have created a script <a href="https://gist.github.com/raspberrypisig/65aea786444dfa1f135ab5f3b2b85bcb">here</a></p>
<p>All you need to do is from a fresh installation of Raspbian/Raspberry Pi OS, run one of the following:</p>
<p>RASPBERRY PI 3</p>
<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>curl -sL https://bit.ly/2ykrpaM | HOMEASSISTANT_INSTALL_LOCATION=/home/pi/homeassistant RASPBERRYPI=raspberrypi3 sudo -E bash -
</code></pre></div></div>
<p>RASPBERRY PI 4</p>
<div class="language-text highlighter-rouge"><div class="highlight"><pre class="highlight"><code>curl -sL https://bit.ly/2ykrpaM | HOMEASSISTANT_INSTALL_LOCATION=/home/pi/homeassistant RASPBERRYPI=raspberrypi4 sudo -E bash -
</code></pre></div></div>
<p>Here are some other valid values for RASPBERRYPI environment variable</p>
<p>raspberrypi</p>
<p>raspberrypi2</p>
<p>raspberrypi3-64</p>
<p>raspberrypi4-64</p>
<p>The installation directory will be /home/pi/homeassistant.</p>
<p>After the script completes, give about 10-15 minutes for the Docker containers to come up. Go to http://localhost:8123 if your are on the Pi or http://IP_ADDRESS_OF_PI:8123 from another computer, replacing IP_ADDRESS_OF_PI with the IP address of computer.</p>
<p>Once you have done onboarding, ie create a user and logged into Home Assistant, have a poke around for 10 minutes, then REBOOT your pi (this is an important step). DNS issues go away (eg. map appears)</p>Your NameHome Assistant Alternative InstallInstall MotionEyeOS on Raspbian2020-02-09T00:00:00+00:002020-02-09T00:00:00+00:00http://raspberrypisig.com/blog/raspbian/2020/02/09/install-motioneye-raspbian<p>MotionEye is a popular software that is used to turn your raspberry pi into a CCTV.</p>
<p>The easiest way to install it is using a dedicated raspbian image - instructions <a href="https://github.com/ccrisan/motioneyeos/wiki/Installation">here</a></p>
<p>However, there are times where you would like to install motioneye on an existing raspbian image.</p>
<p>I created a script to do just that (Works with different flavours of Raspbian - Buster, Stretch, Jessie):</p>
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code>curl <span class="nt">-L</span> http://bit.ly/38ObQp3|sudo <span class="nt">-E</span> bash -
</code></pre></div></div>
<p>Dont need to be root to run this script</p>
<p>After install complete, motioneye will be available at</p>
<p>http://IP_ADDRESS_RPI:8765</p>
<p>username:admin</p>
<p>no pwd</p>Your NameMotionEye GUI on Rapsbian