Giter Site home page Giter Site logo

Comments (9)

vdotn avatar vdotn commented on July 30, 2024

Can you share the shortcut? Also do you have a home hub? And if so what device/iOS version?

from homebridge-bond.

iRayanKhan avatar iRayanKhan commented on July 30, 2024

Yeah.
On my Mac so I'll send the shortcut asap.
Home Hubs:

  1. Apple TV 4K (3 of them 1 is the main one that's always connected, left the others on disabled)
  2. HomePod (2 of them always on standby)
    All on the latest beta build
    Shortcut I can send in a few hours as I don't have my phone on me currently.
    As I said before it's weird how the Fan Light accessory toggles via the shortcut, but the fan speed it self doesn't.
    Also the shortcut is an automation that runs a select shortcut via NFC sticker (again fan light works, just not fan speed) and can be run without a NFC sticker.

from homebridge-bond.

vdotn avatar vdotn commented on July 30, 2024

I’ll test your shortcut against my setup for ya once you post it.

Was wondering if your issue is related to what I saw when my HomePod (iOS 12.4) took over as home hub and everything went to shit, but it doesn’t appear to be your case.

from homebridge-bond.

iRayanKhan avatar iRayanKhan commented on July 30, 2024

from homebridge-bond.

iRayanKhan avatar iRayanKhan commented on July 30, 2024

Love how they didn't attach.
Here they are:
(To get the home actions just search "State" for the get state and "Control" for the control portion.
If you have email feel free to email [email protected] for the shortcut directly if you run into any issues.

IMG_1172
IMG_1173

from homebridge-bond.

iRayanKhan avatar iRayanKhan commented on July 30, 2024

Automations via the home app seems to be broken too. This doesn't seem like an OS level bug, since every other accessory works homebridge. or not. No clue what's happening. Gonna get logs later tomorrow and attach them.

from homebridge-bond.

iRayanKhan avatar iRayanKhan commented on July 30, 2024

I somehow have 2 versions of bond, the one by EDC and the fork you made before It was merged originally. Found this when trying to add a TV, they are fighting over each other. I'm gonna have to re-do my homebridge setup anyways since I have lots of old versions of plugins it seems and a fresh install with the latest nom version should fix things

from homebridge-bond.

dxdc avatar dxdc commented on July 30, 2024

@iRayanKhan just playing with this a little bit, I wonder if the problem is that you're looking for the Fan Power State. It seems like this never gets touched by homebridge-bond -- essentially -- it sets the fan speed to 0%, 33%, 66%, or 100%, instead of also turning off the fan at 0%.

This is strange, because in the Home app itself, I CAN turn off the fan by just clicking on the icon.

When automation sets fan speed to 0, fan should turn off in real life.

Agreed, but I think this is probably a bug in the homebridge code because it's not turning off at 0 BUT I can turn it off via the Home app.

So, I think the following psuedo-code would be better:

Get Power State of Fan
Get Fan Speed of Fan

if fan = off {
  // fan off
} else if Fan Speed = 0 {
  // fan ON, but set to 0
} else {
 // fan ON, and speed > 0
}

Also, one thing I've discovered with Shortcuts (for example, with screen brightness) is that you have to use a float to set % numbers. So, on a 3 speed fan, I think you have to set the fan speed to 0.33, 0.66, or 1.0, though I haven't tested this.

from homebridge-bond.

iRayanKhan avatar iRayanKhan commented on July 30, 2024

Closed:
Re-did my whole HomeBridge set-up and it seems to be working now. I guess it kept the v1 plugin or whatever, but make sure if this happens to anyone to remove v1 from
/usr/lib/node_modules

from homebridge-bond.

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.