openhab-ios
openhab-ios copied to clipboard
Navigating to Basic UI sitemap page from enhanced notification does not work consistently
New bug checklist
- [ ] I updated the iOS openHAB app to the latest TestFlight version.
- [X] I read the Contribution Guidelines
- [X] I searched for existing GitHub issues
Describe the bug As per point 2 in https://community.openhab.org/t/ios-notifications-with-openhab-cloud-connector/159490
- Using enhanced notification, navigating to a specific sitemap page via an action button eg
"ui:/basicui/app?w=0000&sitemap=Crib"
only really works if the iOS app has been previously opened and I have previously navigated to the sitemap (in Basic Ui). - If the iOS app hasn’t already been accessed, then I just get the Overview page of Main UI.
- In summary, when attempting to navigate to a specific sitemap page, the app doesn’t reliably open the Basic UI as requested.
To Reproduce
Steps to reproduce the behavior:
Notification definition:
actions.NotificationAction.sendNotification("[email protected]", "ALERT: This is a test.", "motion", "HVAC", "Im Really Hot!!!", "msg-alert-its_hot", "ui:/basicui/app?w=0000&sitemap=Crib", null, "OpenHAB=ui:/basicui/app?sitemap=Crib", "CoolTheHouse=rule:NotificationTest:prop1=OFF", "Cool The House=command:Test_Switch_1:ON");
- Make sure the OpenHAB iOS app is closed (not in the background).
- Trigger the enhanced notification.
- Long press the notification and select the action button containing the navigation to basic UI.
- My experience is it navigates to Main UI.
- Now navigate to the basic UI sitemap and minimise (but not force close the app).
- Follow the steps and this time it should navigate as expected.
Expected behavior
- Open specific Basic UI sitemap page as per the link.
Screenshots If applicable, add screenshots to help explain your problem.
App (please complete the following information):
- Version: 3.0.5(11)
Smartphone (please complete the following information):
- Device: iPhone 13, iOS 18.0.1
openHAB (please complete the following information):
- Version 4.3M2
Additional context Add any other context about the problem here.