Comments (4)
Can you make a bit more clear what requests are sent by who and what the current behavior looks like and what is the desired behavior?
from homebridge-http-webhooks.
I have a program that listens to my home controller for changes in light states.
When i detect a change (e.g. when a light gets turned on), i send a webhook to your plugin, so the change is also reflected in homekit.
The on events from your plugin gets sent to the home controller, which then turns on the light.
When that happens, my program detects the change, and sends it back to your plugin via webhook.
Your plugin then updates homekit, and sends the on event to the controller once more, causing a loop.
What i would like, is to be able to send the status via webhook call to your plugin, but only updating the change in homekit, without sending it back to the controller.
It could be like an option to the webhook call (eg. &UpdateOnly=true).
Hope it makes sense..
from homebridge-http-webhooks.
Yeah, got you. Well, first I want to tell you, that a button/light does not need to haven an on/off url. If you just want those reflecting the states, remove the urls. Second, thinking about the code, it seems to me that actually a webhook should never run the url request, as in most cases the call will come from another smart home device to update the state. So, there should be no need to send on/off url back to that system as it already knows the state. I will think more about it and might change it pretty soon.
from homebridge-http-webhooks.
Fixed with v0.0.27.
from homebridge-http-webhooks.
Related Issues (20)
- newstate - accept numeric as well as booleans HOT 1
- Occupancy sensor doesn't update in v0.1.16 HOT 4
- Cant't connect to a homebridge existing device HOT 1
- Occupancy Sensor abort autoRelease, if new occupancy is detected HOT 2
- Security system current state should not be set automatically HOT 1
- Unable to configure newly-installed plugin or create accessories HOT 10
- Log Output for Occupancy Sensor HOT 1
- Add "off" delay for push button HOT 1
- Can not retrieve Thermostat values HOT 3
- Celcius vs Fahrenheit Issue HOT 1
- Adding Toggle capability
- Fan state errors HOT 4
- Thermostat: "minTemp", "maxTemp" and "minStep" not supported HOT 1
- Feature Request: Adding Accessory Type "Electricity Meter" - or appending Outlet
- characteristic was supplied illegal value: null!
- no temperature in sensor device HOT 1
- Adding switch or pushbutton causes errors HOT 2
- Contact sensor always false HOT 12
- Feature request: RGB light bulbs
- Question: How to set state in Homekit for a switch HOT 4
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.
from homebridge-http-webhooks.