Skip to content

Navigating to Basic UI sitemap page from enhanced notification does not work consistently #842

@lukiep

Description

@lukiep

New bug checklist

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("me@me.com", "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");

  1. Make sure the OpenHAB iOS app is closed (not in the background).
  2. Trigger the enhanced notification.
  3. Long press the notification and select the action button containing the navigation to basic UI.
  4. My experience is it navigates to Main UI.
  5. Now navigate to the basic UI sitemap and minimise (but not force close the app).
  6. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions