homebridge-shortcuts's People
homebridge-shortcuts's Issues
Stateless
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:
Link to updated working plugin (homebridge-shortcuts-buttons)
Hi @kylewhirl,
I really liked the idea of this plugin so, since it's marked as not-working, I decided to work on a plugin myself that executes apple shortcuts from homebridge (with the little addition of executing a callback command or shortcut after completion via x-callback-url): duddu/homebridge-shortcuts-buttons.
I wondered if you would consider maybe linking to this plugin from your readme for a working version of the same functionality - as your repo already has some visibility? (I know it's a lot to ask - but worth a shot!)
Also, keen to get your feedback on my code if you fancy, as you likely encountered similar problems whilst developing your plugin.
In the meantime, thanks for your time!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.