Skip to content

Commit

Permalink
Battery Added: Capteur de fumée heiman #658
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiHC16 committed Jun 2, 2019
1 parent d70b6d7 commit fad6d07
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/config/devices/SmokeSensor-EM/SmokeSensor-EM.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
"Commandes": {
"include1": "SW",
"include2": "nom",
"include3": "securitySafetySmoke"
"include3": "securitySafetySmoke",
"include8": "Batterie-Pourcent-Heiman",
"include9": "getBattery",
"include10": "BindShortToZigateBatterie",
"include11": "setReportBatterie"
}
}
}
21 changes: 21 additions & 0 deletions core/config/devices/Template/Batterie-Pourcent-Heiman.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"0001-#EP#-0021": {
"isVisible": 0,
"name": "Batterie",
"order": 9,
"isHistorized": "1",
"Type": "info",
"subType": "numeric",
"generic_type": "BATTERY",
"invertBinary": "0",
"template": "vuMeter",
"unite": "%",
"configuration": {
"uniqId": "5c07ciusd7662165e",
"calculValueOffset 2": "#value#/255*100",
"minValue": "0",
"maxValue": "100",
"visibilityCategory": "All"
}
}
}

0 comments on commit fad6d07

Please sign in to comment.