I just released the brand new Web API for Pushcut, and my intention is to offer everything that is needed to integrate Pushcut really well with openHAB.
Here is the documentation. <- You can even play around with the API through the web UI.
The primary use is to send smart notifications with dynamic content and automation actions to your iOS devices.
However, I think the coolest part is the possibility to register you own (local network) webhooks as “online actions” in Pushcut.
This way we could trigger openHAB rules as a response - directly from the notification action - on your local network.
So, you could send a notification asking: “Should I turn off the lights?” and there could be Yes/Dim/No options that actually do it. Or you could say “TV was turned on, should I open the remote app?”, or something like that.
I believe there are many situations where fully automatic is not feasible, but a “quick action” on your phone at the right time is the best experience. This type of interaction is the reason I created Pushcut: for “semi-automation”, where you are given the right options at the right time.
To be honest, I have lost track a little how one would go about creating a binding like this these days with openHAB.
Is anyone willing to help me create this integration?