de0u People reviewing the camera (Sehmua H-10 and using the Ucon app) don't seen to be having notification issues and are happy with the results (using stock Android).

Forgot to mention that sometimes notifications show up 10 minutes late. Not sure if it's the notification just arriving or the phone finally wakes up from a pending notification that's been sitting there.

Running the Automate 'Get all current notifications' flow, I pulled up the detail for a Ucon notification and it's using FCM. Perhaps the connection to FCM is getting closed in sleep? Throwing everything at the wall to see what sticks...

  • de0u replied to this.

    skyking Perhaps the connection to FCM is getting closed in sleep?

    The GrapheneOS instructions for installing Play Services include:

    You should give a battery optimization exception to Google Play services for features like push notifications to work properly in the background. It isn't needed for the other 2 apps.

    Has that been done?

      de0u Yes, Play Services is set to Unrestricted battery

      • de0u replied to this.

        skyking Does Ucon have special permissions? What happens if you disable Wi-Fi, or else disable the cellular connection?

          de0u Nothing special. Tried running on WiFi alone and on Cellular Data alone, same result. Camera runs over cellular network (LTE) so maybe it's sending out the notification directly and Ucon just interfaces with the camera to change settings, see livestream, and download saved pics or videos. Not sure. Seems convoluted for cam to talk to Ucon on mobile then uCon sends out a notification via FCM only to come back to same mobile.

          Ucon does not have a persistent setting and sending to background or quitting makes no difference in delayed notifications.

          • de0u replied to this.

            skyking If your phone is asleep for 10+ minutes, does it wake for an SMS message or a phone call? Are you using a VPN?

              de0u Yes wakes for SMS. I run a VPN client on my ASUS router but have an exception for my mobiles to bypass VPN and go through router public IP. No client VPN on mobiles when using Cellular Data.

              • de0u replied to this.

                skyking I'm afraid I'm out of ideas. You may need an expert.

                Thanks for the input - still troubleshooting...

                Update: Issue resolved. After wasting 3 days on this it turned out to be a weak cellular data signal. Had only 1 bar using the SIM that came with the camera (30 days and 300Mb free) using Verizon network. I replaced it with a SIM from SpeedTalk (250Mb/mo for $5 using T-Mobile) that gets 2-3 bars. Now when the camera trips from motion I get a notification instantly even when the P6 has been sitting overnight.

                  skyking Thanks for reporting back! Good to hear you found the problem.

                  3 months later

                  I’ve just switched from iOS to GrapheneOS a few days ago on Pixel 6a, and I’ve been facing the same problem since the beginning.

                  Today I’ve figured out that there is another notification settings here:
                  Settings > Apps > Special app access > Device & app notifications

                  Here the only allowed app was the Launcher. And the GPS was under the Not allowed header.
                  I’ve just allowed notification access for GPS as well, however I don’t know yet whether this will work. And I don’t know whether this will cause any security issues which we avoid from.

                  There are some detailed sub settings under this menu such as Real-time, Conversations (SMS etc), Notifications… And at the bottom, you can click on See all apps and choose the apps you want to activate for this settings.

                    dr_green Settings > Apps > Special app access > Device & app notifications

                    Unless you're using a different launcher or have a smart watch, you don't need to grant this permission to any apps.

                    There are a lot of variables to consider when it comes to notifications. Make sure Google Play Services has its battery usage set to unrestricted and that you have a reliable network connection.

                      dr_green there was an issue with notifications being delivered on time a while back. Your phone is completely up to date? The most recent release is 2024040900.

                      Yes my release number is same as 2024040900. I don't know if it's too early to talk or not, but my problem seems to be solved today after I've changed the permission that I've mentioned above.

                      Maybe I should close that permission again and see if the notification delay problem occurs again.

                      I have no idea if it helps, but adding a widget could. E.g. Whatsapp and Telegram each have that feature, whatsapp has a single widget space thing that shows how many unread messages you have. I guess at least if your screen is on android will refresh these widgets and therefore get new messages. Again this is just my speculation.