Notification is displayed twice
florian-h05 opened this issue · 4 comments
New bug checklist
- I updated the iOS openHAB app to the latest TestFlight version.
- I read the Contribution Guidelines
- I searched for existing GitHub issues
Describe the bug
When I send one notification from openHAB (NotificationAction.sendBroadcastNotification(msg)
), both my iPhone and my iPad show to identical notifications.
However, going to the Notifications
tab in the iOS app shows, that openHAB only sent one notification, I have also verified with one Android device which only displays one notification.
The weird thing is, that sending a notification via openHAB Cloud (myopenhab.org), only one notification is displayed on my Apple device.
To Reproduce
Steps to reproduce the behavior:
- Send a notification from your openHAB instance:
1.1 Create a newECMAScript 262 Edition 11
in the MainUI.
1.2 Paste the following code:actions.NotificationAction.sendNotification(email, 'Hello world!');
- Look at your Apple device: you’ll see two notifications.
Expected behavior
When I sent one notification the notification should only be displayed once!
Screenshots
No screenshots needed.
App (please complete the following information):
- Version [e.g.
2.1.0 (12)
]:2.4.29 (1580410509)
Smartphone (please complete the following information):
- Device: [e.g.
iPhoneXR
]:iPhone XS
,iPad Air 3 (2019)
openHAB (please complete the following information):
- Version [e.g.
2.5.8
]:3.3.0.M6 Milestone Release
You probably have the same device registered twice. Please check your device identifiers on myopenhab and remove duplicate entries.
@weakfl Thanks, I was having the same problem and your advice fixed it.
@weakfl
Thanks for your help, that fixed it 👍
I switched to the openHAB iOS Beta and that registered my Apple devices, although they already have been registered.