openHABian hassle-free openHAB Setup

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:

sudo su
apt install apt-transport-https
curl https://apt.homegear.eu/Release.key | sudo apt-key add -
echo 'deb https://apt.homegear.eu/Raspbian/ stretch/' > /etc/apt/sources.list.d/homegear.list 
apt update
apt install homegear homegear-homematicbidcos homegear-homematicwired

…worked for me. Thank you

For me it did not work. Even if I install it manually still get same mistake:
The following packages have unmet dependencies:
homegear : Depends: libgnutls-deb0-28 (>= 3.3.0) but it is not installable
Depends: libmysqlclient18 (>= 5.5.24+dfsg-1) but it is not installable
Depends: libssl1.0.0 (>= 1.0.1) but it is not installable
E: Unable to correct problems, you have held broken packages.

But do not see, what it is wrong.
thanks

Hello @hauna, just a wild guess but I if you followed the instructions by @Doxer blindly, you’ll now have both repositories registered in your system. There is a huge difference between > and >>. I’ve corrected @Doxer 's posting.Please try again

Thank you. Now working. Never ever would have seen the small difference:) Thank you both.

1 Like

Thank you

1 Like

Problems installing paho-mqtt

While trying to port my python scripts for simple mqtt clients in the current openhabian image,I found that the version of pip for python 2.7 is not working properly.
Following some advice I found on the internet, I had to uninstall the current pip version and install a more recent one

sudo apt-get uninstall python-pip
easy_install pip

after that I was able to install paho-mqtt

sudo pip install paho-mqtt

I searched through the topic but I did not find any reference to this, therefore I post it here. I hope that this may be of help to others.

LionHe

just updated to 2.2 via openhabian menu and now a can’t “see” anything…
logs don’t show any activity, no paperui.
http://openhabianpi:8080/start/index only shows only cometvisu (not working anymore) and openhabian help.

any help?

edit:

openhab> bundle:list|grep -i pap
211 │ Resolved │  80 │ 0.10.0.b1              │ Eclipse SmartHome Paper UI, Fragments: 230
230 │ Resolved │  75 │ 2.2.0                  │ openHAB Paper UI Theme Fragment, Hosts: 211

???

sorry pulling up this old issue.

I just ran into it (its only my secondary install of OH :wink: )

the release info says “As always for existing setups there is no need to install openHABian anew. To be up to date you should however update openHABian and execute the “Upgrade” option. Next you can go through the menu and execute interesting options as you wish.”

So - is the “upgrade” from the openhabian-config fine and swtiches the system to raspbian based os … or is still the ua-netinst just prohibiting the upgrade of the problemativ apt?

thx!