How to implement Push notifications
-
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 -
@sato this is currently not possible.
Regards,
kl3m3n -
-
@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 -
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 youBest regards
-
@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 -
Hi @kl3m3n,
THANK YOU!
It is a very important featureThe new feature like @init kl3xfxg, can you say when it be implemented?
Best regards
-
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 -
-
@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 -
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
-
@sato implemented, please see https://forum.gui-o.com/topic/69/announcing-iot-push-notifications
-
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