Skip to content

Commit

Permalink
Extended json schema to reflect "duplicates" support with influxdb api
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal Bihler committed Sep 13, 2023
1 parent 46cd825 commit 1227ea6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions etc/vzlogger_generic.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,12 @@
"enum": ["avg", "max", "sum", "none"],
"description": "AVeraGe for power (W), MAXimum for meter (Wh), SUMmary for counter (S0)",
"default": "none"
},
"duplicates": {
"type": "integer",
"minimum": 0,
"default": 0,
"description": "default 0 (send duplicate values), >0 = send duplicate values only each <duplicates> seconds. Activate only for abs. counter values (Zaehlerstaende) and not for impulses!"
}
},
"required": ["api", "uuid", "identifier", "host"]
Expand Down

0 comments on commit 1227ea6

Please sign in to comment.