I’ve been using pushover for years for push notifications from OH, but these are basically static messages. I know I’ve been some other service where I can send a message and present say 2 possible actions with buttons I can press on the notification, which will trigger actions on OH. I can’t remember what service that is, nor can I seem to find the right words to google. Does anyone know what service this might be?
The built in notifications for the openHAB cloud connector support this. You can cancel previously send notifications, provide an action to do when it’s pressed, and supply up to three buttons which can each do a different action. Both the Android and iOS openHAB apps support these, though these apps must be installed and you must have an account at myopenhab.org and the cloud connector add-on installed to use thse.
See:
- openHAB Cloud Connector - System Integrations | openHAB (installation and configuration)
- Actions | openHAB (for Rules DSL)
- JavaScript Scripting - Automation | openHAB (for JS)
- Rules Blockly - Notifications | openHAB (for Blockly)
1 Like
In addition to Rich answer: the Telegram binding is able to do that, see example at the end of the docs.