openHABian hassle-free openHAB Setup

Sorry MicroSD

95% of the time an openHABian installation fails it is due to the used SD card (5% network connectivity).
In your case I believe 2GB is not big enough. The complete openHABian installation will take up around 2GB and there should be some slack.

Please pay attention to documentation: http://docs.openhab.org/installation/rasppi.html

After selecting the option you will see another dialog explaining that. See also: http://docs.openhab.org/administration/console.html

@ThomDietrich: Do you know the answer for this? Thanks a lot!

Installing an X server and vnc is not intended on openHABian. You should look into Samba and SSH. It’s the better way to interact with a dedicated small linux server. Do not use your powerful PC as the gateway to a crappy minimal remote control access.

If you still want to use VNC, use the search function. Users have installed VNC it in the past.

Hey @jaydee73 I’ve read about this and believe it will be updated. However I’m not sure, please ask in the 2.0 announcement thread to be sure.

Thanks Thom,
You were correct.
I grabbed a 32gb and worked perfectly.
I knew I should have changed the SD card before Writing anything…
Guess I was just hoping to get rid of some of these Tiny sd cards laying around.
Thanks again for the hard work.

1 Like

Hi,

I am new to openhab and openhabian.
Installation of the img and configuring weather was an easy thing. Thank you for this.

However, I struggled with the GPIO binding.

  1. I found out, that the file permission for GPIO have been changed
    (see https://github.com/raspberrypi/linux/issues/1117)
    I am not sure whether this is already adjusted in the binding and/or in the image.

  2. I did not find out how to create a “Thing” for the gpio binding.
    There seems to be some documentation missing.

Volkmar

Hi

What am I doing wrong?

Burned the openhabian-ua-netinst-20161216-git52cc420.img image on a clean SD card. Put it in my RPI3, connect ethernet and power up.
Waited for an hour now. But can’t get any connection with http://openhabian:8080 nor http://ip-adress:8080

Should I reboot the Pi (power off, power on)?

Regards

I’m using a similar setup than @nena85. Rasberry2 and the RaZberry board. The controller was up and running until the system rebooted due to a short power loss. Then /dev/ttyAMA0 was gone and i could not restore it using the openhabian-config tool. I needed to modify /boot/config.txt:

enable_uart=1

Not sure why this is required. Anybody can explain?

What is the default login for samba ?
I cannot access the
/sys
/conf
/Userdata
through my windows pc
Entering pi:raspberry does not work !

BTW: There was a good page where all details for the openhabian installation were explained. This page is gone unfortunately. Where can I find it ??

EDIT: Just found it :smile: pls ignore my post :slight_smile:
http://docs.openhab.org/installation/openhabian.html

Not much to go with here. What’s the LED state, which info do you see on SSH? http://docs.openhab.org/installation/openhabian.html#faq-successful

Your easiest next step would be to try a second time.

@Volkmar the GPIO is not a good binding to start with. It’s a tricky binding with a few things to pay attention to. Start with one of the native 2.0 bindings. Here you’ll find the information you need to use the GPIO binding with openHABian: https://github.com/openhab/openhabian/issues/39#issuecomment-267817826

@mheiss this setting is important for the use of all kinds of transceiver modules with the RPi. The setting should be set be openhabian-config --> Serial Port --> “Disable serial console”. This option should work. Why was your file content reset on power loss? Please check other files, create a file and reboot. Check if it is still there. If that is not the case (no write access to the sd card) your sd card might be damaged.

@lutz Wonderful. Good to see that the documentation effort was not for nothing…

I have not. Installed bluez but still not working. Have you been able activate bluetooth on your RPI 3?

Seems that this was the only setting that changed. Rebooting is currently fine. No more changes. Strange … But I’m happy that it works not. Thx for the explanation :smile:

Hey there,

Thanks a lot for this fantastic project! I have a new RaPi3 an new SD card. I installed as described on the well documentated webpage. I can acces via SSH (and got that startscreen) and Samba. But I have the same problem as Willem (WiMu).

Waited for an hour now. But can’t get any connection with http://openhabian:8080 nor http://ip-adress:8080

Should I reboot the Pi (power off, power on)?

Thanks for any help!

Pieter

My second try worked. Waited for about 2 hours. Perfect installation.

Started this weekend with a clean installation - everything works perfect - except zwave-usb-stick on /dev/ttyACM0.
With my old sd-card-system it works - so it’s no hardware problem.
There are some threads concerning this kind of problems.

But I would like to know if someone has installed a working version with zwave in the last few days?

Michael

Sure, I update regularly, most of the time once a week, no problems with /dev/ttyACM0
The only thing I ever had to do was adding user openhab to dialout group …
http://docs.openhab.org/installation/linux.html#privileges-for-common-peripherals

That’s a default part of openHABian basic setup for a few months now :wink:

I think mashborn meant a complete fresh installation including zwave. But I could be wrong…

Other than that: Same for me! Using OH2 with frequent updates (the last this morning) and an Aeon Gen5 stick on dev/ttyacm0. No problems here…