- Jun 6, 2020
- 11,576
- 4,480
I have never created a service type app before and was wondering if someone had a sample I could follow.
What I am trying to achieve.
I have an app GridConnect that monitors a reed switch sensor in my smart home system.
When the Garage door opens I get a notification
When it closes I get another notification
I want to write an app that deletes the notifications (I can turn them off but that would defeat the purpose), starts a timer when the door open notification is received and if the door closed notification is not received within say 5 minutes it alerts me somehow.
What I am trying to achieve.
I have an app GridConnect that monitors a reed switch sensor in my smart home system.
When the Garage door opens I get a notification
When it closes I get another notification
I want to write an app that deletes the notifications (I can turn them off but that would defeat the purpose), starts a timer when the door open notification is received and if the door closed notification is not received within say 5 minutes it alerts me somehow.
برای دیدن لینک ها باید ثبت نام کنید