Skip to content

Instantly share code, notes, and snippets.

@GuillaumeNachury
Created February 3, 2016 08:54
Show Gist options
  • Save GuillaumeNachury/5cb4412b7a02510a0571 to your computer and use it in GitHub Desktop.
Save GuillaumeNachury/5cb4412b7a02510a0571 to your computer and use it in GitHub Desktop.
FIBARO - FGS212 Switch 3kW
{
"manufacturer": "FIBARO System",
"manufacturerid": "0x010f",
"product": "FGS212 Switch 3kW",
"producttype": "0x0402",
"productid": "0x1002",
"type": "Binary Power Switch",
"name": "",
"loc": "",
-"classes": {
-"37": {
-"0": {
"value_id": "2-37-3-0",
"node_id": 2,
"class_id": 37,
"type": "bool",
"genre": "user",
"instance": 3,
"index": 0,
"label": "Switch",
"units": "",
"help": "",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
"value": false
}
},
-"39": {
-"0": {
"value_id": "2-39-1-0",
"node_id": 2,
"class_id": 39,
"type": "list",
"genre": "system",
"instance": 1,
"index": 0,
"label": "Switch All",
"units": "",
"help": "",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
-"values": [
"Disabled",
"Off Enabled",
"On Enabled",
"On and Off Enabled"
],
"value": "On and Off Enabled"
}
},
-"112": {
-"1": {
"value_id": "2-112-1-1",
"node_id": 2,
"class_id": 112,
"type": "list",
"genre": "config",
"instance": 1,
"index": 1,
"label": "Enable/Disable ALL ON/OFF",
"units": "",
"help": "Activate/Deactive ALL ON/OFF",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
-"values": [
"ALL ON disabled/ ALL OFF disabled",
"ALL ON disabled/ ALL OFF active",
"ALL ON active / ALL OFF disabled",
"ALL ON active / ALL OFF active"
],
"value": "ALL ON active / ALL OFF active"
},
-"3": {
"value_id": "2-112-1-3",
"node_id": 2,
"class_id": 112,
"type": "list",
"genre": "config",
"instance": 1,
"index": 3,
"label": "Auto off relay after specified time",
"units": "",
"help": "Auto off relay after specified time, with the possibility of manual override - immediate Off after button push. Default value: 0 Manual override disabled",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
-"values": [
"Manual override disabled",
"Manual override enabled"
],
"value": "Manual override disabled"
},
-"4": {
"value_id": "2-112-1-4",
"node_id": 2,
"class_id": 112,
"type": "short",
"genre": "config",
"instance": 1,
"index": 4,
"label": "Auto off",
"units": "",
"help": "Time period for auto off, in miliseconds (0,1 s – 6553,5 s) 0 - Auto off disabled Default value: 0",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 65535,
"value": 0
},
-"6": {
"value_id": "2-112-1-6",
"node_id": 2,
"class_id": 112,
"type": "list",
"genre": "config",
"instance": 1,
"index": 6,
"label": "Separation of association sending (key 1)",
"units": "",
"help": "Activate/Deactivate association sending for group 1 - Also see param #15",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
-"values": [
"Map status to all devices in group 1 (default)",
"Map OFF status to all devices in group 1, Double click on key 1 will send ON to all devices in group 1, all dimmers set to prev.value",
"Map OFF status to all devices in group 1, Double click on key 1 will send ON to all devices in group 1, all dimmers set to 100%"
],
"value": "Map status to all devices in group 1 (default)"
},
-"13": {
"value_id": "2-112-1-13",
"node_id": 2,
"class_id": 112,
"type": "list",
"genre": "config",
"instance": 1,
"index": 13,
"label": "Inputs behaviour",
"units": "",
"help": "In case of bi-stable switches, define their behaviour (toggle or follow)",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
-"values": [
"Toggle",
"Follow switch contact (closed=ON, open=OFF)"
],
"value": "Toggle"
},
-"14": {
"value_id": "2-112-1-14",
"node_id": 2,
"class_id": 112,
"type": "list",
"genre": "config",
"instance": 1,
"index": 14,
"label": "Inputs Button/Switch configuration",
"units": "",
"help": "Binary inputs type configuration",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
-"values": [
"Mono-stable input (button)",
"Bi-stable input (switch)"
],
"value": "Bi-stable input (switch)"
},
-"15": {
"value_id": "2-112-1-15",
"node_id": 2,
"class_id": 112,
"type": "list",
"genre": "config",
"instance": 1,
"index": 15,
"label": "Dimmer/Roller shutter control",
"units": "",
"help": "Enable/Disable opoeration of dimmer or roller shutter devices associated to group 1. Available only when using mono-stable inputs (buttons) - Hold button 1 or double-tap for operation",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
-"values": [
"Disable Dimmer/Roller shutter control",
"Enable Dimmer/Roller shutter control"
],
"value": "Disable Dimmer/Roller shutter control"
},
-"16": {
"value_id": "2-112-1-16",
"node_id": 2,
"class_id": 112,
"type": "list",
"genre": "config",
"instance": 1,
"index": 16,
"label": "Saving state before power faillure",
"units": "",
"help": "Saving state before power faillure",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
-"values": [
"State NOT saved at power failure, all outputs are set to OFF upon power restore",
"State saved at power failure, all outputs are set to previous state upon power restore"
],
"value": "State saved at power failure, all outputs are set to previous state upon power restore"
},
-"30": {
"value_id": "2-112-1-30",
"node_id": 2,
"class_id": 112,
"type": "list",
"genre": "config",
"instance": 1,
"index": 30,
"label": "Relay: Response to General Alarm",
"units": "",
"help": "",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
-"values": [
"DEACTIVATION - no response to alarm frames",
"ALARM RELAY ON - relay will turn ON upon receipt of alarm frame",
"ALARM RELAY OFF - relay will turn OFF upon receipt of alarm frame",
"ALARM FLASHING - relay will turn ON and OFF periodically (see param.39)"
],
"value": "ALARM FLASHING - relay will turn ON and OFF periodically (see param.39)"
},
-"31": {
"value_id": "2-112-1-31",
"node_id": 2,
"class_id": 112,
"type": "list",
"genre": "config",
"instance": 1,
"index": 31,
"label": "Relay: Response to Water Flood Alarm",
"units": "",
"help": "",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
-"values": [
"DEACTIVATION - no response to alarm frames",
"ALARM RELAY ON - relay will turn ON upon receipt of alarm frame",
"ALARM RELAY OFF - relay will turn OFF upon receipt of alarm frame",
"ALARM FLASHING - relay will turn ON and OFF periodically (see param.39)"
],
"value": "ALARM RELAY OFF - relay will turn OFF upon receipt of alarm frame"
},
-"32": {
"value_id": "2-112-1-32",
"node_id": 2,
"class_id": 112,
"type": "list",
"genre": "config",
"instance": 1,
"index": 32,
"label": "Relay: Response to Smoke, CO, CO2 Alarm",
"units": "",
"help": "",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
-"values": [
"DEACTIVATION - no response to alarm frames",
"ALARM RELAY ON - relay will turn ON upon receipt of alarm frame",
"ALARM RELAY OFF - relay will turn OFF upon receipt of alarm frame",
"ALARM FLASHING - relay will turn ON and OFF periodically (see param.39)"
],
"value": "ALARM FLASHING - relay will turn ON and OFF periodically (see param.39)"
},
-"33": {
"value_id": "2-112-1-33",
"node_id": 2,
"class_id": 112,
"type": "list",
"genre": "config",
"instance": 1,
"index": 33,
"label": "Relay: Response to Temperature Alarm",
"units": "",
"help": "",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
-"values": [
"DEACTIVATION - no response to alarm frames",
"ALARM RELAY ON - relay will turn ON upon receipt of alarm frame",
"ALARM RELAY OFF - relay will turn OFF upon receipt of alarm frame",
"ALARM FLASHING - relay will turn ON and OFF periodically (see param.39)"
],
"value": "ALARM RELAY ON - relay will turn ON upon receipt of alarm frame"
},
-"39": {
"value_id": "2-112-1-39",
"node_id": 2,
"class_id": 112,
"type": "short",
"genre": "config",
"instance": 1,
"index": 39,
"label": "Active flashing alarm time",
"units": "",
"help": "Amount of time (ms) the device keeps on flashing after receipt of Alarm Frame",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 1,
"max": 20000,
"value": 600
}
},
-"115": {
-"0": {
"value_id": "2-115-1-0",
"node_id": 2,
"class_id": 115,
"type": "list",
"genre": "system",
"instance": 1,
"index": 0,
"label": "Powerlevel",
"units": "dB",
"help": "",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
-"values": [
"Normal",
"-1dB",
"-2dB",
"-3dB",
"-4dB",
"-5dB",
"-6dB",
"-7dB",
"-8dB",
"-9dB"
],
"value": "Normal"
},
-"1": {
"value_id": "2-115-1-1",
"node_id": 2,
"class_id": 115,
"type": "byte",
"genre": "system",
"instance": 1,
"index": 1,
"label": "Timeout",
"units": "seconds",
"help": "",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 255,
"value": 0
},
-"2": {
"value_id": "2-115-1-2",
"node_id": 2,
"class_id": 115,
"type": "button",
"genre": "system",
"instance": 1,
"index": 2,
"label": "Set Powerlevel",
"units": "",
"help": "",
"read_only": false,
"write_only": true,
"is_polled": false,
"min": 0,
"max": 0
},
-"3": {
"value_id": "2-115-1-3",
"node_id": 2,
"class_id": 115,
"type": "byte",
"genre": "system",
"instance": 1,
"index": 3,
"label": "Test Node",
"units": "",
"help": "",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 255,
"value": 0
},
-"4": {
"value_id": "2-115-1-4",
"node_id": 2,
"class_id": 115,
"type": "list",
"genre": "system",
"instance": 1,
"index": 4,
"label": "Test Powerlevel",
"units": "dB",
"help": "",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
-"values": [
"Normal",
"-1dB",
"-2dB",
"-3dB",
"-4dB",
"-5dB",
"-6dB",
"-7dB",
"-8dB",
"-9dB"
],
"value": "Normal"
},
-"5": {
"value_id": "2-115-1-5",
"node_id": 2,
"class_id": 115,
"type": "short",
"genre": "system",
"instance": 1,
"index": 5,
"label": "Frame Count",
"units": "",
"help": "",
"read_only": false,
"write_only": false,
"is_polled": false,
"min": -32768,
"max": 32767,
"value": 0
},
-"6": {
"value_id": "2-115-1-6",
"node_id": 2,
"class_id": 115,
"type": "button",
"genre": "system",
"instance": 1,
"index": 6,
"label": "Test",
"units": "",
"help": "",
"read_only": false,
"write_only": true,
"is_polled": false,
"min": 0,
"max": 0
},
-"7": {
"value_id": "2-115-1-7",
"node_id": 2,
"class_id": 115,
"type": "button",
"genre": "system",
"instance": 1,
"index": 7,
"label": "Report",
"units": "",
"help": "",
"read_only": false,
"write_only": true,
"is_polled": false,
"min": 0,
"max": 0
},
-"8": {
"value_id": "2-115-1-8",
"node_id": 2,
"class_id": 115,
"type": "list",
"genre": "system",
"instance": 1,
"index": 8,
"label": "Test Status",
"units": "",
"help": "",
"read_only": true,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
-"values": [
"Failed",
"Success",
"In Progress"
],
"value": "Failed"
},
-"9": {
"value_id": "2-115-1-9",
"node_id": 2,
"class_id": 115,
"type": "short",
"genre": "system",
"instance": 1,
"index": 9,
"label": "Acked Frames",
"units": "",
"help": "",
"read_only": true,
"write_only": false,
"is_polled": false,
"min": -32768,
"max": 32767,
"value": 0
}
},
-"134": {
-"0": {
"value_id": "2-134-1-0",
"node_id": 2,
"class_id": 134,
"type": "string",
"genre": "system",
"instance": 1,
"index": 0,
"label": "Library Version",
"units": "",
"help": "",
"read_only": true,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
"value": "3"
},
-"1": {
"value_id": "2-134-1-1",
"node_id": 2,
"class_id": 134,
"type": "string",
"genre": "system",
"instance": 1,
"index": 1,
"label": "Protocol Version",
"units": "",
"help": "",
"read_only": true,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
"value": "3.52"
},
-"2": {
"value_id": "2-134-1-2",
"node_id": 2,
"class_id": 134,
"type": "string",
"genre": "system",
"instance": 1,
"index": 2,
"label": "Application Version",
"units": "",
"help": "",
"read_only": true,
"write_only": false,
"is_polled": false,
"min": 0,
"max": 0,
"value": "2.02"
}
}
},
"ready": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment