|
703 | 703 | "defaultValue": false |
704 | 704 | } |
705 | 705 | ] |
| 706 | + }, |
| 707 | + { |
| 708 | + "id": "82a859f0-41ed-4a53-93b0-260a1435ac75", |
| 709 | + "name": "closableSensor", |
| 710 | + "displayName": "Door/window sensor", |
| 711 | + "createMethods": ["auto"], |
| 712 | + "interfaces": ["closablesensor", "battery", "wirelessconnectable"], |
| 713 | + "paramTypes": [ |
| 714 | + { |
| 715 | + "id": "06a60993-2ce7-484d-9ffd-13020be8fa78", |
| 716 | + "name": "ieeeAddress", |
| 717 | + "displayName": "IEEE adress", |
| 718 | + "type": "QString", |
| 719 | + "defaultValue": "00:00:00:00:00:00:00:00" |
| 720 | + }, |
| 721 | + { |
| 722 | + "id": "7850cdee-7d65-48f9-a08a-4cabe9c20594", |
| 723 | + "name": "networkUuid", |
| 724 | + "displayName": "Zigbee network UUID", |
| 725 | + "type": "QString", |
| 726 | + "defaultValue": "" |
| 727 | + } |
| 728 | + ], |
| 729 | + "stateTypes": [ |
| 730 | + { |
| 731 | + "id": "6d4523c2-66f1-4fbf-b0d9-bd11a1920b50", |
| 732 | + "name": "closed", |
| 733 | + "displayName": "Closed", |
| 734 | + "displayNameEvent": "Opened or closed", |
| 735 | + "type": "bool", |
| 736 | + "defaultValue": false |
| 737 | + }, |
| 738 | + { |
| 739 | + "id": "948bc2da-23fb-44fd-a74c-c917bf657bf0", |
| 740 | + "name": "tampered", |
| 741 | + "displayName": "Tampered", |
| 742 | + "displayNameEvent": "Tampered", |
| 743 | + "type": "bool", |
| 744 | + "defaultValue": false |
| 745 | + }, |
| 746 | + { |
| 747 | + "id": "34a8f7f1-19f8-47be-a1b2-4d7ea52fee1e", |
| 748 | + "name": "batteryLevel", |
| 749 | + "displayName": "Battery level", |
| 750 | + "displayNameEvent": "Battery level changed", |
| 751 | + "type": "int", |
| 752 | + "minValue": 0, |
| 753 | + "maxValue": 100, |
| 754 | + "unit": "Percentage", |
| 755 | + "defaultValue": 50 |
| 756 | + }, |
| 757 | + { |
| 758 | + "id": "455e1ebc-5534-4053-8db3-c0b6b79f8c41", |
| 759 | + "name": "batteryCritical", |
| 760 | + "displayName": "Battery critical", |
| 761 | + "displayNameEvent": "Battery critical changed", |
| 762 | + "type": "bool", |
| 763 | + "defaultValue": false |
| 764 | + }, |
| 765 | + { |
| 766 | + "id": "10d8aa94-943e-40f6-a10e-0ac77bcdecd3", |
| 767 | + "name": "connected", |
| 768 | + "displayName": "Connected", |
| 769 | + "displayNameEvent": "Connected or disconnected", |
| 770 | + "type": "bool", |
| 771 | + "defaultValue": false, |
| 772 | + "cached": false |
| 773 | + }, |
| 774 | + { |
| 775 | + "id": "4ef57e47-2b83-4d41-8cfb-21bf2f5ee62d", |
| 776 | + "name": "signalStrength", |
| 777 | + "displayName": "Signal strength", |
| 778 | + "displayNameEvent": "Signal strength changed", |
| 779 | + "type": "uint", |
| 780 | + "minValue": 0, |
| 781 | + "maxValue": 100, |
| 782 | + "unit": "Percentage", |
| 783 | + "defaultValue": 0 |
| 784 | + } |
| 785 | + ] |
706 | 786 | } |
707 | 787 | ] |
708 | 788 | } |
|
0 commit comments