OpenHab on Buildroot - ThomasDevoogdt/buildroot GitHub Wiki

Welcome to my custom Buildroot - OpenHAB wiki!

This is a work-in-progress repo with the ultimate goal to enable the full openHAB functionality on top of Buildroot instead of the openHABian image that is already out there. I use this wiki page more as a personal notebook rather than a public one, but feel free to have a look and copy/fork this repo. I'm currently working on thode-2020.11.1-dev as my development branch. This means that history can be rewritten from time to time, or at least as long I'm working alone on it.

Reasons why I want to have OpenHAB in Buildroot:

  • I'm more known to Buildroot than other systems.
  • Having full control over what goes in the image and whatnot.
  • The ability to generate a fresh image with all settings in place. This is the opposite of flashing an existing image and hacking on it. If I now do something wrong, I just have to re-generate my image, which should always be the latest and greatest.
  • (Not yet implemented!) Performing an upgrade by flashing a second partition.

Device config that I'm hacking on: raspberrypi3_64_openhab_defconfig

Building:

make raspberrypi3_64_openhab_defconfig
make

Flashing (etcher):

output/images/sdcard.img

SSH:

sshpass -p openhab ssh [email protected]

TODO:

  • Performing an upgrade by flashing a second partition.
  • Add an overlay partition for user data, which also should survive an upgrade.

OpenHab login portal:

http://habian.local:8080/