Comments (6)
Hi André,
Sounds like the user that you're running homebridge under doesn't have permission to write to /home/pi/.homebridge/persist. Could you paste the output from the following commands:
whoami
and
ls -la /home/pi/.homebridge/persist
from homebridge-people.
Hi Pete,
thanks for your quick reply.
I got the following outputs:
whoami
--> pi
pi@raspberrypi:~ $ ls -la /home/pi/.homebridge/persist
insgesamt 40
drwxr-xr-x 2 pi pi 4096 Mär 13 13:20 .
drwxr-xr-x 4 pi pi 4096 Mär 13 00:09 ..
-rw-r--r-- 1 pi pi 704 Mär 13 18:26 AccessoryInfo.CC223DE3CE30.json
-rw-r--r-- 1 pi pi 8239 Mär 13 18:26 IdentifierCache.CC223DE3CE30.json
-rw-r--r-- 1 pi pi 13 Mär 13 16:58 person_10.0.1.16
-rw-r--r-- 1 pi pi 13 Mär 13 19:16 person_10.0.1.2
-rw-r--r-- 1 pi pi 13 Mär 13 19:16 person_10.0.1.3
-rw-r--r-- 1 pi pi 13 Mär 13 19:16 person_10.0.1.9
Just to give you some additional information:
I am using the new Raspberry Pi 3 Model B with the newest stable version of Raspbian.
Furthermore, each time the described problem occurs, the Raspberry Pi becomes unresponsive so that I cannot use SSH, VNC or RDP any more to connect to it using my laptop.
from homebridge-people.
Strange, those permissions look fine. Things I'd try:
- Check that the SD card isn't full
- Check that homebridge is definitely running as the 'pi' user
- Try deleting the file in question
- Try restarting, in case something somewhere has left the file open.
from homebridge-people.
- Only 30% of the SD card are used.
- Yep, homebridge is running as the "pi" user.
- Deleting the files for all observed people did the trick, at least so far.
- Each time the RPi became unresponsive, I had to restart it by unplugging its USB power supply since no commands were accepted any more.
I will observe the issue and keep you updated.
If the problem occurs again, do you think a hardware defect may be the cause?
from homebridge-people.
Unfortunately, deleting the files did not solve the issue after all.
This time it only to longer for the problem to arise.
from homebridge-people.
I use the latest version of Raspbian on my Pi1 and can't replicate this problem. I'm wondering if the plugin crashing is a symptom rather than the actual problem. If you uninstall the plugin does the Pi work fine for an extended amount of time? What make/class of SD card are you using? It could be a fault with the card, or the card not being able to handle continual writes, which causes Raspbian to put the card into read only mode, and the plugin crashing is the first thing that errors.
from homebridge-people.
Related Issues (20)
- Implementation of fakegato for History Data HOT 1
- "No One" Switch will be permanently triggered HOT 4
- Can't remove the Anyone Sensor HOT 2
- MAC address support please? HOT 1
- Ping does not work (on macOS) HOT 9
- Ping on Windows
- Anyone sensor always available
- 2 IP for one « people »? HOT 1
- Crashing HOT 1
- Error: EACCES: permission denied HOT 6
- Webhook and threshold HOT 1
- Sensors as an Group HOT 1
- Connection/Port forwarding
- [FEATURE] Eve App 4.2 Issue with homebridge-people
- Add anyoneSensor as an option to a target
- type of sensor
- Can I create a delay in detection when connecting to wifi?
- Again: Cannot remove "Anyone" Sensor
- no sensor is displayed
- Error from the characteristic 'Occupancy Detected'
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-people.