Comments (12)
Here are the two automations that create a toggle for the same button push using a conditional to determine whether to turn my office air conditioner on or off:
And the reverse:
Screenshot is from Controller for HomeKit (the macOS version).
from homebridge-button-platform.
You can't create conditional automations using Apple's default Home app, but you can using Eve or Home+ or Controller for HomeKit, etc.
from homebridge-button-platform.
Yes you can. Since iOS 13, I think. You don't need any 3rd party app anymore. It worked flawlessly for me. All of a sudden, it stopped.
from homebridge-button-platform.
Yeah, I'm aware of Shortcuts. They don't work that well for me either, which is why I use HomeKit automations with a condition instead. I'm not sure why your shortcut doesn't work any more though. I'll create an automation using Shortcuts to see if I can reproduce it.
from homebridge-button-platform.
I just tried it and it worked just fine. If you create a new automation, does that work? It may be that your HomeKit data is out of sync on your Home Hubs (especially if you have more than one).
from homebridge-button-platform.
Yes, I deleted and newly created this simple shortcut over and over again. It works fine when testing in the Home app, that is: it reads the power state correctly and switches the outlet correctly off or on.
But the corresponding URL for the switch (I use the IP address of the Raspi to be sure that it's not a hostname/avahi problem) does nothing.
The URL for the switch works fine when I don't use a Shortcut but instead directly the outlet and switch that on, for example. But that way I have to use two buttons on my Elgato Streamdeck. I was using one button with that small Shortcut to toggle the power state and it worked fine.
from homebridge-button-platform.
It's interesting, though, that there's nothing behind the "When:" clause in Apple Home.
from homebridge-button-platform.
I'm going to close this issue now. If you have any further issue, please open a new one!
from homebridge-button-platform.
Well, nothing changed. It still doesn't work anymore but did before. Strange. Will investigate when I have time again. 🤷♂️
from homebridge-button-platform.
@metawops did you resolve this issue? I'm facing the same thing now.
from homebridge-button-platform.
@metawops did you resolve this issue? I'm facing the same thing now.
Strange thing: it‘s working again. Magically. I didn‘t do anything. Well, I surely rebooted all the involved devices (Raspberry Pi, iPhone, iPad, even my router & WiFi AP). But I can‘t say that „thing x“ did the trick. Sorry. 🤷♂️
from homebridge-button-platform.
I've only ever found this to be an issue when the HomeKit database goes out of sync on your Home Hubs. Shutdown all but one of them and test again. If that works, slowly turn the rest back on one at a time.
from homebridge-button-platform.
Related Issues (20)
- Can't find URI for button HOT 8
- Trying to use this plugin to control a smart switch from Stream Deck. But the virtual devices don't show up in the Home app HOT 1
- Phantom button press when bridge reboots
- Same problem as #140
- Naive Question - linking (virtual) Button Platform switch to (actual) Homebridge switch HOT 3
- Button not triggering the same event twice HOT 8
- Create battery service for Flic buttons HOT 1
- zsh: no matches found HOT 4
- No reaction HOT 5
- Issue with Flic Button Setup HOT 4
- Button not found. HOT 3
- (JS-0128) Should not have unused variables
- Renamed buttons persisting HOT 1
- No URi in Logs HOT 5
- via Internet HOT 1
- Eve App Shows Low Battery Warnings for Non-Flic Buttons HOT 4
- Button resetting without renaming! HOT 3
- Platform is issuing warning: heartbeat drift errors HOT 1
- Battery status present even without Flick button HOT 2
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-button-platform.