Giter Club home page Giter Club logo

Comments (11)

deflao avatar deflao commented on June 15, 2024 1

In that scenario, it would make sense. But let’s say, you have an automation where when you turn on your tv, the speaker turn on. Now the speaker is already on, you use control center remote in order to adjust the volume. Having it sending another power on/off signal will now turn off the speaker, and that’s inconvenient and doesn’t make sense in this scenario.
I think it would make sense to make it works like the Switchbot app where doesn’t matter what state your speaker is, volume up/down will just be volume up/down, no power on/off

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on June 15, 2024

@deflao, this is actually not a bug. It looks at the default value, which is off and then when it sends the volume control it also sends the on control so that the speaker turns on.

I could potentially add an option in the config that would ignore on an off if you think that would help?

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on June 15, 2024

@deflao I have added this into the latest beta if you could give it a test. This beta has major changes in it to the config.

there is now a device config setting that you must set specific configs for each device.

from homebridge-switchbot.

deflao avatar deflao commented on June 15, 2024

So I tried to remove the current version, clean cached accessories and Unpair Bridges / Cameras / TVs / External Accessories in homebridge setting in order to clean install the beta version you suggested. For some reason, the soundbar and the fan (infrared controlled devices) weren’t showing up in HomeKit or even homebridge accessories.

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on June 15, 2024

@deflao, I have pushed this into v1.0.0. You can disable power in the config.

from homebridge-switchbot.

deflao avatar deflao commented on June 15, 2024

It works, but it also creates another problem. So I’m able to control the volume up/down in the remote app without the power command. But it also disable the ability to turn on and off the speaker in the Home app.

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on June 15, 2024

@deflao, this is nothing that I can control, with it being IR, I never get info back from the devices. If you have another idea of how to implement this, let me know.

from homebridge-switchbot.

deflao avatar deflao commented on June 15, 2024

So what I don’t understand is in the Switchbot app, when I control volume up/down it doesn’t produce on/off IR signal, just volume up/down IR signal is produced.
So why is it different when implemented into HomeKit? I would think that in the Home app, it would just simply be an on/off button. Then in the remote app, when adjusting volume up/down it would just simply be volume up/down.
I understand that you said the default value is off and when the volume is adjusted then it will also sending on control but can we remove/ignore the state which it check for default value and going straight to just volume up/down?

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on June 15, 2024

When you use the Control Center Remote, there isn't an on and off button, so how would you turn your soundbar on if you are are using the Control Center Remote?

This is where the HomeKi Implementation comes into play. It sends a power on every time because it is making sure that the device is on when it is sending the command, then it sends the command (in this case) volume up/down.

from homebridge-switchbot.

AtTimesChris avatar AtTimesChris commented on June 15, 2024

Apologies for necro but have been having this issue and came across this, been using my tv and found turning the volume up turned off the tv, able to get this to work as intended by enabling the disable sending on command option but now this has ruined my automations, is there an option to disabled the turn on command on the first input I've missed from this thanks

from homebridge-switchbot.

Twox0 avatar Twox0 commented on June 15, 2024

Hello, I've seen that this problem dates from a long time ago but I have exactly the same, I tried to disable the off and on commands but it still does not work, is there a solution so that the ON command does not send when controlling the volume via the CC Remote? Because I deactivated the ON command but it still sends...

from homebridge-switchbot.

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.