-
-
Save Flavien/95ce4de11e0fe73ab304793813cef658 to your computer and use it in GitHub Desktop.
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
{ | |
"date_code": "2023-02-07", | |
"definition": { | |
"description": "[Configurable firmware](https://ptvo.info/zigbee-configurable-firmware-features/)", | |
"exposes": [ | |
{ | |
"access": 1, | |
"category": "diagnostic", | |
"description": "Remaining battery in %, can take up to 24 hours before reported", | |
"label": "Battery", | |
"name": "battery", | |
"property": "battery", | |
"type": "numeric", | |
"unit": "%", | |
"value_max": 100, | |
"value_min": 0 | |
}, | |
{ | |
"access": 1, | |
"category": "diagnostic", | |
"description": "Triggered action (e.g. a button click)", | |
"label": "Action", | |
"name": "action", | |
"property": "action", | |
"type": "enum", | |
"values": [ | |
"single", | |
"double", | |
"triple", | |
"hold", | |
"release" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l2", | |
"label": "Switch type", | |
"name": "switch_type", | |
"property": "switch_type_l2", | |
"type": "enum", | |
"values": [ | |
"switch", | |
"single click", | |
"multi-click", | |
"reset to defaults" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l2", | |
"label": "Switch actions", | |
"name": "switch_actions", | |
"property": "switch_actions_l2", | |
"type": "enum", | |
"values": [ | |
"on", | |
"off", | |
"toggle" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l2", | |
"label": "Link to output", | |
"name": "link_to_output", | |
"property": "link_to_output_l2", | |
"type": "enum", | |
"values": [ | |
"no", | |
"yes" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l2", | |
"label": "Bind command", | |
"name": "bind_command", | |
"property": "bind_command_l2", | |
"type": "enum", | |
"values": [ | |
"on/off", | |
"toggle", | |
"change level up", | |
"change level down", | |
"change level up with off", | |
"change level down with off", | |
"recall scene 0", | |
"recall scene 1", | |
"recall scene 2", | |
"recall scene 3", | |
"recall scene 4", | |
"recall scene 5" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l3", | |
"label": "Switch type", | |
"name": "switch_type", | |
"property": "switch_type_l3", | |
"type": "enum", | |
"values": [ | |
"switch", | |
"single click", | |
"multi-click", | |
"reset to defaults" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l3", | |
"label": "Switch actions", | |
"name": "switch_actions", | |
"property": "switch_actions_l3", | |
"type": "enum", | |
"values": [ | |
"on", | |
"off", | |
"toggle" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l3", | |
"label": "Link to output", | |
"name": "link_to_output", | |
"property": "link_to_output_l3", | |
"type": "enum", | |
"values": [ | |
"no", | |
"yes" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l3", | |
"label": "Bind command", | |
"name": "bind_command", | |
"property": "bind_command_l3", | |
"type": "enum", | |
"values": [ | |
"on/off", | |
"toggle", | |
"change level up", | |
"change level down", | |
"change level up with off", | |
"change level down with off", | |
"recall scene 0", | |
"recall scene 1", | |
"recall scene 2", | |
"recall scene 3", | |
"recall scene 4", | |
"recall scene 5" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l4", | |
"label": "Switch type", | |
"name": "switch_type", | |
"property": "switch_type_l4", | |
"type": "enum", | |
"values": [ | |
"switch", | |
"single click", | |
"multi-click", | |
"reset to defaults" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l4", | |
"label": "Switch actions", | |
"name": "switch_actions", | |
"property": "switch_actions_l4", | |
"type": "enum", | |
"values": [ | |
"on", | |
"off", | |
"toggle" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l4", | |
"label": "Link to output", | |
"name": "link_to_output", | |
"property": "link_to_output_l4", | |
"type": "enum", | |
"values": [ | |
"no", | |
"yes" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l4", | |
"label": "Bind command", | |
"name": "bind_command", | |
"property": "bind_command_l4", | |
"type": "enum", | |
"values": [ | |
"on/off", | |
"toggle", | |
"change level up", | |
"change level down", | |
"change level up with off", | |
"change level down with off", | |
"recall scene 0", | |
"recall scene 1", | |
"recall scene 2", | |
"recall scene 3", | |
"recall scene 4", | |
"recall scene 5" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l5", | |
"label": "Switch type", | |
"name": "switch_type", | |
"property": "switch_type_l5", | |
"type": "enum", | |
"values": [ | |
"switch", | |
"single click", | |
"multi-click", | |
"reset to defaults" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l5", | |
"label": "Switch actions", | |
"name": "switch_actions", | |
"property": "switch_actions_l5", | |
"type": "enum", | |
"values": [ | |
"on", | |
"off", | |
"toggle" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l5", | |
"label": "Link to output", | |
"name": "link_to_output", | |
"property": "link_to_output_l5", | |
"type": "enum", | |
"values": [ | |
"no", | |
"yes" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l5", | |
"label": "Bind command", | |
"name": "bind_command", | |
"property": "bind_command_l5", | |
"type": "enum", | |
"values": [ | |
"on/off", | |
"toggle", | |
"change level up", | |
"change level down", | |
"change level up with off", | |
"change level down with off", | |
"recall scene 0", | |
"recall scene 1", | |
"recall scene 2", | |
"recall scene 3", | |
"recall scene 4", | |
"recall scene 5" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l6", | |
"label": "Switch type", | |
"name": "switch_type", | |
"property": "switch_type_l6", | |
"type": "enum", | |
"values": [ | |
"switch", | |
"single click", | |
"multi-click", | |
"reset to defaults" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l6", | |
"label": "Switch actions", | |
"name": "switch_actions", | |
"property": "switch_actions_l6", | |
"type": "enum", | |
"values": [ | |
"on", | |
"off", | |
"toggle" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l6", | |
"label": "Link to output", | |
"name": "link_to_output", | |
"property": "link_to_output_l6", | |
"type": "enum", | |
"values": [ | |
"no", | |
"yes" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l6", | |
"label": "Bind command", | |
"name": "bind_command", | |
"property": "bind_command_l6", | |
"type": "enum", | |
"values": [ | |
"on/off", | |
"toggle", | |
"change level up", | |
"change level down", | |
"change level up with off", | |
"change level down with off", | |
"recall scene 0", | |
"recall scene 1", | |
"recall scene 2", | |
"recall scene 3", | |
"recall scene 4", | |
"recall scene 5" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l7", | |
"label": "Switch type", | |
"name": "switch_type", | |
"property": "switch_type_l7", | |
"type": "enum", | |
"values": [ | |
"switch", | |
"single click", | |
"multi-click", | |
"reset to defaults" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l7", | |
"label": "Switch actions", | |
"name": "switch_actions", | |
"property": "switch_actions_l7", | |
"type": "enum", | |
"values": [ | |
"on", | |
"off", | |
"toggle" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l7", | |
"label": "Link to output", | |
"name": "link_to_output", | |
"property": "link_to_output_l7", | |
"type": "enum", | |
"values": [ | |
"no", | |
"yes" | |
] | |
}, | |
{ | |
"access": 7, | |
"endpoint": "l7", | |
"label": "Bind command", | |
"name": "bind_command", | |
"property": "bind_command_l7", | |
"type": "enum", | |
"values": [ | |
"on/off", | |
"toggle", | |
"change level up", | |
"change level down", | |
"change level up with off", | |
"change level down with off", | |
"recall scene 0", | |
"recall scene 1", | |
"recall scene 2", | |
"recall scene 3", | |
"recall scene 4", | |
"recall scene 5" | |
] | |
}, | |
{ | |
"access": 1, | |
"category": "diagnostic", | |
"description": "Voltage of the battery in millivolts", | |
"label": "Voltage", | |
"name": "voltage", | |
"property": "voltage", | |
"type": "numeric", | |
"unit": "mV" | |
}, | |
{ | |
"access": 1, | |
"category": "diagnostic", | |
"description": "Link quality (signal strength)", | |
"label": "Linkquality", | |
"name": "linkquality", | |
"property": "linkquality", | |
"type": "numeric", | |
"unit": "lqi", | |
"value_max": 255, | |
"value_min": 0 | |
} | |
], | |
"icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICA...truncated", | |
"model": "ZB-SWITCH", | |
"options": [], | |
"supports_ota": false, | |
"vendor": "Custom devices (DiY)" | |
}, | |
"disabled": false, | |
"endpoints": { | |
"1": { | |
"bindings": [], | |
"clusters": { | |
"input": [ | |
"genBasic", | |
"genPowerCfg" | |
], | |
"output": [ | |
"genBasic", | |
"genPowerCfg" | |
] | |
}, | |
"configured_reportings": [], | |
"scenes": [] | |
}, | |
"2": { | |
"bindings": [], | |
"clusters": { | |
"input": [ | |
"genOnOffSwitchCfg" | |
], | |
"output": [ | |
"genMultistateInput" | |
] | |
}, | |
"configured_reportings": [], | |
"scenes": [] | |
}, | |
"3": { | |
"bindings": [], | |
"clusters": { | |
"input": [ | |
"genOnOffSwitchCfg" | |
], | |
"output": [ | |
"genMultistateInput" | |
] | |
}, | |
"configured_reportings": [], | |
"scenes": [] | |
}, | |
"4": { | |
"bindings": [], | |
"clusters": { | |
"input": [ | |
"genOnOffSwitchCfg" | |
], | |
"output": [ | |
"genMultistateInput" | |
] | |
}, | |
"configured_reportings": [], | |
"scenes": [] | |
}, | |
"5": { | |
"bindings": [], | |
"clusters": { | |
"input": [ | |
"genOnOffSwitchCfg" | |
], | |
"output": [ | |
"genMultistateInput" | |
] | |
}, | |
"configured_reportings": [], | |
"scenes": [] | |
}, | |
"6": { | |
"bindings": [], | |
"clusters": { | |
"input": [ | |
"genOnOffSwitchCfg" | |
], | |
"output": [ | |
"genMultistateInput" | |
] | |
}, | |
"configured_reportings": [], | |
"scenes": [] | |
}, | |
"7": { | |
"bindings": [], | |
"clusters": { | |
"input": [ | |
"genOnOffSwitchCfg" | |
], | |
"output": [ | |
"genMultistateInput" | |
] | |
}, | |
"configured_reportings": [], | |
"scenes": [] | |
} | |
}, | |
"friendly_name": "bedroom_switch", | |
"ieee_address": "0x0013200000000000", | |
"interview_completed": true, | |
"interviewing": false, | |
"manufacturer": "ptvo.info", | |
"model_id": "ZB-SWITCH", | |
"network_address": 56000, | |
"power_source": "Battery", | |
"software_build_id": "2023-02-07", | |
"supported": true, | |
"type": "EndDevice" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment