Comments (7)
Hi i have service:
[Unit]
Description=Strt HomeKit2MQTT
[Service]
ExecStart=/usr/local/bin/homekit2mqtt -p 51829 -v debug
StandardOutput=journal
[Install]
WantedBy=multi-user.target
Alias=homekit2mqtt.service
You need to copy the /etc/systemd/system/homekit2mqtt.service file, paste the code and then type:
sudo systemctl deamon-reload
sudo systemctl enable homekit2mqtt
sudo systemctl start homekit2mqtt
from homekit2mqtt.
What is you OS ? Linux or Mac ?
from homekit2mqtt.
Should have mentioned. I run it on a RPI model 3, using Raspbian Stretch (full install, although I only use it via ssh).
from homekit2mqtt.
You can try nohup
from homekit2mqtt.
I suggest either to use https://github.com/Unitech/pm2 (pm2 is quite convenient and easy to use, handles also the logfiles and restarts...) or to create a systemd service (see e.g. http://nodesource.com/blog/running-your-node-js-app-with-systemd-part-1/)
from homekit2mqtt.
You can run homekit2mqtt on startup using cron. Do -
crontab -e
@reboot homekit2mqtt [options]
Or
use rc-local [(https://www.raspberrypi.org/documentation/linux/usage/rc-local.md)] to setup startup script.
from homekit2mqtt.
Oke, few options here. Thanks for the responses. I'll close the Issue for now and will reopen if I get stuck. Cheers.
from homekit2mqtt.
Related Issues (20)
- Adding custom prefix/customize published MQTT payload for clients with multiple services
- Project status HOT 2
- ToObject deprecation warnings on install
- stuck on: mqtt homekit/connected 0 0 HOT 2
- Error: libnode.so.64: cannot open shared object file: No such file or directory HOT 1
- Is it possible to use on an external network? HOT 1
- Looking for the complete docker installation command, failed to start all the time! HOT 1
- How to Set Setup ID HOT 1
- Installation failure HOT 1
- Home Assistant to MQTT bridge HOT 2
- homekit2mqtt Installation HOT 2
- Error while trying to install HOT 4
- Send homekit device to MQTT
- Device status isn't updated
- Velux Bind: Anyone got WindowCovering service working? HOT 3
- Temperature sensor DHT11 on Tasmota device
- Misleading project name (should be mqtt2homekit) HOT 2
- 安装不上 能不能打包一个docker镜像使用docker运行
- 安装不上 能不能打包一个docker镜像使用docker运行
- 安装不上 能不能打包一个docker镜像使用docker运行
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homekit2mqtt.