Replies: 4 comments 8 replies
-
It depends on how simple or complex that API is. Sorry I have no experience with it. If it's just a simple https request, it should work |
Beta Was this translation helpful? Give feedback.
-
Thanks for response. Well documented library exists here https://github.com/mobizt/FirebaseClient but i dont know how to integrate , It will be win win situation if developers integrate it in build even custom building also acceptable This will enable esp32 or esp8266 tasmotised module to send firebase cloud FCM messages to app capability to tasmota Regards, |
Beta Was this translation helpful? Give feedback.
-
Thanks for response Each iot firmware like Tasmota, ESPHome, Rainmaker alone has very limited and not so user friendly and customizable GUI development environment. All such firmware should need supporting mobile app to enrich the HMI and user control interface to turn on off devices etc In such cases when user controls any device by giving command may be over MQTT, In new android 34 sdk , you have to keep running your app running in background , else service running mqtt stuff will be destroyed and more so android services is being replaced with Receivers, This makes very difficult to send notification on mobile device when app is not running , Only way is firebase cloud messaging (FCM), almost all developers are shifting to that to enable there app connected to iot with mqtt or so to get notification even app is running I think this features of firebase cloud messaging is to be integrated in Tasmota to take is further upper level than any other competitors and to enhance its utility further Regards, |
Beta Was this translation helpful? Give feedback.
-
I found the way around to get firebase fcm cloud messaging http v1 access token key berry code in tasmota/Berry_playground located here For FCM http v1 access token use following code use case example
To send the notification using curl curl -X POST https://fcm.googleapis.com/v1/projects/pump-controller-c7f9b/messages:send -H "Authorization: Bearer [paste auth.access_token here]" -H "Content-Type: application/json" -d '{"message":{"topic":"246F28B49F88","notification": {"title":"title","body":"body"},"data":{"story_id":"story_12345"}}}' Regards, |
Beta Was this translation helpful? Give feedback.
-
is it possible in Tasmota esp32 berry script to send Firebase push notification (FCM) function so that same can be received on android app or so.
Regards,
Beta Was this translation helpful? Give feedback.
All reactions