Coder Social home page Coder Social logo

Comments (16)

robertklep avatar robertklep commented on September 17, 2024

Strange, I have about 25 devices in total that Homeykit can manage, and I've never had an issue with devices suddenly changing their "exposed" status.

It's especially strange that the device state as shown on the settings page doesn't reflect the actual status of the device (because, like you say, the device is being shown as exposed, but until a reboot/restart it isn't treated as such).

For now, I don't have a clue how this might happen.

Do you use the Homey desktop app, or a browser? If so, it might be worthwhile to open the developer tools to check if there are any errors happening when you change the state of a device. Perhaps the frontend is having issues syncing the device status with the backend, for some reason.

from com.swttt.homekit.

BBEHannes avatar BBEHannes commented on September 17, 2024

I agree with everything Robert :). I use the homey desktop App. Haven't played around with the developer tools yet as of now. It is very inconsistent behavior and does not occur all the time. is there anything i can do to help you provide logs at times of the behavior? if so, please let me know

from com.swttt.homekit.

robertklep avatar robertklep commented on September 17, 2024

Too bad the behaviour is seemingly random, that means the devtools are of limited use I think.

Have you tried changing the state of a device on the settings page when it has reverted back to being exposed (while it shouldn't)?

An additional complication is that the device state, whether it should be shown or not, is not handled by the Homey app directly but by the underlying hap-nodejs module.

@nhassink @swttt have you ever had to deal with this problem?

from com.swttt.homekit.

BBEHannes avatar BBEHannes commented on September 17, 2024

It MIGHT change when adding new devices to Homey. I am thinking about the conditions and I believe that it happens when I have added new physical devices. Cannot confirm it yet though.

Indeed, what I do when this occurs is set the state back to what it is supposed to be.

from com.swttt.homekit.

nhassink avatar nhassink commented on September 17, 2024

If you add a new physical device to homey it will automatically appear in HomeKit / home app. Might this be the behavior you’re experiencing?

from com.swttt.homekit.

BBEHannes avatar BBEHannes commented on September 17, 2024

Thanks hassink. It is the exact behavior I mentioned in my initial comment and verified by Robert. All devices show as “DELETE” under their name. This is wrong info as most of them should not be added to HomeKit view. And they are not, until you restart the app or homey.

from com.swttt.homekit.

robertklep avatar robertklep commented on September 17, 2024

I might have found a possible reason why this happens, but only if there's something wrong with some core Homey code.

However, I'll try and cut a beta release tomorrow or on monday to see if that solves your problem.

from com.swttt.homekit.

BBEHannes avatar BBEHannes commented on September 17, 2024

Rockstar! Looking forward seeing the results

from com.swttt.homekit.

BBEHannes avatar BBEHannes commented on September 17, 2024

Friendly reminder on this.

from com.swttt.homekit.

robertklep avatar robertklep commented on September 17, 2024

@swttt can you publish a new beta? Should be v2.1.2

from com.swttt.homekit.

BBEHannes avatar BBEHannes commented on September 17, 2024

This is still somewhat of an issue. When restarting homey without first shutting down HomeyKit app, some of my devices are lost and I need to re-add them to homeykit after restart.

from com.swttt.homekit.

robertklep avatar robertklep commented on September 17, 2024

This should be fixed in an upcoming release (probably v3.0.7)

from com.swttt.homekit.

FrankRinkens avatar FrankRinkens commented on September 17, 2024

Don't see this happening in v3.07 anymore, @BBEHannes pls check this beta. ;)

from com.swttt.homekit.

BBEHannes avatar BBEHannes commented on September 17, 2024

Still running 3.06 but it happens there (intermittently, not 100% of the time) still.

from com.swttt.homekit.

robertklep avatar robertklep commented on September 17, 2024

@BBEHannes it was (hopefully) fixed in 3.0.7, not 3.0.6.

from com.swttt.homekit.

BBEHannes avatar BBEHannes commented on September 17, 2024

Updated to the beta... will keep you posted.

from com.swttt.homekit.

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.