Max2Play Home › Forums › Max2Play Add-ons › [ANNOUNCE] OpenHAB Server Plugin Beta
- This topic has 43 replies, 14 voices, and was last updated 2 years, 4 months ago by gbader premium.
-
Posted in: Max2Play Add-ons
-
5. September 2018 at 11:11 #37640
Hi everyone, I wanted to let you know about our new beta openHAB plugin!
It’s basically a one-click installer of the openHAB 2 server with some other neat features on our web interface menu, including:
- edit field for webinterface port (in case you also want to run Squeezebox Server on the Pi)
- Save and Restore Settings buttons to back up your preferences and restore them
- Small guide on integrating Alexa (work in progress)
- Uninstall button
- Debug Information output
We would appreciate any feedback from the community to make sure this integration becomes the best it can be.
You can install the plugin in any running Max2Play system (free and premium) by copying the following link at the bottom of the Settings/Reboot menu:
http://shop.max2play.com/media/downloadable/beta/openhab.tarLet me know what you think!
10. September 2018 at 16:10 #37748Hi, I really want to try this, but I can’t install openHab server.
I installed the add-on, created an openhab user but when I click on the button to install I get this messageWARNING: The following packages cannot be authenticated!
libassuan0 libksba8 libpth20 dirmngAnd I think that the installation fails.
10. September 2018 at 16:32 #37749Hi Gianpaolo,
Thank you for contacting us with your issue.
I just tested the installer on a new image with RPi3B and was not able to recreate the issue.
The last three lines of yellow text in your webinterface should be:Processing triggers for fontconfig (2.11.0-6.7) ... Setting up gsfonts-x11 (0.24) ... Finished - please click here to reload Page to see Changes
What is your exactly hardware setup?
What user are you referring to? You should not be able to do anything in our plugin before installing the server.
10. September 2018 at 17:03 #37753I have a Raspberry Pi3.
The user I’m referring to is the one on the myopenhab service which is mandatory to connect Alexa with openhab, right?
I tried again now to install openHAB server on my Raspberry but I got the same message again:OpenHAB (version 2) installation started
Installazione iniziata – questo messaggio si aggiorna ogni 3 secondi per monitorare il processo di installazione. Se l´installazione é completata, questo messaggio sparisce.
Reading state information…
Reading package lists…
Building dependency tree…
Reading state information…
The following extra packages will be installed:
libassuan0 libksba8 libpth20
The following NEW packages will be installed:
dirmngr libassuan0 libksba8 libpth20
0 upgraded, 4 newly installed, 0 to remove and 7 not upgraded.
Need to get 419 kB of archives.
After this operation, 975 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libassuan0 libksba8 libpth20 dirmngr
Executing: gpg –ignore-time-conflict –no-options –no-default-keyring –secret-keyring /tmp/tmp.BCMu4epUkt –trustdb-name /etc/apt//trustdb.gpg –keyring /etc/apt/trusted.gpg –primary-keyring /etc/apt/trusted.gpg –recv-key –keyserver keyserver.ubuntu.com EEA14886
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
Reading package lists…
Building dependency tree…
Reading state information…
Finished – please click here to reload Page to see ChangesLet me know if and where I can get more info to debug it.
10. September 2018 at 17:11 #37755I managed to install those unauthenticated packages via ssh, but now if I click on the Install openHAB button I get this message and nothing changes.
OpenHAB (version 2) installation started
Installazione iniziata – questo messaggio si aggiorna ogni 3 secondi per monitorare il processo di installazione. Se l´installazione é completata, questo messaggio sparisce.
2018-09-10 17:08:05|
OK
Reading package lists…
Building dependency tree…
Reading state information…
Reading package lists…
Building dependency tree…
Reading state information…
dirmngr is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Executing: gpg –ignore-time-conflict –no-options –no-default-keyring –secret-keyring /tmp/tmp.RTovhmudlQ –trustdb-name /etc/apt//trustdb.gpg –keyring /etc/apt/trusted.gpg –primary-keyring /etc/apt/trusted.gpg –recv-key –keyserver keyserver.ubuntu.com EEA14886
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
Reading package lists…
Building dependency tree…
Reading state information…
Finished – please click here to reload Page to see ChangesShould I try to reinstall the add On?
10. September 2018 at 17:23 #37758Yes, manually adding packages might not be ideal.
Please try uninstalling and reinstalling. During that, please wait ca. 1 minute after no new text shows up before rebooting.
10. September 2018 at 19:23 #37761I tried that (btw, by uninstalling the plugin, you mean to put the openHAB plugin on the inactive list and then reboot?).
I did it, reactivate the plugin, tried to install openHAB clicking the button but nothing changed. Same messages as before. Still no openHAB server active.Please let me know if I can try something else.
My Max2Play installation is quite old, but I updated regularly and so I did today.10. September 2018 at 21:19 #37763Hello,
Just to let you know i got exactly the same issue.
OpenHAB (version 2) installation started
Installation démarrée – Les messages seront actualisés toutes les 3 secondes pour montrer la progression de l’installation.Lorsque que c’est terminé le message disparaît.
Reading state information…
Reading package lists…
Building dependency tree…
Reading state information…
The following extra packages will be installed:
libassuan0 libksba8 libpth20
The following NEW packages will be installed:
dirmngr libassuan0 libksba8 libpth20
0 upgraded, 4 newly installed, 0 to remove and 147 not upgraded.
Need to get 354 kB of archives.
After this operation, 817 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libassuan0 libksba8 libpth20 dirmngr
Executing: gpg –ignore-time-conflict –no-options –no-default-keyring –homedir /tmp/tmp.JJb5OJMktq –no-auto-check-trustdb –trust-model always –keyring /etc/apt/trusted.gpg –primary-keyring /etc/apt/trusted.gpg –recv-key –keyserver keyserver.ubuntu.com EEA14886
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
Reading package lists…
Building dependency tree…
Reading state information…
Finished – please click here to reload Page to see ChangesHere is the log file.
After clicking on the reload link. The page goes back to the previous state as if i never clicked on „install openHAB“ button
Best regards,
Jcmoa
11. September 2018 at 9:54 #37777Hi guys,
Please let me know which version of Raspbian your Max2Play is based on (Settings/Reboot debug info).
With the newest image we offer, this would be the relevant output:
#### LINUX-VERSION #### Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.3 (stretch) Release: 9.3 Codename: stretch
11. September 2018 at 10:45 #37789#### LOAD AVERAGE ####
0.17 0.10 0.07 1/144 5950#### KERNEL ####
Linux raspberry 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux#### LINUX-VERSION ####
Distributor ID: Debian
Description: Debian GNU/Linux 7.11 (wheezy)
Release: 7.11
Codename: wheezy11. September 2018 at 11:40 #37795Hi gianpaolo,
Thanks for the quick response.
This is probably the reason for the issue, wheezy is a rather old version of Raspbian.
We already went through Jessie lite and to the newest version Stretch during the last few years.
First, you can try making an apt-get upgrade in the Raspberry Settings to update your packages.
But if that does not solve the issue, please consider burning our newest image based on Raspbian Stretch.
You can download it free from this website and follow the wiki on how to burn it.11. September 2018 at 12:15 #37796Thanks. I would assume that updating every now and then max2play could keep me up to date.
I try what you suggest, but I’m rather sure I already did it yesterday.
Is there a way to avoid losing all my settings? I know I can backup LMS configuration, but what about all the other settings?Bye
11. September 2018 at 14:18 #37799Hi Gianpaolo,
Indeed it does, however, the changes in Raspbian when they migrate to a new version can only be used with a new image. We’ve had to create a Stretch image right away when the Raspberry Pi 3B+ came out because it did not support the older versions‘ Kernels and would not even boot with wheezy or Jessie.
It is likely that some kind of dependency is the cause of this issue for the installer and to be able to make the installer compatible with the newest models and version Max2Play, we have to focus on the newest.You can save LMS settings and create a backup img-file of your image or just burn it to a new card for a physical backup with our image burner plugin.
15. Oktober 2018 at 14:40 #38620Thanks for this plugin – Great job!
Can we somehow use
openhabian
tool?16. Oktober 2018 at 9:52 #38630Hi czendler,
Openhabian is a complete image, like Max2Play, so if you want it on the Pi as well, you should consider a boot loader or using another Pi.
16. Oktober 2018 at 11:16 #38637To be specific I was thinking about
openhabian-config
tool
I want to install InfluxDB+Grafana.27. Oktober 2018 at 21:56 #41734Hi,
hab das openhab auf den Pi installiert.
Läuft ohne Probleme.
Wie kann ich denn mit den smarthome designer auf den pi zugreifen?
Wenn ich in Windows auf Netzwerk gehe sehe ich den Eintrag max2play.
Bekomme aber dann einen Fehler. Denke ich hab die falschen Anmldedaten eingetragen.Könnt ihr mir einen tipp geben?
29. Oktober 2018 at 10:42 #41742Anmeldedaten für SSH sind bei Max2Play user: pi password: max2play; root password: max2play
31. Oktober 2018 at 17:43 #41778So hab es getestet.
Mit dem User pi und dem PW max2play komme ich rein.
Beim User root und dem gleichen PW sagt er mir Access deniedMach ich da was falsch?
4. November 2018 at 18:40 #41815Hi Having the same problem( no openhab server installed) with fresh install of Max2Play for 7″ Touch Display “
but it is based on Jessie
#### KERNEL ####
Linux max2play 4.4.14-v7+ #895 SMP Sun Jun 26 13:59:02 BST 2016 armv7l GNU/Linux
#### LINUX-VERSION ####
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessieIf i install the Stretch ver how do i get the 7″ in touch to work?
or it will just work?
Thanks-5. November 2018 at 10:25 #41816@muessig_armin: Sorry about the delayed response, I was out of office due to illness. You can only access root through the command „sudo su“.
@kuky: What do you mean by the same problem? Could you elaborate please?5. November 2018 at 16:06 #41831As abvove, cannot install openhab and have same err
WARNING: The following packages cannot be authenticated!
libassuan0 libksba8 libpth20 dirmngr
As i said, i installed the “ Touch image not the stretch5. November 2018 at 17:47 #41833Hi kuky,
All you need for the standard stretch image to run like the display image is to install the rpi-display plugin from our extensions, select the 7 inch touchdisplay and reboot. Then you can add jivelite to autostart and configure anything the same as the display image.
2. März 2019 at 5:13 #44597Hi, i need some help, I instaled Openhab addon (2.4.0-1) but i tried to open de OpenHab WebInterface and i receive the error „ERR_CONNECTION_REFUSED“, i tried using many diferents port, but always the same error, Squeezebox Server is running in the same raspberri. thanks for the help !!
- This reply was modified 5 years, 9 months ago by felipefi.
4. März 2019 at 12:40 #44633Hi felipefi,
Is the LMS web interface still accessible? Have you tried stopping the LMS and seeing whether this affects openHAB?
5. März 2019 at 12:03 #44658Thanks Heiner, I stopped Squeezebox Server, reboot Openhab service…the error ERR_CONNECTION_REFUSED continue (changing the port , I reboot the raspberry (LMS is not lautching automatic on the boot) and doesn’t work, same error, even if I change the port. I don’t have any other add on with web interface running.
7. März 2019 at 18:00 #44697Hi felipefi,
I set it up on a Pi 3B but had no error on default ports 9000 LMS and 8089 openHAB. I’ll keep it running over night and see if this remains the case, if so please try burning a fresh image and keeping the default ports.
-
You must be logged in to reply to this topic.