# \#service

**URL:** https://community.openhab.org/tag/service/561.md

[Latest](https://community.openhab.org/latest.md) · [Categories](https://community.openhab.org/categories.md) · [Tags](https://community.openhab.org/tags.md)

---

## [OH4 - Unable to shutdown on Windows 10 (Service or start.bat](https://community.openhab.org/t/oh4-unable-to-shutdown-on-windows-10-service-or-start-bat/146259)

<div class="topic-metadata">

**Author:** [@Mark\_VG](https://community.openhab.org/u/Mark_VG)\
**Replies:** 2\
**Last updated:** [May 15, 2023, 9:12am UTC](https://community.openhab.org/t/oh4-unable-to-shutdown-on-windows-10-service-or-start-bat/146259 "2023-05-15T09:12:49Z")

</div>

Hi All I have discovered a weird issue with my openHAB setup on a Windows 10 device (yes, I know…). I have upgraded to OH 4.0.0.M2, though started between OH 4.0.0.M1 and now . Either when running as a service, or fro…

---

## [\[New Service\] SMA SEMP Protocol - Addons/IO](https://community.openhab.org/t/new-service-sma-semp-protocol-addons-io/59852)

<div class="topic-metadata">

**Author:** [@Markinus](https://community.openhab.org/u/Markinus)\
**Replies:** 43\
**Last updated:** [March 7, 2023, 8:27pm UTC](https://community.openhab.org/t/new-service-sma-semp-protocol-addons-io/59852 "2023-03-07T20:27:12Z")

</div>

Hi, I wrote a SEMP service for OpenHab and it would be great if someone would test it. Depending on how many people are testing it I would try to get it to the default installation. I share the software under the Eclips…

---

## [openHAB reference setup for macOS (installation path, privileges, autostart …)](https://community.openhab.org/t/openhab-reference-setup-for-macos-installation-path-privileges-autostart/87478)

<div class="topic-metadata">

**Author:** [@thing\_me\_up](https://community.openhab.org/u/thing_me_up)\
**Replies:** 16\
**Last updated:** [December 15, 2022, 1:44pm UTC](https://community.openhab.org/t/openhab-reference-setup-for-macos-installation-path-privileges-autostart/87478 "2022-12-15T13:44:34Z")

</div>

My Goal is to build an openHAB installation on my Mac that is auto-starting, conformant with Mac best practice and secure! What is the standard / best-practice directory path to place applications into on macOS systems…

---

## [Windows Service - help "Error: Could not find or load main class Files"](https://community.openhab.org/t/windows-service-help-error-could-not-find-or-load-main-class-files/30002)

<div class="topic-metadata">

**Author:** [@psyciknz](https://community.openhab.org/u/psyciknz)\
**Replies:** 12\
**Last updated:** [August 16, 2022, 7:09am UTC](https://community.openhab.org/t/windows-service-help-error-could-not-find-or-load-main-class-files/30002 "2022-08-16T07:09:07Z")

</div>

Trying to follow Install openHAB 2 in Windows 10 as Windows Service to get a windows service. My Openhab2-wrapper.conf is as follows: # ------------------------------------------------------------------------ # Licen…

---

## [Failed save in vscode](https://community.openhab.org/t/failed-save-in-vscode/137383)

<div class="topic-metadata">

**Author:** [@Kosar\_Nag](https://community.openhab.org/u/Kosar_Nag)\
**Replies:** 1\
**Last updated:** [July 16, 2022, 7:47am UTC](https://community.openhab.org/t/failed-save-in-vscode/137383 "2022-07-16T07:47:22Z")

</div>

I have a problem with not saving the code in VS Code I have Windows 10 operating system And when I want to save the code with an error Failed to save file: Insufficient permissions. Select ‘Retry as Admin’ to retry as…

---

## [Re openhab 3.0 as service Oliver](https://community.openhab.org/t/re-openhab-3-0-as-service-oliver/119730)

<div class="topic-metadata">

**Author:** [@Oliver2222](https://community.openhab.org/u/Oliver2222)\
**Replies:** 9\
**Last updated:** [March 28, 2021, 5:33pm UTC](https://community.openhab.org/t/re-openhab-3-0-as-service-oliver/119730 "2021-03-28T17:33:51Z")

</div>

hi I have installed openhab on windows but im trying to get openhab 3.0 as a service so it start when starting up I get this error in cmd C:\\Windows\\system32\>C:\\openHAB\\userdata\\bin\\openHAB-service.bat install wrapper…

---

## [\[OH3\] Problem with writing the data, class org.openhab.core.io.rest.Stream2JSONInputStream](https://community.openhab.org/t/oh3-problem-with-writing-the-data-class-org-openhab-core-io-rest-stream2jsoninputstream/115157)

<div class="topic-metadata">

**Author:** [@tailor09](https://community.openhab.org/u/tailor09)\
**Replies:** 1\
**Last updated:** [January 28, 2021, 10:16pm UTC](https://community.openhab.org/t/oh3-problem-with-writing-the-data-class-org-openhab-core-io-rest-stream2jsoninputstream/115157 "2021-01-28T22:16:54Z")

</div>

Hi, after weeks running (mostly) stable OH3: 2021-01-22 17:23:17.747 \[ERROR\] \[st.core.internal.thing.ThingResource\] - Exception during HTTP PUT request for update config at 'things/zwave:device:be5a3a02:node34/config'…

---

## [Mistake in doc for setting up OpenHAB as Windows Service](https://community.openhab.org/t/mistake-in-doc-for-setting-up-openhab-as-windows-service/111883)

<div class="topic-metadata">

**Author:** [@kprueckl](https://community.openhab.org/u/kprueckl)\
**Replies:** 3\
**Last updated:** [December 29, 2020, 7:12pm UTC](https://community.openhab.org/t/mistake-in-doc-for-setting-up-openhab-as-windows-service/111883 "2020-12-29T19:12:43Z")

</div>

There is a mistake in the openHAB-wrapper.conf template on Windows | openHAB that caused a multiple hours debugging session, so please correct this: In the line wrapper.java.additional.11-Dopenhab.userdata="%OPENHAB\_HO…

---

## [\[Solved\] How to restart or shutdown openHAB](https://community.openhab.org/t/solved-how-to-restart-or-shutdown-openhab/22189)

<div class="topic-metadata">

**Author:** [@Nikita](https://community.openhab.org/u/Nikita)\
**Replies:** 19\
**Last updated:** [May 8, 2020, 7:38pm UTC](https://community.openhab.org/t/solved-how-to-restart-or-shutdown-openhab/22189 "2020-05-08T19:38:41Z")

</div>

I’m running openHABian on raspi. Is there a way to restart the process without rebooting the system? $ sudo service openhab restart doesn’t work

---

## [No route to openHAB Cloud](https://community.openhab.org/t/no-route-to-openhab-cloud/96362)

<div class="topic-metadata">

**Author:** [@BifbofII](https://community.openhab.org/u/BifbofII)\
**Replies:** 5\
**Last updated:** [April 16, 2020, 8:21am UTC](https://community.openhab.org/t/no-route-to-openhab-cloud/96362 "2020-04-16T08:21:50Z")

</div>

Hello together, I’m having trouble connecting my openHAB instance with a openHAB cloud. First of all, a description of my setup: I’m running openHAB in a docker container on a server at home. The openHAB UI is reachabl…

---

## [Error: Could not find or load main class Files\\Zulu\\zulu-8.jre.lib.endorsed;C:\\Program when starting OH2 as a Windows service](https://community.openhab.org/t/error-could-not-find-or-load-main-class-files-zulu-zulu-8-jre-lib-endorsed-c-program-when-starting-oh2-as-a-windows-service/70603)

<div class="topic-metadata">

**Author:** [@amosk](https://community.openhab.org/u/amosk)\
**Replies:** 5\
**Last updated:** [March 21, 2019, 8:13pm UTC](https://community.openhab.org/t/error-could-not-find-or-load-main-class-files-zulu-zulu-8-jre-lib-endorsed-c-program-when-starting-oh2-as-a-windows-service/70603 "2019-03-21T20:13:30Z")

</div>

Hi everyone, Tried a new installation and starting OH2 as a service on Windows. Unzipped openhab-2.4.0 to c:\\controller, started via start\_debug.bat, opened browser to localhost:8080 and selected standard installation, …

---

## [executeCommandLine + Service = Foreground? (Windows)](https://community.openhab.org/t/executecommandline-service-foreground-windows/43696)

<div class="topic-metadata">

**Author:** [@wtf911](https://community.openhab.org/u/wtf911)\
**Replies:** 1\
**Last updated:** [April 17, 2018, 5:13am UTC](https://community.openhab.org/t/executecommandline-service-foreground-windows/43696 "2018-04-17T05:13:25Z")

</div>

I am on Windows running openHAB as a service. I am attempting to create a “movie mode” which when turned on will turn my TV on, open Kodi on my computer, and turn my lights off. Everything is working except for opening K…

---

## [Service openhab2 not runing after reboot OH2.2](https://community.openhab.org/t/service-openhab2-not-runing-after-reboot-oh2-2/39202)

<div class="topic-metadata">

**Author:** [@Bagunda](https://community.openhab.org/u/Bagunda)\
**Replies:** 3\
**Last updated:** [January 24, 2018, 5:36pm UTC](https://community.openhab.org/t/service-openhab2-not-runing-after-reboot-oh2-2/39202 "2018-01-24T17:36:20Z")

</div>

OpenHab v2.2, RPI3. Fresh install. Often service can’t runing. service openhab2 status: Loaded: loaded (/usr/lib/systemd/system/openhab2.service; enabled; vendor preset: enabled) Active: deactivating (stop) (Resul…

---

## [Hardening OH2 as a service on Windows 10](https://community.openhab.org/t/hardening-oh2-as-a-service-on-windows-10/37434)

<div class="topic-metadata">

**Author:** [@AFromD](https://community.openhab.org/u/AFromD)\
**Replies:** 4\
**Last updated:** [December 20, 2017, 5:50pm UTC](https://community.openhab.org/t/hardening-oh2-as-a-service-on-windows-10/37434 "2017-12-20T17:50:22Z")

</div>

Im am running OH 2.2 as a service on a Windows 10 Pro box. My objective is to prevent bugs in OH or in Java to allow execution of code that would compromise my server box. It is probably not always possible to prevent ex…

---

## [InfluxDB persistence not working](https://community.openhab.org/t/influxdb-persistence-not-working/35628)

<div class="topic-metadata">

**Author:** [@ojek](https://community.openhab.org/u/ojek)\
**Replies:** 4\
**Last updated:** [October 29, 2017, 6:20pm UTC](https://community.openhab.org/t/influxdb-persistence-not-working/35628 "2017-10-29T18:20:45Z")

</div>

I am trying to use persistence with InfluxDB service. I am running latest raspbian, and have installed everything following this guide influxdb-grafana-persistence-and-graphing. The only change I did, is to edit the stra…

---

## [Getting HomeKit paired](https://community.openhab.org/t/getting-homekit-paired/19534)

<div class="topic-metadata">

**Author:** [@womble](https://community.openhab.org/u/womble)\
**Replies:** 13\
**Last updated:** [August 27, 2017, 4:48am UTC](https://community.openhab.org/t/getting-homekit-paired/19534 "2017-08-27T04:48:07Z")

</div>

I wanted to join the community with some information rather than a question for once. I was having trouble getting the homekit module to pair with my phone. Here is what i did to get it working. Feel free to comment if…

---

## [Install openHAB 2 in Windows 10 as Windows Service](https://community.openhab.org/t/install-openhab-2-in-windows-10-as-windows-service/18375)

<div class="topic-metadata">

**Author:** [@stanleywoon](https://community.openhab.org/u/stanleywoon)\
**Replies:** 16\
**Last updated:** [June 15, 2017, 9:43am UTC](https://community.openhab.org/t/install-openhab-2-in-windows-10-as-windows-service/18375 "2017-06-15T09:43:14Z")

</div>

Hi, I have installed openHAB 2 with no problem to boot up with start.bat. However I install the karaf service wrapper follow the link below: https://karaf.apache.org/manual/latest/wrapper I am not able to start OH2 v…

---

## [Persistance service is uninstalling on restart of OH](https://community.openhab.org/t/persistance-service-is-uninstalling-on-restart-of-oh/24740)

<div class="topic-metadata">

**Author:** [@kongsted](https://community.openhab.org/u/kongsted)\
**Replies:** 2\
**Last updated:** [March 10, 2017, 7:26pm UTC](https://community.openhab.org/t/persistance-service-is-uninstalling-on-restart-of-oh/24740 "2017-03-10T19:26:54Z")

</div>

Hi, I’m having a strange issue. After I upgraded from OH2 beta 5 to the final release, I’m having problem with my MySQL persistence service. It won’t log data, and when restarting the service, I see the following in th…

---

## [Remove auto starting for openHAB2 under Linux?](https://community.openhab.org/t/remove-auto-starting-for-openhab2-under-linux/23224)

<div class="topic-metadata">

**Author:** [@Al-Moutasm](https://community.openhab.org/u/Al-Moutasm)\
**Replies:** 2\
**Last updated:** [February 17, 2017, 10:26pm UTC](https://community.openhab.org/t/remove-auto-starting-for-openhab2-under-linux/23224 "2017-02-17T22:26:04Z")

</div>

Hello everyone, I’ve used the following lines to make openHAB2 auto starts after Raspbian boots sudo systemctl start openhab2.service sudo systemctl status openhab2.service sudo systemctl daemon-reload sudo systemctl…

---

## [Add-On, Binding, Service - What is the right approach?](https://community.openhab.org/t/add-on-binding-service-what-is-the-right-approach/23035)

<div class="topic-metadata">

**Author:** [@ghab](https://community.openhab.org/u/ghab)\
**Replies:** 2\
**Last updated:** [February 17, 2017, 10:17am UTC](https://community.openhab.org/t/add-on-binding-service-what-is-the-right-approach/23035 "2017-02-17T10:17:58Z")

</div>

Hello Devs! Sorry for the “urgent”, but this is really an importan time-critical question for me because I need some clarification to be able to proceed. I read through the documentation, but I am a little confused whe…

---

## [Custom Services](https://community.openhab.org/t/custom-services/22681)

<div class="topic-metadata">

**Author:** [@han](https://community.openhab.org/u/han)\
**Replies:** 2\
**Last updated:** [February 12, 2017, 2:33pm UTC](https://community.openhab.org/t/custom-services/22681 "2017-02-12T14:33:15Z")

</div>

Hello! I’m very new to openhab and trying to develop a custom processing pipeline service. The pipeline will be a plug-able system which should be configured by the user. Examples for plug-ins of this pipeline could b…

---

## [My 1.8.1 no longer starts as service](https://community.openhab.org/t/my-1-8-1-no-longer-starts-as-service/7217)

<div class="topic-metadata">

**Author:** [@jtmoderate876](https://community.openhab.org/u/jtmoderate876)\
**Replies:** 8\
**Last updated:** [March 8, 2016, 6:10pm UTC](https://community.openhab.org/t/my-1-8-1-no-longer-starts-as-service/7217 "2016-03-08T18:10:37Z")

</div>

Something I did yesterday broke openhab running as a service. I rebooted my Rpi this AM and openhab wasn’t running and would no longer start with: The error: pi@rpiopenhab:~ $ sudo systemctl start openhab -l Job for o…
