Giter VIP home page Giter VIP logo

homebridge-shortcuts's People

Contributors

kylewhirl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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 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.