openHABian hassle-free openHAB Setup

In Paper UI there is no UI section in Add-ons. Thats in Confurations/services/UI. And even there is only Habpanel

in configurations/services you can only configure what is installed, so if an items doesn’t pop up there, it means it isn’t installed and thus not able to configure.

Sounds logical :slight_smile:
How do i install the extra UI’s? I can’t find them under add-ons. There is no UI tab.Only Bindings, Misc and Voice

https://i.imgur.com/z7YvTUi.png

Hey Joost!
Pretty weird situation you are in. Did you try another openHABian install? At this point this might be the easiest step to get to the normal starting point. When you get to the initial setup screen, please select “Standard”.

Hi there,

I have been running 2.1 on a Windows box for a little while, but have come across some things where it appears it will work better on Linux, so have spun up a minimal Ubuntu Server 17.10 installation on my ESXi environment.

The basic have installed quite nicely using openhabian - I have a working OH Snapshot install, plus Mosquitto, but I am having issues trying to install InfluxDB and Grafana - it fails part way through the installation of these, but then flicks back to the the configuration tool, and I can’t seem to find a way to see the error message!

Influx seems to be partially installed - if I navigate via a browser to IP:8086 I get a plain text screen with “404 page not found”

As I am a total Linux n00b I thought this would be the quickest and easiest way to get a load of stuff up and running! I’m willing to find logs etc, but unfortunately I’ll need a little assistance on how to do so!

Hey! Should be in general but the grafana and influx routine is quite honestly not mature yet.

Please follow this Tutorial, you’ll find a detailed step by step guide: InfluxDB+Grafana persistence and graphing

Hi Thom, thanks for your reply. I can certainly take a look at working through the steps in the linked instructions to get it up and running - but I’d like to assist if possible and highlight what has failed for me in the openhabian routine to help make it better! If there’s a way to get hold of the log from the failed installation attempt I’d like to post them up somewhere :slight_smile:

They should have been visible after the installation. You just need to “Exit” the openhabian-config tool and scroll up. :slight_smile: Please open an issue with or also without in the issue tracker: https://github.com/openhab/openhabian/issues
I already have a good idea where the error came from. One would need to invest some work to improve the routine and I am sadly not in the position to do so currently.

Volunteers!!

Whoever wants to help with the InfluxDB+Grafana routine or any other improvement on openHABian, let me know and I can help you get you going.

Comparing the script with the individual installation instructions (for InfluxDB and Grafana), it looks like the InfluxDB installation is completed OK - but as I’m not running jessie, the repository & keyserver are never added locally - so apt install grafana will fail

I’ll add an issue on github with this info so it’s all in one place :slight_smile:

1 Like

Would you like try to fix this?
Edit… Oh!! You did already :smiley: Thanks

maybe a silly question but how can i access my installed mysql persistence on openhabianpi via an external tool :frowning:

First of all, thanks for openHABian. :smiley:

I have two slight additions: frontail for homegar and syslog. It is so comfortable not having to ssh anywhere and cat / grep the logs.

I added the following files to /etc/systemd/system

frontail-homegear.service:

[Unit]
Description=Frontail homegear instance, reachable at http://%H:9002
Documentation=https://github.com/mthenw/frontail
Documentation=https://github.com/openhab/openhabian/issues/28
After=openhab2.service

[Service]
Type=simple
ExecStart=/usr/bin/frontail -p 9002 --ui-highlight -l 2000 -n 200 /var/log/homegear/homegear.log
Restart=always
User=homegear
Group=homegear
Environment=PATH=/usr/bin/
Environment=NODE_ENV=production
WorkingDirectory=/usr/bin/

[Install]
WantedBy=multi-user.target

frontail-syslog.service:

[Unit]
Description=Frontail syslog instance, reachable at http://%H:10001
Documentation=https://github.com/mthenw/frontail
Documentation=https://github.com/openhab/openhabian/issues/28
After=openhab2.service

[Service]
Type=simple
ExecStart=/usr/bin/frontail -p 10001 --ui-highlight -l 2000 -n 200 /var/log/syslog
Restart=always
User=root
Group=root
Environment=PATH=/usr/bin/
Environment=NODE_ENV=production
WorkingDirectory=/usr/bin/

[Install]
WantedBy=multi-user.target

From my point of view, this is useful, if you share the opinion, you may include it into openHABian.
Maybe a frontail-expert could adjust a bit, i just simply copied the original frontail service.

1 Like

If you are running windows, you may use mysql-front.

But i have no idea about the connection information.

1 Like

openHABian v1.4 released

Everyone! I’m super excited to finally present another iteration of the openHABian project. If your current setup is stable you don’t have to do anything. You could of course check out the latest improvements and additions :dizzy: If you run into any issues or have questions or ideas, please post them here!

Release Notes and New Images can be found in the Announcement → here ←


About the Future of openHABian - Contributors Wanted!

Over the first halve of 2018 I (@ThomDietrich) will not be able to invest any significant time into the openHABian project. We are therefore looking for interested developers to drive the project further! Development can go in many directions and part of this release was also to clean up and structure the code base for your easy start. You should bring basic bash and git experience, the openHABian project is an easy one to get stated with! If you are interested, drop a comment, contact one of the openHAB maintainers privately or directly push a PR our way :wink:

Check out the list of existing ideas or add your own: https://github.com/openhab/openhabian/issues

4 Likes

When i am want to upgrade to stretch what do i need to do at least?A new installation?

Just follow the dist-upgrade instructions you can find here: https://www.raspberrypi.org/blog/raspbian-stretch
Should work without bigger problems.

1 Like

Hi,

i have a problem with homegear installation from openhabian-config.
the following error occured:

$ apt -y install homegear homegear-homematicbidcos homegear-homematicwired
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen… Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
homegear : Hängt ab von: libgnutls-deb0-28 (>= 3.3.0) ist aber nicht installierbar
Hängt ab von: libmysqlclient18 (>= 5.5.24+dfsg-1) ist aber nicht installierbar
Hängt ab von: libssl1.0.0 (>= 1.0.1) ist aber nicht installierbar
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
FAILED

Hello @RuHa,
this seems to be a bug related to the recent Stretch upgrade. A fix is underway, till then please install manually: https://homegear.eu/downloads.html?version=0.7&system=raspbian_stretch

Thank you Thom.
if the fix is ​​made, where can I find the hint.

Please follow the github issue I’ve linked. The problem will be discussed and fixed there :wink: