Skip to content

Instantly share code, notes, and snippets.

@ravijain412
Created February 16, 2018 09:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ravijain412/59d8bb74a5fffe88487d6f1fd6dbb386 to your computer and use it in GitHub Desktop.
Save ravijain412/59d8bb74a5fffe88487d6f1fd6dbb386 to your computer and use it in GitHub Desktop.
{
"transmission_rules": {
"predicates": [{
"and,eq,health.power.charging_status,charging,gte,health.power.battery,30": {
"result": {
"ttl": -1,
"flush": false,
"batch_size": 50,
"batch_duration": 5,
"preferred_channel": "http"
}
}
}],
"default_rule": {
"ttl": -1,
"flush": false,
"batch_size": 50,
"batch_duration": 300,
"preferred_channel": "http"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment