[ { "id": "vz_start", "type": "inject", "z": "flow1", "name": "Generate MQTT Discovery", "props": [], "repeat": "", "crontab": "", "once": true, "onceDelay": "3", "topic": "", "x": 200, "y": 140, "wires": [["vz_prepare"]] }, { "id": "vz_prepare", "type": "function", "z": "flow1", "name": "Build Discovery Messages", "func": "", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 460, "y": 140, "wires": [["vz_mqtt"]] }, { "id": "vz_mqtt", "type": "mqtt out", "z": "flow1", "name": "MQTT Discovery Out", "topic": "", "qos": "1", "retain": "true", "broker": "mqtt_broker", "x": 770, "y": 140, "wires": [] }, { "id": "mqtt_broker", "type": "mqtt-broker", "name": "HA MQTT", "broker": "localhost", "port": "1883", "clientid": "", "usetls": false, "compatmode": false, "keepalive": "60", "cleansession": true, "birthTopic": "", "birthQos": "0", "birthRetain": "false", "birthPayload": "", "closeTopic": "", "closeQos": "0", "closeRetain": "false", "closePayload": "", "willTopic": "", "willQos": "0", "willRetain": "false", "willPayload": "" } ]