publishBonjourService(name, type) {
        const txtRecords = {
            id: Tools.GET_HUMAN_READABLE_SYSTEM_ID(),
            model: this.robot.getModelName(),
            manufacturer: this.robot.getManufacturer(),
            version: Tools.GET_VALETUDO_VERSION(),
        };

        if (this.valetudoHelper.hasFriendlyName()) {
            txtRecords["name"] = this.valetudoHelper.getFriendlyName();
        }

        const service = this.bonjourServer.publish({
            name: name,
            type: type,
            host: Tools.GET_ZEROCONF_HOSTNAME(),
            port: this.webserverPort,
            probe: false,
            txt: txtRecords
        });


        service.on("up", () => {
            Logger.info("Bonjour service \"" + name + "\" with type \"" + type + "\" started");
        });

        service.on("error", (err) => {
            Logger.warn("Error while starting Bonjour service \"" + name + "\" with type \"" + type + "\"", err);
        });

        service.start();
    }
@private
@param {string} name
@param {string} type