• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
GUI-O Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login

How to implement Push notifications

Scheduled Pinned Locked Moved
Comments & Feedback
2
13
868
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    Sato
    last edited by 13 May 2022, 15:30

    Hello kl3m3n,

    In case of any event on the MCU side, is it possible to send a command to the broker to generate a Push notification on the cell phone of the GUI-O App?

    Thank You
    Best regards

    K 1 Reply Last reply 14 May 2022, 11:04 Reply Quote 0
    • K
      kl3m3n @Sato
      last edited by 14 May 2022, 11:04

      @sato this is currently not possible.

      Regards,
      kl3m3n

      S 1 Reply Last reply 14 May 2022, 13:19 Reply Quote 0
      • S
        Sato @kl3m3n
        last edited by 14 May 2022, 13:19

        Hi @kl3m3n,

        Are you planning to include this
        functionality, if so, when?

        Thank you

        Best regards

        K 1 Reply Last reply 15 May 2022, 06:08 Reply Quote 0
        • K
          kl3m3n @Sato
          last edited by 15 May 2022, 06:08

          @sato
          Hello.

          This seems interesting, but it is not a planned feature.
          I am currently looking into porting the app to iOS. I could take a look at this feature after (no promises though).

          Regards,
          kl3m3n

          S 1 Reply Last reply 15 May 2022, 08:59 Reply Quote 0
          • S
            Sato @kl3m3n
            last edited by 15 May 2022, 08:59

            Hi @kl3m3n,

            I asked and I don't even know if this is possible with Gui-O. The problem I see, is how it possible to know that there is some failure on the MCU side, without having the Gui-O App open. Of course, there are solutions like IFTTT and other services, that send a SMS, but it is not ideal, Push notifications are the most suitable. More than 95% of the future users of my product use Android.
            Thank you

            Best regards

            K 1 Reply Last reply 17 May 2022, 08:36 Reply Quote 0
            • K
              kl3m3n @Sato
              last edited by 17 May 2022, 08:36

              @sato this should be possible using for example the Firebase service. The app would need to include this support. I will look into this as it seems interesting...

              BR,
              kl3m3n

              S 1 Reply Last reply 17 May 2022, 13:55 Reply Quote 0
              • S
                Sato @kl3m3n
                last edited by 17 May 2022, 13:55

                Hi @kl3m3n,

                THANK YOU!
                It is a very important feature

                The new feature like @init kl3xfxg, can you say when it be implemented?

                Best regards

                1 Reply Last reply Reply Quote 0
                • K
                  kl3m3n
                  last edited by kl3m3n 24 May 2022, 08:56

                  I have decided not to include another third party framework to the app (e.g. Firebase), since this leads to additional configurations and dependencies... It complicates things for the user and does not correspond to the concept of the GUI-O app.

                  Instead, I plan to implement a foreground service (can run even if the app is closed), which can be enabled / disabled from the app. I plan to add basic MQTT support to this service and subscribe to "alarm" channels. The microcontroller device should then just post urgent messages to this channel. The Android device will show the messages with alarm even if the app is closed.

                  BR,
                  kl3m3n

                  S 1 Reply Last reply 25 May 2022, 14:06 Reply Quote 0
                  • S
                    Sato @kl3m3n
                    last edited by 25 May 2022, 14:06

                    Hi @kl3m3n,

                    Thanks, great news. Do you have any idea when it will be implemented?

                    Best regards

                    K 1 Reply Last reply 25 May 2022, 19:27 Reply Quote 0
                    • K
                      kl3m3n @Sato
                      last edited by 25 May 2022, 19:27

                      @sato I got it working today. I just need to implement it properly and test it. It should be ready in a couple of days...

                      BR,
                      kl3m3n

                      S 1 Reply Last reply 25 May 2022, 19:51 Reply Quote 0
                      • S
                        Sato @kl3m3n
                        last edited by 25 May 2022, 19:51

                        Hi @kl3m3n,

                        In my opinion, in addition to all the others that already exist, this is an excellent feature and as such, very important in Gui-O

                        Congrats

                        Best regards

                        K 1 Reply Last reply 29 May 2022, 12:07 Reply Quote 0
                        • K
                          kl3m3n @Sato
                          last edited by 29 May 2022, 12:07

                          @sato implemented, please see https://forum.gui-o.com/topic/69/announcing-iot-push-notifications

                          S 1 Reply Last reply 29 May 2022, 16:40 Reply Quote 0
                          • S
                            Sato @kl3m3n
                            last edited by 29 May 2022, 16:40

                            Hi @kl3m3n,

                            Fantastic!
                            I already updated by Google Play the new version. When you have some example code, please send it, I can start testing on my microcontroller.

                            Thanks. Great feature from Gui-O

                            With best regards

                            1 Reply Last reply Reply Quote 0
                            8 out of 13
                            • First post
                              8/13
                              Last post