-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add system global states to monitor the central unit (#57)
- Loading branch information
Showing
11 changed files
with
745 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,222 @@ | ||
{ | ||
"config": { | ||
"step": { | ||
"user": { | ||
"data": { | ||
"domain": "Domain name (optional)", | ||
"username": "[%key:common::config_flow::data::username%]", | ||
"password": "[%key:common::config_flow::data::password%]", | ||
"system_name": "[%key:common::config_flow::data::system_name%]" | ||
"config": { | ||
"step": { | ||
"user": { | ||
"data": { | ||
"domain": "Domain name (optional)", | ||
"username": "[%key:common::config_flow::data::username%]", | ||
"password": "[%key:common::config_flow::data::password%]", | ||
"system_name": "[%key:common::config_flow::data::system_name%]" | ||
}, | ||
"description": "Provide your credentials and the domain used to access your login page via web.\n\nFor instance, if you access to `https://connect.elmospa.com/vendor/`, you must set the domain to `vendor`. In case you don't have a vendor defined, set it to `default`.\n\nYou can configure the system selecting \"Options\" after installing the integration.", | ||
"title": "Configure your Elmo/IESS system" | ||
} | ||
}, | ||
"description": "Provide your credentials and the domain used to access your login page via web.\n\nFor instance, if you access to `https://connect.elmospa.com/vendor/`, you must set the domain to `vendor`. In case you don't have a vendor defined, set it to `default`.\n\nYou can configure the system selecting \"Options\" after installing the integration.", | ||
"title": "Configure your Elmo/IESS system" | ||
} | ||
"error": { | ||
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", | ||
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]", | ||
"invalid_areas": "Digited areas (home or night) are invalid", | ||
"unknown": "[%key:common::config_flow::error::unknown%]" | ||
}, | ||
"abort": { | ||
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]" | ||
} | ||
}, | ||
"error": { | ||
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", | ||
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]", | ||
"invalid_areas": "Digited areas (home or night) are invalid", | ||
"unknown": "[%key:common::config_flow::error::unknown%]" | ||
"options": { | ||
"error": { | ||
"invalid_areas": "Selected sectors are invalid", | ||
"unknown": "Unexpected error: check your logs" | ||
}, | ||
"step": { | ||
"init": { | ||
"data": { | ||
"areas_arm_home": "Armed areas while at home (e.g 3,4 - optional)", | ||
"areas_arm_night": "Armed areas at night (e.g. 3,4 - optional)", | ||
"areas_arm_vacation": "Armed areas when you are on vacation (e.g. 3,4 - optional)", | ||
"scan_interval": "Scan interval (e.g. 120 - optional)" | ||
}, | ||
"description": "Define sectors you want to arm in different modes.\n\nSet 'Scan Interval' value only if you want to reduce data usage, in case the system is connected through a mobile network. Leave it empty for real time updates, or set it to a value in seconds (e.g. 120 for one update every 2 minutes)", | ||
"title": "Configure your Elmo/IESS system" | ||
} | ||
} | ||
}, | ||
"abort": { | ||
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]" | ||
"entity": { | ||
"binary_sensor": { | ||
"anomalies_led": { | ||
"name": "General Anomaly", | ||
"state": { | ||
"on": "On", | ||
"off": "Off" | ||
} | ||
}, | ||
"inputs_led": { | ||
"name": "Zones Ready Status", | ||
"state": { | ||
"on": "On", | ||
"off": "Off" | ||
} | ||
}, | ||
"alarm_led": { | ||
"name": "General Alarm", | ||
"state": { | ||
"on": "On", | ||
"off": "Off" | ||
} | ||
}, | ||
"tamper_led": { | ||
"name": "General Tamper", | ||
"state": { | ||
"on": "On", | ||
"off": "Off" | ||
} | ||
}, | ||
"has_anomaly": { | ||
"name": "Anomalies", | ||
"state": { | ||
"on": "Detected", | ||
"off": "No" | ||
} | ||
}, | ||
"panel_tamper": { | ||
"name": "Panel Tamper", | ||
"state": { | ||
"on": "Tampered", | ||
"off": "Secure" | ||
} | ||
}, | ||
"panel_no_power": { | ||
"name": "System Main Power", | ||
"state": { | ||
"on": "No Power", | ||
"off": "Powered" | ||
} | ||
}, | ||
"panel_low_battery": { | ||
"name": "System Battery", | ||
"state": { | ||
"on": "Low Battery", | ||
"off": "OK" | ||
} | ||
}, | ||
"gsm_anomaly": { | ||
"name": "GSM Status", | ||
"state": { | ||
"on": "Anomaly", | ||
"off": "OK" | ||
} | ||
}, | ||
"gsm_low_balance": { | ||
"name": "GSM Plafond Balance", | ||
"state": { | ||
"on": "Low", | ||
"off": "OK" | ||
} | ||
}, | ||
"pstn_anomaly": { | ||
"name": "PSTN Anomaly", | ||
"state": { | ||
"on": "Detected", | ||
"off": "No" | ||
} | ||
}, | ||
"system_test": { | ||
"name": "System Test", | ||
"state": { | ||
"on": "Required", | ||
"off": "OK" | ||
} | ||
}, | ||
"module_registration": { | ||
"name": "Module Registration", | ||
"state": { | ||
"on": "Registering", | ||
"off": "Not Registering" | ||
} | ||
}, | ||
"rf_interference": { | ||
"name": "RF Interference", | ||
"state": { | ||
"on": "Detected", | ||
"off": "No" | ||
} | ||
}, | ||
"input_failure": { | ||
"name": "Input Failure", | ||
"state": { | ||
"on": "Detected", | ||
"off": "No" | ||
} | ||
}, | ||
"input_alarm": { | ||
"name": "Input Alarm", | ||
"state": { | ||
"on": "Triggered", | ||
"off": "No" | ||
} | ||
}, | ||
"input_bypass": { | ||
"name": "Input Bypass", | ||
"state": { | ||
"on": "Bypassed", | ||
"off": "No" | ||
} | ||
}, | ||
"input_low_battery": { | ||
"name": "Input Battery", | ||
"state": { | ||
"on": "Low Battery", | ||
"off": "OK" | ||
} | ||
}, | ||
"input_no_supervision": { | ||
"name": "Input No Supervision", | ||
"state": { | ||
"on": "Not Supervised", | ||
"off": "Supervised" | ||
} | ||
}, | ||
"device_tamper": { | ||
"name": "Device Protection", | ||
"state": { | ||
"on": "Tampered", | ||
"off": "Secure" | ||
} | ||
}, | ||
"device_failure": { | ||
"name": "Device Failure", | ||
"state": { | ||
"on": "Detected", | ||
"off": "No" | ||
} | ||
}, | ||
"device_no_power": { | ||
"name": "Device Power", | ||
"state": { | ||
"on": "No Power", | ||
"off": "Powered" | ||
} | ||
}, | ||
"device_low_battery": { | ||
"name": "Device Battery", | ||
"state": { | ||
"on": "Low Battery", | ||
"off": "OK" | ||
} | ||
}, | ||
"device_no_supervision": { | ||
"name": "Device No Supervision", | ||
"state": { | ||
"on": "Not Supervised", | ||
"off": "Supervised" | ||
} | ||
}, | ||
"device_system_block": { | ||
"name": "Device System Block", | ||
"state": { | ||
"on": "Blocked", | ||
"off": "Not Blocked" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"options": { | ||
"error": { | ||
"invalid_areas": "Selected sectors are invalid", | ||
"unknown": "Unexpected error: check your logs" | ||
}, | ||
"step": { | ||
"init": { | ||
"data": { | ||
"areas_arm_home": "Armed areas while at home (e.g 3,4 - optional)", | ||
"areas_arm_night": "Armed areas at night (e.g. 3,4 - optional)", | ||
"areas_arm_vacation": "Armed areas when you are on vacation (e.g. 3,4 - optional)", | ||
"scan_interval": "Scan interval (e.g. 120 - optional)" | ||
}, | ||
"description": "Define sectors you want to arm in different modes.\n\nSet 'Scan Interval' value only if you want to reduce data usage, in case the system is connected through a mobile network. Leave it empty for real time updates, or set it to a value in seconds (e.g. 120 for one update every 2 minutes)", | ||
"title": "Configure your Elmo/IESS system" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.