openHABian hassle-free openHAB Setup

Hi just an update. I noticed that

  • astro:sun:data e astro:moon:data were not initialized
  • to initialize them, paper UI asked me also altitude (i don’t remember i filled this info months ago)

so what i did:

  1. removed and reinstalled astro binding via paper UI
  2. filled in altitude data
  3. run an apt-get upgrade, lot of stuff upgraded

this morning all my rules are fired correctly.

That’s is a little bit hidden in the release notes:

Thanks @sihui, so… probably missing altitude was my issue.

I just started to use node red and i am wondering how to update to the newst version of node-red using openhabian.

Thomas

Hi all,

using openHABian I moved the system partition to an external usb-drive (ssd).

With
sudo df

I get

Because of
/dev/sda1
and because openHAB is up and running, I assume that everything went well.

Problem:
I thought, the RPi3 should boot from USB mass storage now, without sd-card necessary.
But that don’t work. When I pull out the sd-card the RPi3 don’t boot anymore.
Maybe I misunderstood something?

Yes. The openHABian “move” function needs an sd card, if you want to boot without an sd card at all you need to follow:

https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md

1 Like

:ok_hand: What he said :slight_smile:

Thanks a lot for clarifing that.

I’m not sure, if I can follow the link @sihui recommended because the first step in the linked tutorial is to do sudo apt-get update && sudo apt-get upgrade
but actually always when starting openhabian-config I get this warning:

And if I finally make it one further question just to clarifiy:
When RPi3 is booting from ssd: Can I still use openhabian-config with option “Upgrade system” to keep my system up to date?

I’m asking because of that treat: Because the new USB mass storage boot mode is provided through beta firmware you can‘t upgrade your system with apt-get upgrade anymore.

Sorry, but I’m confused, because you have to pay attention to so many things.
(Managing all this with openhabian-config would be a great thing.:smiley:)

My system is:

openHABian Configuration Tool [master]v1.3-291(308a39f)

That is because you are still on the ua-netinst image which is deprecated! You should follow the steps on your screen.
See also:

1 Like

That is also no longer valid, see:

As I wrote before, I’m confused. :thinking:

Do you mean the screenshot I posted above: “Do not Upgrade, do not Reboot!” ?
So does it mean, I should not follow the tutorial to boot from a USB Mass Storage Device? (Because upgrade would be necessary.)

Notice to all openHABian users: Please apply a fix asap!

I did this in May.

Then I would expect not to see that message anymore.
But I’m not using openHABian, so cannot tell…

In General, it should not make any difference if you are using openHABian or Raspbian …

Thank you sihui.
I think I need to sleep on it.
Maybe tomorrow I just try and if I fail, then I start from scratch.:weary:

No need to, just make a backup, do a new install and put your config files back …

Yes, but with a new installation at least all z-wave devices need to be added again.

Then think about using the development version of the binding …

Sounds good. Thank you for that hint.

I just made an update and upgrade via opnehabian-config and get the following result

$ apt --yes upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libraspberrypi-doc : Depends: libraspberrypi0 (= 1.20170515-1) but 1.20170703-1 is installed
E: Unmet dependencies. Try using -f.
FAILED

Is this a major problem?

I think you have the same problem as me, two weeks ago. Please note openhab is now on version 2.1, you have to do this “major upgrade” i think.

Thank you for your reply.

But I allready updated to release openHAB 2.1.0-1

If I relogin there are 0 apt-get updates available. And everything at the moment seem to be running.

So I hope with the next updates the error will disapear.