Comments (7)
For others:
The changing of the path didn't work (for me)
Had to give the user /etc/passwd root privileges
from homebridge-http-webhooks.
@benzman81 thanks.. I change to /var/homebridge/cache and it immediately stopped erroring. /persist was mentioned at smartapfel.de so I just kept it.
now my devices aren't reacting at the home app, but I guess this is another thread. thanks a lot und schönen Abend :-)
from homebridge-http-webhooks.
See #15
from homebridge-http-webhooks.
Problem occurs at my config too. I added the cache_directory and I also added root privileges to the homebridge user.
any ideas?
EDIT: cleaning up /var/lib/persist after adding the user to root-group seems to make the change. I keep you updated.
EDIT2: it came up with "[Homebridge UI] [npm] Failed to check registry.npmjs.org for updates: "timeout of 5000ms exceeded" "
but npm was up and available. After a restart of homebridge the old failure came back;
"Mar 17 18:47:11 raspi-ctrl homebridge[3578]: [3/17/2021, 6:47:11 PM] Error: [PARSE-ERROR] /var/homebridge/persist/AccessoryInfo.0E7605603A4E.json does not look like a valid storage file!
Mar 17 18:47:11 raspi-ctrl homebridge[3578]: at LocalStorage.parseFileSync (/usr/local/lib/node_modules/homebridge-http-webhooks/node_modules/node-persist/src/local-storage.js:647:19)
Mar 17 18:47:11 raspi-ctrl homebridge[3578]: at LocalStorage.parseStorageDirSync (/usr/local/lib/node_modules/homebridge-http-webhooks/node_modules/node-persist/src/local-storage.js:596:26)
Mar 17 18:47:11 raspi-ctrl homebridge[3578]: at LocalStorage.initSync (/usr/local/lib/node_modules/homebridge-http-webhooks/node_modules/node-persist/src/local-storage.js:141:14)
Mar 17 18:47:11 raspi-ctrl homebridge[3578]: at Object.nodePersist.initSync (/usr/local/lib/node_modules/homebridge-http-webhooks/node_modules/node-persist/src/node-persist.js:37:32)
Mar 17 18:47:11 raspi-ctrl homebridge[3578]: at new HttpWebHooksPlatform (/usr/local/lib/node_modules/homebridge-http-webhooks/src/homekit/HttpWebHooksPlatform.js:25:16)
Mar 17 18:47:11 raspi-ctrl homebridge[3578]: at /usr/local/lib/node_modules/homebridge/src/server.ts:440:40
Mar 17 18:47:11 raspi-ctrl homebridge[3578]: at Array.forEach ()
Mar 17 18:47:11 raspi-ctrl homebridge[3578]: at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/src/server.ts:372:27)
Mar 17 18:47:11 raspi-ctrl homebridge[3578]: at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:159:29)"
from homebridge-http-webhooks.
@dtrywets https://github.com/benzman81/homebridge-http-webhooks#cache-directory-storage-cache_directory
from homebridge-http-webhooks.
@benzman81 folder is drwxr-xr-x 2 homebridge root 4096 Mar 17 19:08 persist
as I deleted it manually to get the mkdir. it's writeable due to user homebridge beeing part of root-group or am I getting things wrong here?
from homebridge-http-webhooks.
@dtrywets It looks like you choose the folder where homebridge persists its files. The folder ste as cache directory must be empty.
from homebridge-http-webhooks.
Related Issues (20)
- Occupancy Sensor abort autoRelease, if new occupancy is detected HOT 2
- Security system current state should not be set automatically HOT 1
- Unable to configure newly-installed plugin or create accessories HOT 10
- Log Output for Occupancy Sensor HOT 1
- Add "off" delay for push button HOT 1
- Can not retrieve Thermostat values HOT 3
- Celcius vs Fahrenheit Issue HOT 1
- Adding Toggle capability
- Fan state errors HOT 4
- Thermostat: "minTemp", "maxTemp" and "minStep" not supported HOT 1
- Feature Request: Adding Accessory Type "Electricity Meter" - or appending Outlet
- characteristic was supplied illegal value: null!
- no temperature in sensor device HOT 1
- Adding switch or pushbutton causes errors HOT 2
- Contact sensor always false HOT 12
- Feature request: RGB light bulbs
- Question: How to set state in Homekit for a switch HOT 4
- Optional setting to stop logging incoming HTTP requests. HOT 1
- Triggering via URL request will not work!
- Race condition with Auto Release and Homebridge restarts HOT 1
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-http-webhooks.