OpenZWave / qt-openzwave

QT5 Wrapper for OpenZWave
GNU Lesser General Public License v3.0
105 stars 30 forks source link

Node metadata is not published to MQTT after interview #116

Closed kpine closed 2 years ago

kpine commented 4 years ago

I stopped ozwd, deleted the nodes' <Node></Node> cache data, then restarted ozwd to re-interview the device. After the interview was completed, the metadata is not published. If I examine the cache file it contains all the data. OZW Admin also displays the metadata (product image, links to manual and db page). Only after an ozwd restart is the data is published.

Here was the last mqtt message published for topic OpenZWave/2/node/15/ after the interview. Notice all of the MetaData is empty.

{
    "NodeID": 15,
    "NodeQueryStage": "Complete",
    "isListening": true,
    "isFlirs": false,
    "isBeaming": true,
    "isRouting": true,
    "isSecurityv1": false,
    "isZWavePlus": true,
    "isNIFRecieved": true,
    "isAwake": true,
    "isFailed": false,
    "MetaData": {
        "OZWInfoURL": "",
        "ZWAProductURL": "",
        "ProductPic": "",
        "Description": "",
        "ProductManualURL": "",
        "ProductPageURL": "",
        "InclusionHelp": "",
        "ExclusionHelp": "",
        "ResetHelp": "",
        "WakeupHelp": "",
        "ProductSupportURL": "",
        "Frequency": "",
        "Name": "",
        "ProductPicBase64": ""
    },
    "Event": "nodeQueriesComplete",
    "TimeStamp": 1593187874,
    "NodeManufacturerName": "GE (Jasco Products)",
    "NodeProductName": "14294 In-Wall Smart Dimmer",
    "NodeBasicString": "Routing Slave",
    "NodeBasic": 4,
    "NodeGenericString": "Multilevel Switch",
    "NodeGeneric": 17,
    "NodeSpecificString": "Multilevel Power Switch",
    "NodeSpecific": 1,
    "NodeManufacturerID": "0x0063",
    "NodeProductType": "0x4944",
    "NodeProductID": "0x3038",
    "NodeBaudRate": 100000,
    "NodeVersion": 4,
    "NodeName": "",
    "NodeLocation": "",
    "NodeGroups": 3,
    "NodeDeviceTypeString": "Light Dimmer Switch",
    "NodeDeviceType": 1536,
    "NodeRole": 5,
    "NodeRoleString": "Always On Slave",
    "NodePlusType": 0,
    "NodePlusTypeString": "Z-Wave+ node",
    "Neighbors": [
        20
    ],
    "Neighbors": [
        20
    ]
}

Attached are the cache file and mqtt_dump.txt from HA.