Giter Club home page Giter Club logo

Comments (6)

alexryd avatar alexryd commented on June 7, 2024

I agree that this issue is pretty annoying. It’s not just the name and room that is lost, the devices are also removed from any scenes and automations that they are part of.

HomeKit accessories can set a default name, but unfortunately they can’t control which room/scenes/automations they belong to, so there is no way to restore all configurations when a device is re-detected. I’ve been thinking about ways to improve the removal of stale devices, but right now the best advice I have is to increase the staleTimeout option to some really large number, like 432000000 (five days).

from homebridge-shelly.

NorbertM21 avatar NorbertM21 commented on June 7, 2024

Wy can't we assign a name to the Shellys in config.json?
So if a device is (re-)detected and listed in the config, this name could be used for HomeKit.

from homebridge-shelly.

alexryd avatar alexryd commented on June 7, 2024

I just released version 0.10.0 that solves this issue by disabling the staleTimeout setting by default. Instead I've created an admin page that lists all discovered devices and allows each device to be removed manually. This means no devices will be removed automatically, regardless of how long they've been offline for.

After updating to the latest version, you can go to the admin page by visiting http://<IP-ADDRESS>:8080/ in your browser, with the IP address of the device that you are running homebridge on.

from homebridge-shelly.

NorbertM21 avatar NorbertM21 commented on June 7, 2024

from homebridge-shelly.

alexryd avatar alexryd commented on June 7, 2024

@NorbertM21 Yeah, I noticed that typo.

from homebridge-shelly.

thechris1992 avatar thechris1992 commented on June 7, 2024

Got the Same after a restart some shellys are in the default room with there generic namens.

After Update npm and Homebridge ist works fine

from homebridge-shelly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.