Platform: openHAB 2.1.0-1 (Release Build)
Hi,
Hopefully this is a basic one, although the answer is alluding me. I use sendBroadcastNotification to send notifications to my iPhone X running iOS 12.1.
Everytime sendBroadcastNotification triggers a notification I get three notifications on my phone, one after the other (so 3 notifications over about 1-2 seconds). However, if I look at the ‘Notifications’ section within the OpenHab app on the iPhone I only see the notification once.
Clearly seems to be an issue with the app or the phone, for example, the following rule triggers three notifications:-
rule "System started"
when
System started
then
logInfo(“org.openhab” ,“System starting…”)
// 2017-09-17T13:06:26.190+01:00
Life360_IsSomeoneHome.postUpdate(ON)
After_Bedtime.postUpdate(OFF)
Over_Night_At_Home.postUpdate(OFF)
// All_Lights.members.forEach[i | i.sendCommand(OFF) ]
Ring_Motion.postUpdate(OFF)
Ring_Bell.postUpdate(OFF)
SMS_Alert.postUpdate(OFF)
Kids_Bedtime.postUpdate(OFF)
sendBroadcastNotification(“OpenHab system started”)
end
Anyone have any thoughts?
Thanks
Steve