Comments (4)
working now, one writing error ;-)
from homebridge-config-ui-x.
Hi @theo-69,
The restart option won't work if you're not using some sort of process manager, like init.d, systemd, supervisor.d, or even pm2.
I have tested pm2 on a Raspberry Pi and this config works:
{
"platform": "config",
"name": "Config",
"port": 8080,
"log": {
"tail": "pm2 logs --raw --lines 100 homebridge"
},
"sudo": true,
"temp": "/sys/class/thermal/thermal_zone0/temp"
}
Then start with pm2:
pm2 start homebridge
There is no need to define a restart command since pm2 will automatically restart the Homebridge process if it ends, which is the default behaviour for the homebridge-config-ui-x restart command.
from homebridge-config-ui-x.
Thanks @oznu now I am getting [Config] No restart command defined, killing process...
from homebridge-config-ui-x.
I've added :
"log": {
"tail": "pm2 logs --raw --lines 100 homebridge"
}
and homebridge starts manually by doing pm2 start homebridge
But the gui still show up "Services homebridge not started"
Still, pressing the restart button does restart the process but then the gui stays at "restarting homebridge" until I refresh the page
Any idea ?
from homebridge-config-ui-x.
Related Issues (20)
- All Devices - No Response HOT 2
- Operation failed with code 243 HOT 2
- Can‘t Update Node - Download Error HOT 7
- Cannot install package because of node-gyp-build error HOT 4
- Update from 4.55.1 to 4.56.0 fails with an error. HOT 5
- npm ERR! errno -4058 HOT 2
- Homebridge still loading at UI HOT 2
- Delay at the measurements of ram and cpu HOT 1
- Can‘t Update Node - Download Error #2029
- [Homebridge UI] Backup is skipping "storage/core" because it is larger than 10MB. HOT 3
- Homebridge was running smoothly for many months, now the accessories Tab is empty. HOT 2
- Persistence of Swagger tokens? HOT 10
- Homebridge status stays starting HOT 2
- Accessoires from homebridge not responding in apple homekit HOT 8
- Homebridge v1.8.0 broke connectivity to homekit HOT 1
- Homebridge v1.8.0 fails to install because of unknown git error HOT 1
- Error missing '../lib/cli.js' when installing a plugin using HomeBridge 1.8.0 HOT 5
- Homebridge accessoires not responding in apple homekit
- no child bridge govee HOT 9
- becomes unreachable after restore from back up
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 homebridge-config-ui-x.