Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Request: IR Command with some steps #1158

Open
McDin opened this issue Jan 6, 2025 · 1 comment
Open

Support Request: IR Command with some steps #1158

McDin opened this issue Jan 6, 2025 · 1 comment
Assignees
Labels
pinned question Further information is requested stale

Comments

@McDin
Copy link

McDin commented Jan 6, 2025

Describe Your Problem

A Set of IR Commands needed. Don't know how

Relevant log output

Hi,

I’m trying to control an IR LED candle using the SwitchBot Hub and integrate it with HomeKit. Currently, turning the candle on and off works perfectly via the SwitchBot app.

In the SwitchBot app, I’ve created multiple buttons to control different aspects of the candle:
	•	Brightness +/-: Adjusts the brightness.
	•	Warmth +/-: Adjusts the intensity of the flickering effect.

To set the candle to my desired mode manually, I currently have to:
	1.	Press the “On” button.
	2.	Press “Brightness -” once.
	3.	Press “Warmth -” once.

This sequence achieves the desired mode for the candle.

Now, I would like to create a single button in HomeKit that performs this sequence automatically. However, I’m not sure how to implement this. My questions are:
	1.	Is it possible to create multiple buttons for the same device in HomeKit, and if so, how can I do that?
	2.	Alternatively, is there a way to combine multiple button presses into a single action or scene in HomeKit? This would be the ideal solution.

I would really appreciate any advice or guidance on how to achieve this!

Thanks in advance for your help!

Config for homebridge-switchbot

{
                "configDeviceName": "LED Kerzen",
                "deviceId": "02-202412060944-87589303",
                "configRemoteType": "Light",
                "connectionType": "OpenAPI"
            }

Screenshots

No response

Device & Model

Switchbot Hub Mini

Node.js Version

v20.12.2

NPM Version

v

Homebridge Version

v

Homebridge SwitchBot Plugin Version

v

Homebridge Config UI X Plugin Version

v

Operating System

Rasbian

@McDin McDin added the question Further information is requested label Jan 6, 2025
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pinned question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

6 participants