<commit_before>/*
 *  NOTE: prefer iotdb versions
 *
 *  This will:
 */

"use strict";

var Bridge = require('../KNXBridge').Bridge;

var exemplar = new Bridge({
    host: '192.168.80.101',
    ip: '3671',
    tunnel: "udp://0.0.0.0:13671",
});
exemplar.discovered = function (bridge) {
    console.log("+", "got one", bridge.meta());
    bridge.pulled = function (state) {
        console.log("+", "state-change", state);
    };
    bridge.connect({});
    bridge.push({
        off: true,
    });
};
exemplar.discover();<commit_msg>push will be differen<commit_after>/*
 *  NOTE: prefer iotdb versions
 *
 *  This will:
 */

"use strict";

var Bridge = require('../KNXBridge').Bridge;

var exemplar = new Bridge({
    host: '192.168.80.101',
    ip: '3671',
    tunnel: "udp://0.0.0.0:13671",
});
exemplar.discovered = function (bridge) {
    console.log("+", "got one", bridge.meta());
    bridge.pulled = function (state) {
        console.log("+", "state-change", state);
    };
    bridge.connect({});
    bridge.push({
        // off: true,
    });
};
exemplar.discover();
{'fraction_non_alphanumeric': 0.20759962928637626, 'fraction_numerical': 0.04448563484708063, 'mean_word_length': 2.8434163701067616, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4862118', 'n_tokens_mistral': 418, 'n_tokens_neox': 389, 'n_words': 82}