Any instructions for this kind of setup somewhat?
Here is one:
Consider the fact that the Apollo 11 guidance computer has 64Kb of RAM and a clock speed of 0.043Mhz…I think the Pi 2 can monitor a few sensors without too much trouble.
I run OpenHAB on a Pi 2 and have been VERY happy. Worked great on my original Pi as well. Pull the trigger!
If you are looking for:
- jessie/stretch from debian: you can follow to some extent http://www.kaibader.de/homemade-minimal-raspberry-pi-raspbian-image/ but instead of using rasbian, you can use:
# cat /etc/apt/sources.list deb http://httpredir.debian.org/debian stretch main contrib non-free deb http://archive.raspberrypi.org/debian jessie main # cat /etc/apt/preferences.d/raspberrypi Package: * Pin: origin archive.raspberrypi.org Pin-Priority: 1 Package: raspberrypi-bootloader Pin: origin archive.raspberrypi.org Pin-Priority: 1000 Package: libraspberrypi0 Pin: origin archive.raspberrypi.org Pin-Priority: 1000 Package: libraspberrypi-bin Pin: origin archive.raspberrypi.org Pin-Priority: 1000
you will need from archive.raspberrypi.org the following packages:
libraspberrypi-bin libraspberrypi0 raspberrypi-bootloader
- BTRFS (and/or USB-Stick):
instead of formatting the SD-card/USB-stick with ext4 you use btrfs and add a subvolume @ as root subvolume
# cat /boot/cmdline.txt dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/sda1 rootflags=subvol=@,commit=300 rootfstype=btrfs elevator=deadline rootwait # cat /etc/fstab /dev/mmcblk0p1 /boot vfat noatime 0 2 /dev/sda1 / btrfs defaults,noatime,nodiratime,discard,commit=300,subvol=@ 0 1
- BTRFS snapshotting: https://github.com/digint/btrbk
Give ODROID C1 a chance.
Its much faster than RPI2, e.g. due to Gigabit LAN. Works like a charm here: Stable, reliable, faster than RPI2. Using traditional UBUNTU gives you more choices on software and long term support.
I kicked all my RPIs and did not regret it.
In step 4 the second link HW FAQ
It says “setting RAMTMP=yes in /etc/default/tmpfs these I/O operations will be RAM access rather than slow SD card I/O”
But with the Jessie Raspbian image (non-lite) from step 1 no matter what setting I use in /etc/defaults/tmpfs I appear to see the same file system.
It is shipped with
I also tried RAMTMP=yes and RAMTMP=no
What is the best setting?
I made the same experience and since then I use
tmpfs /tmp tmpfs defaults,noatime,nosuid,mode=0755,size=50m 0 0
in my /etc/fstab, works fine.
Yes it does! Thanks
Hi Lars! Where are you from? By your name im guessing Scandinavia? Im asking because of the voice control you are mentioning - is it in English? Or If its in Norwegian for example, willing to share the ruleset?
I am using an Raspberry PI 2 and are very satisfied. I will now go for an external disk. Should I go for an external SSD or standard?
Probably what ever is cheapest. OH does not appear to be IO bound and I don’t think you would see a difference over USB 2 between the two anyway.
I’m using a basic 2.5 external USB 2.0 disk, but if you are thinking of slightly extreme conditions or difficult-to-reach placement, I think the SSD is liable to be more reliable overall. Of course, if cost is a real factor, a traditional disk should do fine.
I’ve used Banana PI and Banana PRO in the past with Expanded external 250G SSD and they both worked flawlessly due to the better hardware.
I just saw this today. Some might find it useful.
Yes but being so popular, 4-6 week lead times
Which “start.sh” ist it?
start.sh was used some time ago…
afair you can setup additional java parameters through
/etc/default/openhab2 (or was it