I have esp32 Lolin32 d32 that sends data from ds18b20 and dth22 sensors every 30 minutes and goes into deepsleep.
Is there an app that would allow me to display the temperature on the phone screen as a Widget? (not after opening arduino cloud or blynk, the old blynk had it but now it is not possible).
I want to do this on my Grandma's phone for her. Something that would work automatically without any intervention. Like a weather widget but with the temperature from my sensor.
You can setup a simple web server accessible from web browser.
Then make a shortcut to that on your phone home screen.
This works in local network, not over internet (without additional tinkering).
I'm not able to tell you what cloud provider is best for your need.
But if you want to try something simple, create a public channel with Thingspeak, update it with your Esp and set a browser shortcut on home screen to your channel address.
This is one random public address, could be yours: https://thingspeak.mathworks.com/channels/701593/widgets/50417
But it will be a shortcut to the page. I want it as a Widget on the phone screen. I tried to do it using "google home" but I don't know why I don't have the "Widget" option
Get a RPI, run Home assistant on it and you don't need any widget in the mobile, works on both iPhone and Android as well as other platforms / browsers.
OP asked to have widget on home screen, so even with HA it's still needed.
While I think HA would be good/best solution to many cases on this forum, for one DHT-sensor it might be overkill.
I think OP needs to find right settings for android/iphone widgets or some app that takes care of it (I have no experience).
Blynk is hopeless because every data read from http api from every sensor reduces the connection limit in the basic version very quickly.
I use Firebase. It's a really amazing tool. It's free. And the only limitation is simultaneous connections (100), which is a huge reserve. Additionally, you can create a second path and store data and later use it, for example, on a website or display it on an epaper connected to a second esp. And you can actually connect almost an unlimited number of devices.
I'll post the code later.
I added a few improvements to the standard library. Data transfer time measurement. Attempts to connect to the server (with a limited number of attempts and critical timeouts to avoid blocking the rest of the code), reports login or data transfer errors