If openhabian image is installed on razberry pi, do I need java8 also

  • Platform information:

    • Hardware: razberrypi 4 4GB

    • OS: _what OS is used and which version_linx

    • Java Runtime Environment: ?

    • openHAB version: 2.5.8

  • Issue of the topic:
    Do i need to install java or does it get installed with openhabian?
    I the install doc says the prerec for openhabian is java but no information on how to install it on the SC card that I use for openhabian.

I have the opehab welcome window running but can’t get visual studio to store the config files to the openhab on my razpi.

  • Please post configurations (if applicable):
    • Items configuration related to the issue
    • Sitemap configuration related to the issue
    • Rules code related to the issue
    • Services configuration related to the issue
  • If logs where generated please post these here using code fences:

openhabian comes with all, if the installation is finished, OPENHAB should be running as a service.

the installer checks the architecture the installer is running on. Depending on the detected plattform default java package is being installed

build-image/openhabian.conf:# Java architecture mode
build-image/openhabian.conf:java_opt=Zulu8-64
build-image/openhabian.pi-raspios32.conf:# Java architecture mode
build-image/openhabian.pi-raspios32.conf:java_opt=Zulu8-32
build-image/openhabian.pi-raspios64beta.conf:# Java architecture mode
build-image/openhabian.pi-raspios64beta.conf:java_opt=Zulu11-64

In openhab-config menu 40 => 45 it’s possible to select from a list of java packages.

You would like to write a config file to a share on the Raspi from the computer you run visual studio on ?
Is the share successfully mounted on the computer you run visual studio on ?

My intention is to edit the config files in my host Raspi 192.168.0.15.

I think my share is successfully set up. Used explorer, open access, entered 192.168.0.15, and I see the 192.168.0.15 under Network.

Also visual studio shows settings.jason: {
“openhab.host”: “192.168.0.15”
}
Is this correct?

I also created a drive in explorer where the 192.168.0.15 files are located by using “easy access”.

Went back to Vis Stu on explorer>start.add workspace folder; and got this error repeated twice:
[Error - 9:39:48 AM] Connection to server is erroring. Shutting down server.

Suggestions?
Thanks
Jim

Thanks
How do I know if openhab on raspi is running as a service?

Enter 192.168.0.15:8080/start/index in a browser and you should see the dashboard.

Yes I got the dashboard.

So OPENHAB is running and will be restarted after a reboot because the openhabian script installed it as a service.

Am I still in trouble since I have an error explained in reply 4.

Also now I am missing my config files in Vis.

Any suggestions?
Jim

Not sure how to restart. Not sure what I am looking at the docs.

Should I cycle power or is there another soft start method?

Thanks
jim

To reboot: login to your Raspi and run

sudo reboot

then all services will gracefully be shutdown and restarted once the host starts again.

Gentlemen

It appears i can access demo configurations. I tried to bring up the Preview Map by selecting the openHab icon in the upper right-hand corner, but it brings up a blank screen when on all demo items.

server output error: [Error - 11:41:45 AM] Connection to server is erroring. Shutting down server

Log: [2020-09-12 11:41:40.527] [main] [info] update#setState idle
[2020-09-12 11:42:10.533] [main] [info] update#setState checking for updates
[2020-09-12 11:42:10.968] [main] [info] update#setState idle

Suggestions?
Thanks
jim

I have no clue what UI you are looking. Please state the link you are using.

What are you referring to by “Previw Map”?