diff --git a/.gitignore b/.gitignore index 58084a4..bc7be19 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ # Compiled Executables jsmin +a.out # node node_modules diff --git a/Extras/config.json b/Extras/config.json index ae233c8..675ed77 100644 --- a/Extras/config.json +++ b/Extras/config.json @@ -676,18 +676,6 @@ "relayState": 0, "stateChangeResponseTime": 10 }, - { - "type": "TimeInformation", - "displayName": "MyTimeInformation", - "currentTime": "11:15", - "dayoftheWeek": 1, - "timeUpdate": "TRUE", - "name": "MyTimeInformation", - "manufacturer": "Somebody", - "model": "Anything", - "serialNumber": "12345", - "stateChangeResponseTime": 3 - }, { "type": "Valve", "displayName": "MyValve", diff --git a/docs/autoGenerated/CMD4_AccessoryDescriptions.html b/docs/autoGenerated/CMD4_AccessoryDescriptions.html index c98315f..3847d3b 100644 --- a/docs/autoGenerated/CMD4_AccessoryDescriptions.html +++ b/docs/autoGenerated/CMD4_AccessoryDescriptions.html @@ -260,9 +260,6 @@ AudioStreamManagement Battery BatteryService - BridgeConfiguration - BridgingState - CameraControl CameraEventRecordingManagement CameraOperatingMode CameraRTPStreamManagement @@ -320,7 +317,6 @@ TemperatureSensor Thermostat ThreadTransport - TimeInformation TransferTransportManagement TunneledBTLEAccessoryService Valve @@ -362,15 +358,12 @@ carbonMonoxideDetected carbonMonoxideLevel carbonMonoxidePeakLevel - category characteristicValueActiveTransitionCount characteristicValueTransitionControl chargingState closedCaptions colorTemperature configurationState - configureBridgedAccessory - configureBridgedAccessoryStatus configuredName contactSensorState coolingThresholdTemperature @@ -389,17 +382,13 @@ currentSlatState currentTemperature currentTiltAngle - currentTime currentTransport currentVerticalTiltAngle currentVisibilityState dataStreamHAPTransport dataStreamHAPTransportInterrupt - dayoftheWeek diagonalFieldOfView digitalZoom - discoverBridgedAccessories - discoveredBridgedAccessories displayOrder eventRetransmissionMaximum eventSnapshotsActive @@ -425,7 +414,6 @@ inputSourceType isConfigured leakDetected - linkQuality listPairings lockControlPoint lockCurrentState @@ -476,7 +464,6 @@ programMode programmableSwitchEvent programmableSwitchOutputState - reachable receivedSignalStrengthIndication receiverSensitivity recordingAudioActive @@ -545,7 +532,6 @@ swingMode tapType targetAirPurifierState - targetAirQuality targetControlList targetControlSupportedConfiguration targetDoorState @@ -557,7 +543,6 @@ targetMediaState targetPosition targetRelativeHumidity - targetSlatState targetTemperature targetTiltAngle targetVerticalTiltAngle @@ -568,7 +553,6 @@ threadNodeCapabilities threadOpenThreadVersion threadStatus - timeUpdate token transmitPower tunnelConnectionTimeout @@ -885,82 +869,6 @@

Example config.json entry

See additional CMD4 Accessory Directives -
- -

BridgeConfiguration

-

UUID:000000A1-0000-1000-8000-0026BB765291

-

Required Characteristics

- - - -
Default Value Constant
0 n/a
-

Optional Characteristics

- -

Default Polling Characteristics

- Default polling characteristics are characteristics that would automatically be polled if Accessory Polling is configured ( polling:true ) instead of characteristic polling where each characteristic is set individually. - -

Example config.json entry

-
-         {
-            type: BridgeConfiguration,
-            name: "MY_BridgeConfiguration",
-            displayName: "MY_BridgeConfiguration",
-            configureBridgedAccessoryStatus: "0",
-            discoverBridgedAccessories: < UINT8 >,
-            discoveredBridgedAccessories: < UINT16 >,
-            state_cmd: < "STRING" >,
-            polling: < POLLING>
-
-         }
-         
- See additional CMD4 Accessory Directives -
-
- -

BridgingState

-

UUID:00000062-0000-1000-8000-0026BB765291

-

Required Characteristics

- - - - - - -
Default Value Constant
1 TRUE
1 n/a
id999 n/a
16 n/a
-

Optional Characteristics

- -

Default Polling Characteristics

- Default polling characteristics are characteristics that would automatically be polled if Accessory Polling is configured ( polling:true ) instead of characteristic polling where each characteristic is set individually. - -

Example config.json entry

-
-         {
-            type: BridgingState,
-            name: "MY_BridgingState",
-            displayName: "MY_BridgingState",
-            reachable: "1",
-            linkQuality: "1",
-            accessoryIdentifier: "id999",
-            category: "16",
-            name: "< STRING> ",
-            state_cmd: < "STRING" >,
-            polling: < POLLING>
-
-         }
-         
- See additional CMD4 Accessory Directives -

CameraEventRecordingManagement

@@ -1002,57 +910,6 @@

Example config.json entry

See additional CMD4 Accessory Directives
-
- -

CameraControl

-

UUID:00000111-0000-1000-8000-0026BB765291

-

Required Characteristics

- - - -
Default Value Constant
1 TRUE
-

Optional Characteristics

- -

Default Polling Characteristics

- Default polling characteristics are characteristics that would automatically be polled if Accessory Polling is configured ( polling:true ) instead of characteristic polling where each characteristic is set individually. - -

Example config.json entry

-
-         {
-            type: CameraControl,
-            name: "MY_CameraControl",
-            displayName: "MY_CameraControl",
-            on: "1",
-            currentHorizontalTiltAngle: < INT >,
-            currentVerticalTiltAngle: < INT >,
-            targetHorizontalTiltAngle: < INT >,
-            targetVerticalTiltAngle: < INT >,
-            nightVision: < BOOLEAN >,
-            Unknown format float,
-            Unknown format float,
-            imageRotation: < INT >,
-            imageMirroring: < BOOLEAN >,
-            name: "< STRING> ",
-            state_cmd: < "STRING" >,
-            polling: < POLLING>
-
-         }
-         
- See additional CMD4 Accessory Directives -

CameraRTPStreamManagement

@@ -2923,43 +2780,6 @@

Example config.json entry

See additional CMD4 Accessory Directives
-
- -

TimeInformation

-

UUID:00000099-0000-1000-8000-0026BB765291

-

Required Characteristics

- - - - - -
Default Value Constant
11:15 n/a
1 n/a
0 FALSE
-

Optional Characteristics

- -

Default Polling Characteristics

- Default polling characteristics are characteristics that would automatically be polled if Accessory Polling is configured ( polling:true ) instead of characteristic polling where each characteristic is set individually. - -

Example config.json entry

-
-         {
-            type: TimeInformation,
-            name: "MY_TimeInformation",
-            displayName: "MY_TimeInformation",
-            currentTime: "11:15",
-            dayoftheWeek: "1",
-            timeUpdate: "0",
-            name: "< STRING> ",
-            state_cmd: < "STRING" >,
-            polling: < POLLING>
-
-         }
-         
- See additional CMD4 Accessory Directives -

TransferTransportManagement

@@ -4043,19 +3863,6 @@

Properties

Perms: Paired Read, Events
-
- -

category

-

Properties

- - - - - - - -
Type: category
UUID: 000000A3-0000-1000-8000-0026BB765291
Format: uint16
Min Value: 1
Max Value: 16
Perms: Paired Read, Events
-

characteristicValueTransitionControl

@@ -4120,28 +3927,6 @@

Properties

Perms: Paired Read, Paired Write, Events
-
- -

configureBridgedAccessory

-

Properties

- - - - - -
Type: configureBridgedAccessory
UUID: 000000A0-0000-1000-8000-0026BB765291
Format: tlv8
Perms: Paired Write
-
-
- -

configureBridgedAccessoryStatus

-

Properties

- - - - - -
Type: configureBridgedAccessoryStatus
UUID: 0000009D-0000-1000-8000-0026BB765291
Format: tlv8
Perms: Paired Read, Events
-

configuredName

@@ -4441,17 +4226,6 @@

Properties

Perms: Paired Read, Events
-
- -

currentTime

-

Properties

- - - - - -
Type: currentTime
UUID: 0000009B-0000-1000-8000-0026BB765291
Format: string
Perms: Paired Read, Paired Write
-

currentTransport

@@ -4525,19 +4299,6 @@

Properties

Perms: Paired Read, Events
-
- -

dayoftheWeek

-

Properties

- - - - - - - -
Type: dayoftheWeek
UUID: 00000098-0000-1000-8000-0026BB765291
Format: uint8
Min Value: 1
Max Value: 7
Perms: Paired Read, Paired Write
-

diagonalFieldOfView

@@ -4563,28 +4324,6 @@

Properties

Perms: Paired Read, Paired Write, Events
-
- -

discoverBridgedAccessories

-

Properties

- - - - - -
Type: discoverBridgedAccessories
UUID: 0000009E-0000-1000-8000-0026BB765291
Format: uint8
Perms: Paired Read, Paired Write, Events
-
-
- -

discoveredBridgedAccessories

-

Properties

- - - - - -
Type: discoveredBridgedAccessories
UUID: 0000009F-0000-1000-8000-0026BB765291
Format: uint16
Perms: Paired Read, Events
-

displayOrder

@@ -4932,19 +4671,6 @@

Constants

1 "LEAK_DETECTED"
-
- -

linkQuality

-

Properties

- - - - - - - -
Type: linkQuality
UUID: 0000009C-0000-1000-8000-0026BB765291
Format: uint8
Min Value: 1
Max Value: 4
Perms: Paired Read, Events
-

listPairings

@@ -5614,23 +5340,6 @@

Properties

Perms: Paired Read, Paired Write, Events
-
- -

reachable

-

Properties

- - - - - -
Type: reachable
UUID: 00000063-0000-1000-8000-0026BB765291
Format: bool
Perms: Paired Read, Paired Write
-

Constants

- - - - -
Value String
0 "FALSE"
1 "TRUE"
-

receivedSignalStrengthIndication

@@ -6710,23 +6419,6 @@

Constants

1 "ON"
-
- -

timeUpdate

-

Properties

- - - - - -
Type: timeUpdate
UUID: 0000009A-0000-1000-8000-0026BB765291
Format: bool
Perms: Paired Read, Paired Write
-

Constants

- - - - -
Value String
0 "FALSE"
1 "TRUE"
-

transmitPower

diff --git a/tools/Cmd4AccDocGenerator b/tools/Cmd4AccDocGenerator index 792d77c..b828730 100755 --- a/tools/Cmd4AccDocGenerator +++ b/tools/Cmd4AccDocGenerator @@ -724,6 +724,9 @@ function addSideNavDevicesLinks_WithinSideNav( ) for ( let index=0; index < CMD4_DEVICE_TYPE_ENUM.EOL; index ++) { + if ( CMD4_Sorted_DEV.properties[ index ].deprecated == true) + continue; + // We just need the index to look sorted let deviceName = CMD4_Sorted_DEV.properties[ index ].deviceName; @@ -748,6 +751,9 @@ function addSideNavCharacteristicsLinks_WithinSideNav( ) // We just need the index to look sorted for ( let index=0; index < CMD4_ACC_TYPE_ENUM.EOL; index ++) { + if ( CMD4_Sorted_ACC.properties[ index ].deprecated == true) + continue; + // Lower case characteristic let characteristic = CMD4_Sorted_ACC.properties[ index ].sche; @@ -851,6 +857,9 @@ function addDevicePages_WithinMain( ) for ( let index=0; index < CMD4_DEVICE_TYPE_ENUM.EOL; index ++) { + if ( CMD4_DEVICE_TYPE_ENUM.properties[ index ].deprecated == true) + continue; + let deviceName = CMD4_DEVICE_TYPE_ENUM.properties[ index ].deviceName; addSingleDeviceContent( index, deviceName );