RP3 + HM-MOD-RPI-PCB + HomeGear + openHab2

Hi,

i have some problems with my new openHab2 installation. Its all Brand new. I can pair my HM devices with the homegear. after that i installed java 8 and openhab2. if i want start oh i just geht the following error:

root@homegearpi:/var/log# sudo systemctl status openhab2.service
● openhab2.service - openHAB 2 - empowering the smart home
   Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled)
   Active: deactivating (stop) (Result: exit-code) since Sa 2017-02-18 23:44:34 UTC; 1s ago
     Docs: http://docs.openhab.org
           https://community.openhab.org
  Process: 7604 ExecStart=/usr/share/openhab2/start.sh server (code=exited, status=254)
 Main PID: 7604 (code=exited, status=254);         : 7762 (karaf)
   CGroup: /system.slice/openhab2.service
           └─control
             ├─7762 /bin/bash /usr/share/openhab2/runtime/bin/karaf stop
             ├─7887 /bin/bash /usr/share/openhab2/runtime/bin/karaf stop
             ├─7888 /usr/lib/jvm/java-8-oracle/jre/bin/java -version
             ├─7889 grep -E "([0-9].[0-9]\..*[0-9]).*"
             ├─7890 awk {print substr($3,2,length($3)-2)}
             ├─7891 awk {print substr($1, 3, 3)}
             └─7892 sed -e s;\.;;g

Feb 18 23:44:34 homegearpi start.sh[7604]: null
Feb 18 23:44:34 homegearpi start.sh[7604]: Error occurred shutting down framework: java.lang.NumberFormatException: null
Feb 18 23:44:34 homegearpi start.sh[7604]: java.lang.NumberFormatException: null
Feb 18 23:44:34 homegearpi start.sh[7604]: at java.lang.Integer.parseInt(Integer.java:542)
Feb 18 23:44:34 homegearpi start.sh[7604]: at java.lang.Integer.parseInt(Integer.java:615)
Feb 18 23:44:34 homegearpi start.sh[7604]: at org.apache.karaf.main.ConfigProperties.<init>(ConfigProperties.java:208)
Feb 18 23:44:34 homegearpi start.sh[7604]: at org.apache.karaf.main.Main.updateInstancePidAfterShutdown(Main.java:226)
Feb 18 23:44:34 homegearpi start.sh[7604]: at org.apache.karaf.main.Main.main(Main.java:191)
Feb 18 23:44:34 homegearpi systemd[1]: openhab2.service: main process exited, code=exited, status=254/n/a
Feb 18 23:44:34 homegearpi stop[7762]: stop: Ignoring predefined value for KARAF_HOME

PS: I Use the opengear raspbian jessie. this is a read-only os. i think it is a permission error, but i have no ideo how i could fix it.

i hope you can help me :slight_smile:

Hey Patrik,
I would recommend you to use the openhabbian image. Im using it on RPi3 with HM-Mod-RPI-PCB also and it is realy easy to use, so you dont have any problems.

Greetings, Fabian

Thanks for your fast answer.

I have choosen the openhabian image now and installed homegear. But i have some Problems.

I can pair my HM-CC-RT-DN but the device is going offline after some minutes ~15 and i dont know why. Then i have to restart the raspberry, after the restart is the HM-CC-RT-DN already online.

The Second problem - i cant manage the temperature over openhab. I created a new item with the Eclipse SmartHomeDesigner:

/*********** Gruppen **********/

// Räume
Group gWohnzimmer

// Funktionen
Group gWzHeizung

/*********** Items   **********/
Number Wz_heizung_links_actualtemperatur 	"Heizung links Temperatur" 			<temperature> (gWohnzimmer, gWzHeizung ) {channel="homematic:HG-HM-CC-RT-DN:3ff56f5b:NEQ1492883:4#ACTUAL_TEMPERATURE"}
Number Wz_heizung_links_settemperatur 		"Heizung links Temperatur setzen" 	<temperature> (gWohnzimmer, gWzHeizung ) {channel="homematic:HG-HM-CC-RT-DN:3ff56f5b:NEQ1492883:4#SET_TEMPERATURE"}

And a new SiteMap:

sitemap Wohnzimmer label="Wohnzimmer" {
	Frame label="Heizung" {
		Text item=Wz_heizung_links_actualtemperatur label="Aktuelle Temperatur [%.1f °C]"
		Setpoint item=Wz_heizung_links_settemperatur label="Temperatur einstellen" step=0.5 minValue=15 maxValue=30
	}
}

Now i go on “http://IP:8080/basicui/app?sitemap=haus” and want change the Temperature, but nothing happen. I have to create a rule havent i?
I hope you can help me :slight_smile: