question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Delete Persist and Accessories results in "No response"

See original GitHub issue

Pre Steps

Expected Behavior

I have some old accessorise that have been removed from config.json but still appear as not responding on Home app. Usually to fix this I delete the persist folder with 10 files and accessories folders with one file, restart Homebridge and everything works fine.

Current Behavior

I delete the folders and after this homebridge start fine but shows for everything in Home app “No response”. But it is running nicely. And creates new files int the persist folder. This time only 8 files instead of 10. Accessorise folder looks the same

Steps to Reproduce (for bugs)

Delete persist and accessories folder, restart homebridge, “No response” in home app. But the deleted folders back, everything works again.

Versions

  • Homebridge: 0.4.38
  • Node: v8.9.4
  • OS: Raspbian GNU/Linux 9 (stretch)

Configuration


Homebridge Log / Command Output


The only difference that comes into my mind about why it worked before is and not now is that I have since started using homebridge as a systemctl service. But eventhought when I stop the service and try it as usual with homebridge command the same thing happens.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ebaauwcommented, Jan 21, 2019

This is by design: the persist directory contains the pairing info. Deleting it is like factory resetting homebridge - you need to delete it from HomeKit and pair it again. To cleanup old accessories, only delete the accessories directory.

0reactions
ebaauwcommented, Feb 26, 2020

See #2428

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to dump persist and accessories folders : r/homebridge
Firstly locate the directories. By default it is .homebridge. CD into your .homebridge folder. cd .homebridge/. 2) Delete Persist ...
Read more >
JPA OneToMany not deleting child - java - Stack Overflow
JPA's behaviour is correct (meaning as per the specification): objects aren't deleted simply because you've removed them from a OneToMany ...
Read more >
Advanced topics on caching in Apollo Client
To reset the cache without refetching active queries, use client.clearStore() instead of client.resetStore() . Responding to cache resets. You can register ...
Read more >
How To Clear a Redux Toolkit State That's Using redux-persist ...
They could go straight to the results screen and have everything there as expected, without errors due to missing data. The problem arose...
Read more >
Manage the Skill Session and Session Attributes | Alexa Skills ...
However, if a few seconds elapse without a response from the user, ... After the purchase flow completes, you use persistent storage to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found