OH on the raspberry pi zero

I’m on travels over the weekend but will look into the new image (hopefully) on Monday evening. Would you be available to test? Thanks and enjoy your weekend!

@jtmoderate876 and @mikyh This new image might also work with a wifi USB key… Should. Would be interesting to be tested by you as well.

@jtmoderate876 if this really becomes a thing, it would be interesting to know performance restrictions the zero imposes. Any experience on your side (I know, last time we talked you only used yours as a passive node)…?

1 Like

Hey Thom, I’d love to! I didn’t get it yet, though. It might take a while before they ship it to Poland :wink:

1 Like

PiHut sent mine out yesterday morning. Let’s see :slight_smile:

Btw. are you going to use it a “real” openHAB server or just as a remote node like Jeff does?

Would be happy to test.

Good news: I’ve received my Pi0W yesterday
Bad news: I will not be able to test anything before Friday evening
Good news: I’ve already implemented all needed changes/actions (image may contain bugs)

Chances are high I’ll have a first working image ready Saturday morning :wink:

It’s looking good.

Edit: Version 1.2 was released!

The new image is now based on Raspbian Lite. The base system will hence be available right away, openHABian will still go through the setup process on first boot. The new image is suited for all Raspberry Pis, connected via Ethernet or Wifi.

For the RPi0W you’ll have to provide wifi credentials. Do so in the file openhabian.conf.

Happy flashing! Please give the image a try!

Have been away from home but now ready to test on a Raspbery Pi zero. However, changes have been made I believe so which (Rapsian based) image should I be using. Why so many options!

Having no luck with the latest image on a Raspberry Pi Zero W.

https://github.com/openhab/openhabian/releases/download/v1.2/openhabianpi-raspbian-20170318-git9767b24-crc9616e8a1.img.xz

Have tried twice over wifi whilst monitoring the progress. The first time it reached the login prompt but there wasn’t a wifi connection. Rebooting enabled the wifi connection and I was able to SSH over wifi. When I logged on it carried on with certain tasks but again it stopped and there was no monitor output either, just a blank screen.

I reflashed the image and started again. This time the monitor again went blank but after a while I was able to login via wifi. Again it carried on performing tasks but locked up installing Zulu.

If I log on now I get this.

2017-03-03_16:19:27_UTC [openHABian] Booting for the first time! The initial setup might take a few minutes.
2017-03-03_16:19:27_UTC [openHABian] Storing configuration...
2017-03-03_16:19:27_UTC [openHABian] Changing default username and password...
2017-03-03_16:19:28_UTC [openHABian] Setting up Wifi connection...
2017-03-03_16:19:28_UTC [openHABian] Ensuring network connectivity...
2017-03-03_16:19:36_UTC [openHABian] Waiting for dpkg/apt to get ready...
2017-03-20_12:45:20_UTC [openHABian] Updating repositories and upgrading installed packages... OK
2017-03-20_12:46:44_UTC [openHABian] Installing git package... OK
2017-03-20_12:47:57_UTC [openHABian] Cloning myself... OK
2017-03-20_12:48:02_UTC [openHABian] === Executing 'openhabian-setup.sh' ===
2017-03-20_12:48:02_UTC [openHABian] Checking for root privileges... OK
2017-03-20_12:48:03_UTC [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2017-03-20_12:48:03_UTC [openHABian] Setting timezone based on IP geolocation... OK (Europe/London)
2017-03-20_12:50:25_GMT [openHABian] Setting locale based on openhabian.conf... OK
2017-03-20_12:51:46_GMT [openHABian] Setting the GPU memory split down to 16MB for headless system... OK
2017-03-20_12:51:46_GMT [openHABian] Installing basic can't-be-wrong packages (screen, vim, ...)... OK
2017-03-20_12:55:26_GMT [openHABian] Installing additional needed packages... OK
2017-03-20_12:56:40_GMT [openHABian] Adding slightly tuned bash config files to system... OK
2017-03-20_12:56:40_GMT [openHABian] Adding slightly tuned vim config file to system... OK
2017-03-20_12:56:40_GMT [openHABian] Downloading and setting up FireMotD... OK
2017-03-20_12:57:49_GMT [openHABian] Installing Zulu Embedded OpenJDK... FAILED
2017-03-20_13:17:18_GMT [openHABian] Booting for the first time! The initial setup might take a few minutes.
2017-03-20_13:17:18_GMT [openHABian] Storing configuration...
2017-03-20_13:17:18_GMT [openHABian] Setting up Wifi connection...
2017-03-20_13:17:19_GMT [openHABian] Ensuring network connectivity...
2017-03-20_13:17:30_GMT [openHABian] Waiting for dpkg/apt to get ready...
2017-03-20_13:29:16_GMT [openHABian] Updating repositories and upgrading installed packages... OK
2017-03-20_13:30:03_GMT [openHABian] Installing git package... OK
2017-03-20_13:30:07_GMT [openHABian] Cloning myself... FAILED

I’ve tested on the Pi0W countless times. Besides problems with intermediate coding errors the normal installation works flawlessly. If your setup fails at Zulu or any other random point, I’d guess your wifi connection is the problem.

The setup was always reliable and you can log in after around 10 seconds on power, watching the setup process. I can’t say anything regarding a display because I never ever connected a RPi to one :slight_smile:

All the described problems sound like wifi/internet connection problems to me…