Giter Club home page Giter Club logo

Comments (6)

alexryd avatar alexryd commented on June 13, 2024 1

The exclude setting is now always honoured in version 0.10.0.

from homebridge-shelly.

alexryd avatar alexryd commented on June 13, 2024

Yes, if a device has been cached by homebridge it won't be excluded when exclude is set to true later on. This is due to the way homebridge is designed, it doesn't allow plugins to disregard cached accessories upon launch, which adds complexity to this plugin. I deliberately kept it this way in the current version because I'm working on adding support for specifying the type of accessory for a device (switch, outlet etc.) which will also require this plugin to go over all cached accessories after they've been loaded and remove or reload an accessory if its configuration has changed.

In the meantime, what you can do is to clear the cache manually, either by removing the cache file (.homebridge/accessories/cachedAccessories) or by editing it and only removing the accessories you want to exclude.

As for the crash when no configuration is given, that's an easy bug to fix. It'll be fixed in the next version.

Edit:
I just published version 0.9.2 that no longer crashes when the config is missing.

from homebridge-shelly.

rpolenthon avatar rpolenthon commented on June 13, 2024

Great thanks! If you provide the option to select the type, there is no need for me any longer to use MQTT. By the way, do you think about a fakegato history support? This would be awesome for temperature sensors.

Maybe you can add a garage door support later. I use the shelly relay to send the impulse to the motor and the input in detached mode to provide the closed status. There is a great MQTT Plugin for that: https://github.com/iomax/homebridge-mqttgaragedoor/blob/master/README.md
I would write a wiki entry for that if wanted ;)

Another thing which is maybe useful also for others is a configuration in the opposite way, so you have to include wanted devices and all others are excluded (great for big setups).

Maybe you can add also an option to define that devices will not be removed even if they are not reachable. If for example a wifi repeater in your house is damaged and the shellys in this area have no connection anymore, they will be removed after the timeout and you have to configure everything again in homekit.

Maybe you found my suggestions interesting,
have a nice week.

Greetings Ron

from homebridge-shelly.

rpolenthon avatar rpolenthon commented on June 13, 2024

Another issue. I removed the config entry from other instances (with the newest version). Now they added all devices their self. Great 100s of Shellys more in Home, can't laugh anymore. Please fix this soon.

from homebridge-shelly.

Kroellie avatar Kroellie commented on June 13, 2024

+1 for this feature to work, I connected one of my shellies to another service, and don't want this one to be discovered/controlled by this plugin.

from homebridge-shelly.

rpolenthon avatar rpolenthon commented on June 13, 2024

Great

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.