Scenario: I want the openHAB iOS app to display a notification when an item change state.
- I have the app installed and it works / can control items
- I use openHAB cloud (only - no my.openhab.org)
- I can get a notifcation to show up if I go to https://myopenhab.org/devices and send a message.
The rule I’m running is the following:
rule "Alarm changed"
when
Item alarmTilkoblet changed
then
if (alarmTilkoblet.state == CLOSED) {
sendBroadcastNotification(“Alarm tilkoblet”)
logInfo(“rules”, “alarm tilkoblet”)
}
else {
sendBroadcastNotification(“Alarm frakoblet”)
logInfo(“rules”, “alarm frakoblet”)
}
end
I get a nice line of text in the log but no notification, not even in the webUI for openHAB cloud.
What am I missing?