openHABian hassle-free openHAB Setup

Any ideas why there isn’t a logs folder and files?

Have you checked in /var/log/openhab2/?

1 Like

Hi @ThomDietrich,

just some remarks:

  • under features - raspberry pi specific: you could also mention menu options 20 - 22
  • under quick start: Raspberry Pi: small typo in the sentence

This system will install Raspbian followed by openHAB and a the mentioned settings and tools.

  • cosmetic: you may want to consider exchanging Linux with GNU/Linux
  • may be it’s an option to add some words regarding how to change the default passwords
1 Like

As @scottk already said, you are checking in the wrong spot:

@ThomDietrich: Thanks for your help.

But what if I have already run the updates?
“OK - No remote changes detected. You are up to date.”

By the way: I very like your first version of the openHABian doc article :slight_smile:

Ah, Sorry for the cryptic answer Yvonne.
What I was trying to point you to is the lower part where I described one of the latest changes. In the openHABian menu you will find the option “Serial Port”, behind which you will find the following possibilities:

That should be all you need to prepare your system for the use with zwave/razberry. Good luck and don’t hesitate to come back here if it doesn’t :wink:


1 Like

Thanks Matthias, I’ve started to work on these improvements. When reading “GNU/Linux”, U had to smile :slight_smile: Yes that is technically more correct but how many readers will take anything from that? I would argue that the previous mentioning of Debian/Ubuntu is hint enough. Would you agree?

That’s what I thought. My answer is still the same, you’ll need to use some special methods and all depend on your experience. Moving to a smaller SD card is not as easy and I would just install openHABian anew. If you want to do it, check this thread, I’ve previously linked some tool that are able to do the “shrink” for you.

I would not go down to 8GB! Because of wear leveling (see above) I’d stay with 16Gb or even upgrade to 32GB.
Regarding the SD card brand/class, please check the nice article @kasperz posted a few days back. openHABian hassle-free openHAB Setup

Agreed :sunglasses:

1 Like

@ThomDietrich Thanks so much! My controller is online :slight_smile:

Now I can start including my wall plugs and windows sensors. Guess this will also take some time :wink:

1 Like

The article is online. If you are missing an important detail, please just file a new issue :wink:

Just make a note of this that if you have a mac reserved DHCP address that when it reboots after the OS is install it will have a new IP.

if you have a raspberry pi running the full, latest raspbian with GUI such as the 2 or 3 (or maybe even 1)
and you have 2 USB sd card readers

Than that Raspbian has SD Card Copier which I’m pretty sure shrinks whitespace to fit smaller sd card (if possible):
Menu > Accessories > SD Card Copier

Shouldn’t the logs at ‘/var/log/openhab2’ be available from the Samba share locations, ie. openHAB-userdata/log?

I can view the configuration files etc. using the share but to view the logs I have to use another program like winSCP.

Hi guys - i’m getting strange errors tryin to update my openhabian:

Err Packages
Get:48 Packages [369 B]
Err Packages
W: Failed to fetch distributions/openhab-offline/target/apt-repo/Packages HttpError404

W: Failed to fetch distributions/openhab-online/target/apt-repo/Packages HttpError404

E: Some index files failed to download. They have been ignored, or old ones used instead.

Any idea?

Hey @paglia,
it seems like you’ve missed one of the important changes: openHABian hassle-free openHAB Setup
The posting should tell you all you need to know. My recommendation would be to wait one-two days before touching your system because of another big development. Stay tuned.

Everyone: You should subscribe to this thread to not miss things like these :wink: Important announcements are always yellow and always linked to in the first posting under “Updates”.

@mikyh Yes. I’m not sure why I didn’t do that from the beginning. There is already another request for it and an alternative solution proposed you might like (??).
Quick change: Please open the file /etc/samba/smb.conf and duplicate and modify one of the existing shares. Restart smb (or your RPi) and you’ll have access to the logfiles.

@OldHoster was this aimed at the openHABian article? I’m not sure if that would make sense. DHCP behavior is something rather specific to your private network and I’ve already mentioned the mDNS name (and preferred it in the examples)… What do you think?

I am sorry I was confused but will have to investigate why this happened. I thought it was a mac reserved address, but it was not. Between the reboots on the install the ip changed, and then when I restarted the install it went back to the original ip address that the PI was on. I can not use updating dns on the network.

I see. Switching IP back and forth is totally up to your DHCP server, most probably your router. The mDNS name should be available either way. If that is not the case, you’ll need to know the IP and that is best done by checking the routers web frontend. It is a good idea to make the IP of the RPi fixed.

I do not want to add these network configuration specific details to the openHABian article, as that is technically not related. Would you agree?

Got it - i think now i’ll be notified for every new post on this thread. Sorry :slight_smile:

I just haven’t seen a PI do that between reboots, and then to revert back. I have a 72 hour lease setup on the network which this is connected to, which is usually good, but for some reason when openHABian booted up into production mode it wasn’t good. I put it as a reserved MAC on my DHCP server(not the router or firewall) and it seems to be fine now. I just wasn’t expecting that. I would let people know that they should setup a reserved IP address for it. I agree that they should be on either a static or reserved DHCP system, but people need to know to watch out for that when they change their router. Maybe there should be a gotcha’s page? For some reason if you are using a Cisco(Not a linksys Cisco) DHCP it does this. I just don’t have time to look right now.

Thank you for this distribution.