qt-openzwave icon indicating copy to clipboard operation
qt-openzwave copied to clipboard

OZW Instance Status property names

Open balloob opened this issue 4 years ago • 0 comments

Currently the OZW Instance status looks like this:

{
  "OpenZWave_Version": "1.6.1025",
  "OZWDeamon_Version": "0.1",
  "QTOpenZWave_Version": "1.0.0",
  "QT_Version": "5.12.5",
  "Status": "driverAllNodesQueried",
  "TimeStamp": 1581020710,
  "ManufacturerSpecificDBReady": true,
  "homeID": 3336491847,
  "getControllerNodeId": 1,
  "getSUCNodeId": 1,
  "isPrimaryController": true,
  "isBridgeController": false,
  "hasExtendedTXStatistics": false,
  "getControllerLibraryVersion": "Z-Wave 3.95",
  "getControllerLibraryType": "Static Controller",
  "getControllerPath": "/dev/ttyACM1"
}

getControllerPath seems like a weird property name. Should that be controllerPath ?

Also, we are mixing up camel and snake casing here for the version properties. Should they be OpenZWaveVersion instead of OpenZWave_Version ? I guess it was chosen because of QTVersion

balloob avatar Feb 10 '20 18:02 balloob