Pine A64?

I just got my pine64, I haven’t tried to install openHAB on it yet (waiting for my Zwave module, which frustratingly costs double the price of the whole computer!). Pretty happy with it as a SBC though. Here is my full review: pine64 vs raspberry pi 2

I’m still waiting for my Pine64, seems like forever ago that I backed it, but I can’t wait to run openHAB 2 on it! Thanks for your review.

Waiting for my pine64 pre-installed with openhab too. Yes, seems so long ago, can’t wait to try. Updates say shipments are delayed several weeks. :angry:

My feedback from OH1 on Pine so far:

  • Setup of Aeon ZWave Stick (gen 2) takes some time, but then works like a charm, no issues so far
  • Could not find any way to make it play audio or mp3 streams with openhab core multimedia jplayer implementation, I had to recompile it to use VLC instead. Still figuring out VLC startup performance, it does take a good few seconds to start playing
  • It seems Pine64 would have the same issues with file system corruption on SD cards as it’s been reported in Raspberry. My first setup lived about a week before it started crashing. Could be quality of the card used or just the way it works. For now I disabled all logging to keep card access by OH to a minimum, yet to see how long it will outlive the current setup

Next on my list would be to start playing with GPIO binding to see if it would play nicely with Pine.

Today I finally received my Pine64.
But there’s only android on the SD-Card - while I ordered the openHAB-Package.

What is the best way to start for me?
Is there an image available to create my own SD-Card?

Just got mine this week too.

Images are here: http://wiki.pine64.org/index.php/Pine_A64_Software_Release

I decided to go with the regular Ubuntu image, as the OpenHab one is headless (no video) and I don’t have a serial interface available to configure the initial OS and network.

But the apt-get instructions got me through the OpenHab2 install in no time.
http://docs.openhab.org/installation/apt.html

Also followed these steps to get Oracle Java installed. Note you want the 32-bit version.

I just installed the OpenHAB-image and I’m rather happy.
Even Z-Wave and enocean seems working with my sticks…

I’m confused now…? On the Image download page it says Z-Wave not yet supported? Has anyone managed to get the image working with the Pine64 zwave module…?

I think “Z-Wave not supported” is referring to the Z-Wave card from PINE64, whereas the USB Aeon Z-Sticks should work. Or perhaps even that has been worked out? (My PINE64 just arrived a couple days ago so I don’t have any first-hand experience with it yet.)

Thanks for the reply… I’m still waiting for mine… It’s been “Ready to Ship” on backerkit for more than a month now…

I’ve been searching for a tutorial on how to go about connecting to a headless Pine64 through the serial interface, but have not been able to find anything… I assumed I’ll need a USB serial programmer, so I ordered one from the Pine store. I see beginner tutorials for all the other images, but for some reason the OpenHAB image has no tutorial…? Can anyone help?

I got mine Pine64 - but the zwave-module will be shipped extra.
So I started with my current zwave-USB-stick.
And this combination worked out of the box…

Don’t worry about this. I initially thought I needed a serial cable too. But you can view the console through the HDMI cable. By headless it appears to mean no graphical desktop. The text console works fine through the HDMI output. I redid my setup using the “official” OpenHab Image, and had no issues.

From there you can plug in mouse and keyboard and setup wifi etc., or SSH in to the machine just like on a PI.

Hi David,
Are you sure that the pre-installed image can be accessed with HDMI? The official page clearly says “No HDMI” here. http://wiki.pine64.org/index.php/Pine_A64_Software_Release#openHAB_Image_base_on_Ubuntu_Linux_Longsleep_20160415_image

Plus, I remember trying HDMI with my pre-installed openhab, but no go. So I made a backup of the image, installed Longsleep 20160415 and openhab manually, which seems to work.

But given that many in the pine64 forum complaining how they got the wrong image installed, I am wondering if some images work and some don’t, so perhaps you got lucky. :slight_smile:

Yes. I am sure. I did have to turn my TV on and off a couple times to get it to sync up. I also had to adjust the TV as it was cutting off the outer edges of the screen.

Even on the full ubuntu image you should see messages on the Console before the graphical interface starts. If you see that, you should be good with the Openhab image.

Ok, thanks. I am going to write the backup to the card and try again. Will report back in a few.

Well, I re-downloaded the openhab image from here: http://wiki.pine64.org/index.php/Pine_A64_openHAB_Release
I used the 16GB image on my 16GB card.
I get this error: https://s31.postimg.org/4cv9xccgb/IMG_20160619_111942.jpg

Although the HDMI is working, there seems to be an error in loading the ubuntu+openhab image on pine for me.
Not sure if I could use 8gb build or any other build which worked for others.
Thanks.
PS: On the same SD card I can use other builds such as ubuntu, remixos and they all work fine. It’s just the openhab image posted on Pine64 wiki that gives this error. I don’t know what that error is… perhaps HDMI failing?

Just wait longer. Mine stops there too, but it will eventually continue. Was hoping to look at that today. I saw somewhere on the pine forum someone else was having the same issue on a different build

Looks like it is related to the DHCP timeout on the network. I am using the WiFi card which came with mine, but the wired interface is still configured. I disabled the network interface, and now it boots in less than a minute. I also ran the /home/openhab/update_kernel.sh script to ensure I had the latest updates.

to disable the network wt the eth0 interface to manu

openhab@openhab:~$ cat /etc/network/interfaces.d/eth0
auto eth0
iface eth0 inet manual

It worked, I waited longer and the login screen showed up.
Is the whole thing command line only or is there a way to get to the desktop screen? If not, then I think I will go back to my original install which had GUI.
Thanks for the help.

You could enable the desktop, and add any required packages and configuration. I don’t know the exact steps, but since you already have an image with the desktop enabled, it is likely faster to use that image.