Giter Site home page Giter Site logo

Comments (5)

kolossboss avatar kolossboss commented on May 29, 2024 1

I notice a similar issue.
The cover disappears because homebridge is crashing.

I added a Zwave switch for my Rollershutter. I see this Cover in my Homekit Apps just fine.

Then I tap the button to close the Shutter and everthing seems correct, the Shutter goes down. But exact in the moment, homebridge crashed (and restarted with systemd service).
And homebridge crashed too, if I switched the button in HA. It looks like, homebridge crashed, if the status for the cover changed.

I hope this helps

I see this in the log

[11/19/2016, 11:12:22 AM] [HomeAssistant] Setting the state of the Jalousie_HWR to 0
[11/19/2016, 11:12:22 AM] [HomeAssistant] Successfully set position of Jalousie_HWR to 0
/usr/local/lib/node_modules/homebridge-homeassistant/accessories/cover.js:32
        .setValue(coverState, null, "internal");
        ^

TypeError: Cannot read property 'setValue' of undefined
    at Object.HomeAssistantCover.onEvent (/usr/local/lib/node_modules/homebridge-homeassistant/accessories/cover.js:32:9)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-homeassistant/index.js:61:19)
    at emitOne (events.js:77:13)
    at EventSource.emit (events.js:169:7)
    at _emit (/usr/local/lib/node_modules/homebridge-homeassistant/node_modules/eventsource/lib/eventsource.js:181:17)
    at parseEventStreamLine (/usr/local/lib/node_modules/homebridge-homeassistant/node_modules/eventsource/lib/eventsource.js:196:9)
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-homeassistant/node_modules/eventsource/lib/eventsource.js:159:11)
    at emitOne (events.js:77:13)
    at IncomingMessage.emit (events.js:169:7)
    at readableAddChunk (_stream_readable.js:146:16)

from homebridge-homeassistant.

robbiet480 avatar robbiet480 commented on May 29, 2024

@kylerw It's hard to know if this is a Homebridge issues, a Homebridge-homeassistant issue or a HomeKit issue. Usually it's a HomeKit problem, as it seems pretty buggy still (or at least the integration with Homebridge is).

Can you start Homebridge in debub and insecure mode? This will allow you to inspect the accessories yourself by running curl 127.0.0.1:51826/accessories. Make sure you do so at startup and as soon as you notice things missing to compare the two. If you aren't seeing any accessories missing from /accessories but missing from HomeKit you should try wiping out the persist and accessories directories. This will remove all your rooms and custom configurations in HomeKit though.

from homebridge-homeassistant.

hdemel avatar hdemel commented on May 29, 2024

I'm noticing the same issue. How would one go about starting home bridge in debug and insecure mode?

from homebridge-homeassistant.

landerss0n avatar landerss0n commented on May 29, 2024

kolossboss, im having the same issue as you.

from homebridge-homeassistant.

robbiet480 avatar robbiet480 commented on May 29, 2024

Closed via #73.

from homebridge-homeassistant.

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.