Code Monkey home page Code Monkey logo

Comments (4)

SphtKr avatar SphtKr commented on September 15, 2024

Which device was this? Was it your device number 32? What manufacturer/model is this? I didn't know there was a Z-Way device that has a motion sensor and contact sensor in once device...

from homebridge-zway.

SphtKr avatar SphtKr commented on September 15, 2024

@klaasjoerg So, two things.

One is I had a bug where it should have actually returned a failure value and not configured the service--instead it hit an undefined value and blew up. So I'm fixing that.

Second though, really the problem is that the Z-Way plugin can't know whether a sensorBinary/general_purpose is a contact sensor, motion sensor, or leak sensor, or something else. This is talked about a bit in the docs, and you should specify a tag to tell the plugin what kind of sensor it is...it may not be a Contact Sensor, which is just the undefined default.

It still shouldn't simply explode, so I'm fixing that. You might go over your devices again though and see if you want to tag them with more specific device types.

from homebridge-zway.

joergs-git avatar joergs-git commented on September 15, 2024

Okay, thanks for letting me know. Since then I didn't have had any further problems. However I just added some certain tags to try this functionality, and it seem to work fine. But I also noticed that, if I try to tag the fibaro motion sensor (eye) as Homebridge.Service.Type:MotionSensor homebridge "freezes" again and stucks. So I removed that tag for the three fibaro eyes again, and it works.
So, this as another hint/information for you....

from homebridge-zway.

SphtKr avatar SphtKr commented on September 15, 2024

Believed fixed in 9d163e6, reopen or create a new issue if not fixed.

from homebridge-zway.

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.