Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Background notifications on iOS #20

Open
fnutt opened this issue Aug 5, 2020 · 6 comments
Open

[Feature Request] Background notifications on iOS #20

fnutt opened this issue Aug 5, 2020 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@fnutt
Copy link

fnutt commented Aug 5, 2020

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.

@Roughtrade
Copy link

Roughtrade commented Aug 5, 2020

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

@bvalat
Copy link

bvalat commented Aug 5, 2020

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

@fnutt
Copy link
Author

fnutt commented Aug 10, 2020

Once every 6 hours as an example?

@emericg emericg changed the title Background notifications on iOS and Android [Feature Request] Background notifications on iOS and Android Aug 12, 2020
@emericg emericg added the enhancement New feature or request label Aug 12, 2020
@emericg
Copy link
Owner

emericg commented Aug 12, 2020

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.

@tjaadvd
Copy link

tjaadvd commented Dec 4, 2020

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.

@emericg emericg self-assigned this Mar 10, 2022
@emericg
Copy link
Owner

emericg commented Jun 6, 2022

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 emericg changed the title [Feature Request] Background notifications on iOS and Android [Feature Request] Background notifications on iOS Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants