-
Notifications
You must be signed in to change notification settings - Fork 4
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
M2M and publishes #28
Comments
What do we want?:
always publish when changing mode thougths? |
We want to save bandwidth and get accurate locations. StationaryMode sounds good, and I think "quietTime" should be in there as well, to further reduce publishes during, say, night times. SlowMode also sounds good. For FastMode, I think minDistance needs to be higher than for SlowMode, which is what I meant by "dynamic adjustment". I don't think an explicit pub on mode change is required really, because this will happen automatically? In any case we have to think about this carefully. |
@jpmens it is possible to use Ignition line (green line connected to fuse) as key. |
@ckrey would this be something for status=-1 ? |
yes, I haven't tested yet but should be already the case: Ignition off, java goes to intended close and sends a status=-1 messages |
|
|
(I warned you I'd think up evil stuff during your vacation!)
In view of limiting data (M2M etc.) I'm thinking whether we could add some intelligence to the number of MQTT publishes that occur. For example:
22:30 - 06:45
) during which the Greenwich should not publish at all, or maybe once an hour only.minDist=100
and we're driving at 100 km/h, this will cause lots of publishes. If we can detect we're going over a certain speed, we could dynamically increase the minDist, thereby lowering number of publishes but still having dynamic maps update rather frequently.Something we should consider as enhancement, I'd say.
The text was updated successfully, but these errors were encountered: