<commit_before>var mqtt = require('mqtt');
var LightMeterWidget = require('lightmeter').Widget;

var lightTopic = 'ciot/lightmeter/value';

var lightMeter = new LightMeterWidget();

var client  = mqtt.connect({
  host: 'test.mosquitto.org',
  port: '8080' // WebSocket port<commit_msg>Specify WS protocol to MQTT client<commit_after>var mqtt = require('mqtt');
var LightMeterWidget = require('lightmeter').Widget;

var lightTopic = 'ciot/lightmeter/value';

var lightMeter = new LightMeterWidget();

var client  = mqtt.connect({
  host: 'test.mosquitto.org',
  protocol: 'ws',
  port: '8080' // WebSocket port
{'fraction_non_alphanumeric': 0.1412151067323481, 'fraction_numerical': 0.013136288998357963, 'mean_word_length': 5.354166666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '2881818', 'n_tokens_mistral': 221, 'n_tokens_neox': 207, 'n_words': 50}