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

Stateless #2

Open
alxalxnet opened this issue Sep 23, 2022 · 1 comment
Open

Stateless #2

alxalxnet opened this issue Sep 23, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@alxalxnet
Copy link

alxalxnet commented Sep 23, 2022

Describe The Bug:

I set up tested the plug in and it works fine. However, that stateless feature behaves oddly: if I turn on a switch, the shortcut will fire on my Mac , but the switch will not automatically turn off.

To Reproduce:

In the settings I unchecked the box "Stateful" and typed the name of the shortcut in the ON field, leaving the OFF field empty.

Expected behavior:

I expected the button in homekit to automatically go back to the OFF status once the shortcut has been fired.
Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:
{
"name": "Resilio Switch",
"stateful": true,
"time": 1000,
"on": "Proj On",
"off": "Proj Off",
"accessory": "Siri Shortcuts"
},
{
"name": "Restart Modem",
"stateful": false,
"time": 300,
"on": "Proj On",
"accessory": "Siri Shortcuts"
},
{
"name": "Hue Fade out",
"stateful": false,
"time": 1000,
"on": "Hue Fade Out 15",
"accessory": "Siri Shortcuts"
}

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:
@alxalxnet alxalxnet added the bug Something isn't working label Sep 23, 2022
@Vic-Firth
Copy link

I have the same problem. No matter what I set things at it never turns off on its own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants