I use myopenHAB with notifications on different events/rules. As I have 3 iOS devices I’m logged in to the App with the same account on all 3 devides.
Now, 2 of these devices show every notification twice. Always. Even for the “openHAB is offline/online” messages.
One of the devices shows it only once, as I would expect.
It’s not related to the iOS version and I also tried to clear the cache in the app.
Does anyone have the same issue, and know how to solve it?
@viktor_Sc, I also experience this problem using the PROWL action. My rules contain only one sendNodification statement, however my log shows that two notification actions occur.
I am running OpenHAB2 on a RaspberryPi
The Prowl Action is installed
I have defined a switch item that allows me to turn the notifications on and off as follows:
Switch Mice "Mouse detection"
My rule is as follows:
when
Item Node14_MouseDetector changed from OFF to ON
then
if (Mice.state == ON) {
pushNotification("MyProwlAPI_UUID","Alarm","Mice on the stairs!")
}
end
The OP was about myopenhab notification, you are using PROWL. You should start an own thread on sch question.
Did you check with a logInfo-line in your rule wether or not the rule is actuallly run twice??
Hi @opus. Agree on starting a separate thread. I did not check with a loginfo line, however two entries show up in the log regarding the notification. Probably good to put the loginfo line in to see what that turns up. Will do it and post results in a separate thread.