github openhab/openhabian v1.2
openHABian in international airspace

latest releases: v1.9, v1.9beta2, v1.9beta...
7 years ago

The v1.2 release changes and adds a few details in openHABian for a more intuitive experience for beginners and with new hardware, including devices connected by Wifi. The most important change with this release is the addition of a Raspbian Lite based image.

Changes since v1.1

All git commits can be found here.

  • A new Raspberry Pi build based on Raspbian Lite
  • All needed modifications for the new Raspberry Pi Zero W
  • A way to configure Wifi before first boot (Pi0W, Pi3 and Pine64)
  • An improved timezone function: Autodetect timezone, Overwrite option, Interactive mode
  • Menu entries for timezone, locale and hostname, resolves #59
  • Clarify "setup not finished yet" for impatient users
  • raspi-config removed and replaced by a hint to use openhabian-config
  • Slight improvements to all build scripts
  • Contains Vagrantfile for a build environment
  • Fixes bug #110 / improves #100 #101

Raspberry Pi Zero W

A few days back the Raspberry Pi Zero W (Pi0W) was released. The Pi0 is a cheaper and smaller Raspberry Pi with only a few external connectors and only one 1GHz core. The latter, especially the lack of a network port, made the Pi0 uninteresting as a "hassle-free" SBC for openHABian. The Pi0W changes that because of it's integrated Wifi/Blueooth module.

openHABian v1.2 brings full support for the Pi0W in unattended/headless mode. Read about Wifi setup below.

The Raspberry Pi Zero W is powerful enough to run openHAB and to control your small and mid-sized home / home automation system. It is also a great device as a slave system, e.g. only interacting with your heating system or the garage devices. If you can live with the limited count of connectors and the main uplink via Wifi, the cheap RPi0W might be a good choice for your openHAB(ian) installation.

Raspbian Lite base

If you payed close attention, you know that openHABian for the Raspberry Pi started as a project based on raspbian-ua-netinst, a minimal unattended network installer, perfect for what openHABian was aiming for. You will however also remember, that this rather special system had some restrictions and quirks. A "hassle-free" system should be as predictable as possible, however the differences to a standard Raspbian system confused some openHABian users. Another problem was the need for the support of a Wifi connection with the Pi0W.

With openHABian v1.2 we are introducing a Raspbian Lite based image in parallel to the raspbian-ua-netinst based image. The Raspbian image will take longer to flash but will overall be quicker to configure the system and start openHAB. Additionally it allows for a setup purely via Wifi and therefore is the only option for the RPi0W. As it is based on Raspbian as we know it, I expect this system to create less problems with GPIO or other issues known from the old base. The raspbian-ua-netinst based image is still fully supported and if you were happy with it so far, don't hesitate to stick with it.

Wifi Setup

If you own a RPi3, RPi0W or a Pine A64, you can setup and use openHABian v1.2 purely via Wifi. You'll need to make your SSID and password known to the system before the first boot in just a few steps:

  • Flash the system image to your micro SD card
  • Access the first partition from your file explorer
  • You'll find the file openhabian.conf, open it in a text editor
  • Uncomment and fill in wifi_ssid= and wifi_psk=
  • Save, Unmount, Insert, Boot, Enjoy.

More clarity

The openHABian setup was always quite reliable. Still there were exceptions of cause. In these cases the current state of the installation and a possible error and its solution were not always easy to identify for a new user (at least not without further knowledge of the system).
With v1.2 we've added a tiny but useful little addition. The configuration and setup process takes between 5 and 60 minutes (based on device, connection type and bandwidth). During that time you can log in via ssh and will be presented with the configuration progress log, washing away all unclarity.

Internationalization

openHABian promotes a hassle-free system you can use instantly without further modification. There were however three topics not yet covered by openHABian as good as expected by some users: Hostname, Locale and Timezone.

Version 1.2 finally brings openhabian-config menu entries to change the system's hostname, to adjust the timezone and to change the system language, if en_US.UTF-8 is not what you are satisfied with. Besides these menu entries the local time zone will now automatically be detected based on your IP, making a manual change mostly obsolete. With these additions raspi-config is now finally abandoned from the Raspberry Pi openHABian system.

Next Steps

As always: If you are on a previous openHABian release, you just have to execute sudo openhabian-config followed by the "Update" menu entry to gain access to all the latest changes. Please report all problems you encounter.

New users and Raspbian Lite image switchers:
Follow the instructions under http://docs.openhab.org/installation/openhabian.html.
Choose the right image below, use Etcher to flash the compressed image files (.img.xz)!

RPi Download Note

Because of the above mentioned reasons we recommend the "openhabianpi-raspbian" image for your "hassle-free" openHAB experience on the Raspberry Pi.

Don't miss a new openhabian release

NewReleases is sending notifications on new releases.