souliss / soulissapp

SoulissApp is an Android Application for Souliss Framework
https://play.google.com/store/apps/details?id=it.angelic.soulissclient
MIT License
33 stars 33 forks source link

Enhanced IfThenElse Engine #15

Closed plinioseniore closed 5 years ago

plinioseniore commented 9 years ago

Actually the Engine that runs the scenario is only triggered by the timer for Service Execution. Please trig it also every time that data has been received from the gateway node.

The exponential backoff shall be modified to poll the GPS at rates that are indipendent from the timer of background Service. Once near the position, the GPS can be polled frequently until we got inside the area. Then polls reduce their frequency.

For all triggers shall be inculed an AND + NOT condition with two gates and an execution maximum rate. So a scenario maybe: Do somenthis if I'm backhome AND (NOT) state from the "typicals" AND (NOT) state from "typicals". Execute this scenario no more than ONCE every (10 min) (30 min) (1 h) (1 day).