WatchFlower icon indicating copy to clipboard operation
WatchFlower copied to clipboard

[Feature Request] Background notifications on iOS

Open fnutt opened this issue 4 years ago • 6 comments

First of all, thanks for a wonderful app and thanks for pushing it to App Store.

Feature request: Notifications on iOS (and Android for those using it) would be highly appreciated. This would allow me to know when to water the plants instead of having to check the app regularly. Preferably it would be possible to set certain limits on moisture, temperature, luminosity etc., e.g. when moisture is below X -> send notification.

fnutt avatar Aug 05 '20 18:08 fnutt

In my opinion this is not really possible with this hardware. Your phone would have to constantly send requests to the sensors in the background to be able to send a notification. BLE is very vulnerable to power saving mode, especially with IOS. This already didn't work with the Corona app from Germany. For such a thing you might need a mediator like an ESP32, which can send requests to the sensors and would provide them via WLAN. Example: https://github.com/sidddy/flora stay healthy and ceep calm

Roughtrade avatar Aug 05 '20 20:08 Roughtrade

I would like notification as well. Should be possible to plan updates at some hours of the day to refresh data and send notification.

bvalat avatar Aug 05 '20 20:08 bvalat

Once every 6 hours as an example?

fnutt avatar Aug 10 '20 14:08 fnutt

Background service is in the work for Android. I really don't know if I can do it for iOS. It would be once or twice per day, not more. Enough to have notifications triggered, not to have realtime graphs. Doing so every hour would kill both smartphone and sensors battery. For pretty graph, we would have to rely on #12

Also, if the sensors are out of range when the background service start, that trigger many kinds of problems that have to be though through.

emericg avatar Aug 12 '20 14:08 emericg

If you add a feature for iOS Shortcuts app to fetch data in de the app, that shortcut can be triggered via automations in the Home app.

tjaadvd avatar Dec 04 '20 11:12 tjaadvd

Who want's to try Android background updates? Send me an email with your Google account and I'll add you to the testers!

emericg avatar Jun 06 '22 14:06 emericg