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 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?
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.
Logstash or MQTT? The MQTT broker Mosquitto has been part of openHABian since September
The logging aggregator Logstash is still missing. I’m very interested in that but didn’t find the time…
The stable 2.0.0 version is now selected as the openHAB package installed by openHABian on new systems.
For most it’s recommended to switch over to the stable branch as well. That should be pretty easy:
sudo openhabian-config
“Update”
“Basic Setup”
“openHAB 2”
The version string of openHAB should now be “2.0.0-1”, the login screen will read “Release Build”.
That’s it. Party on.
Some might be interested in that: Yes, there will be a menu option to switch between stable, testing and unstable builds. Soon. Some time soon. I’ll keep you posted
@ThomDietrich I can’t tell you how wonderful this installation method is or how much I appreciate your work. This is just amazing.
I know one thing in the “openHAB 2 has arrived!” post above which concerns me is the “Basic Setup” from the wording on the actual openhabian-config screen I get the feeling that it’s going to reset things and delete my data. Can you expound just a little on what the “Basic Setup” actually does. Certainly a backup is always a good idea, but even with one, I’m very curious as to what to expect this option to do.
“Basic Setup” is something I’m definitely planning to restructure/split up/clarify! If you select it, you will see a screen with more details.
It’s not something dangerous for you I’d assume. Currently it does the following tasks:
Install a bunch of packages, skips if they are already installed
copy and replace the latest bundled bash, vim and nano configurations
download and set up the latest FireMotD
adjust a few permissions
The second step includes setting up the login screen info - for openHAB 2.0 a change was needed here. That’s the only reason for asking to execute “Basic Setup”.
The only thing you might be worried about are your custom bash or vim settings.
As I’m currently reinstalling my entire OH2 platform, I am trying to “migrate” a freshly installed openHABian from the SD to an SSD to use it as a boot medium for my pi 3. I am following the official documentation to do so. Unfortunately, after adding the line program_usb_boot_mode=1 the pi won’t reboot. It just powers off and never boots again. It works flawlessly with a fresh raspbian image.
Does anybody have the same issue? Or has anybody performed a migration to an external drive?
But as far as I understood this procedure leaves /boot/ on the SD. I just saw this article and will try to perform it after I moved all data onto the SSD.