<commit_before>/*
 * $Id: user_config.h,v 1.1 2016/04/04 14:45:06 anoncvs Exp $
 *
 * Sonoff Arduino implementation by <NAME>
 */
#define PROJECT             "sonoff"
#define VERSION             "1.0.5"
#define CFG_HOLDER          0x20160309   // Change this value to load default configurations

// Wifi
#define STA_SSID            "YOUR-SSID-HERE"
#define STA_PASS            "<PASSWORD>-PASSWD-<PASSWORD>"
#define WIFI_HOSTNAME       "ESP-%06X-%s"

// Ota
#define OTA_URL             "http://YOUR-HOST.AND.DOMAIN:80/api/arduino/"PROJECT".cpp.bin"

// MQTT
#define MQTT_HOST           "YOUR-MQTT-HOST.AND.DOMAIN"
#define MQTT_PORT           1883

#define MQTT_CLIENT_ID      "DVES_%06X"  // Also fall back topic using Chip Id = last 6 characters of MAC address
#define MQTT_USER           "DVES_USER"
#define MQTT_PASS           "<PASSWORD>"

#define SUB_PREFIX          "cmnd"
#define PUB_PREFIX          "stat"
#define MQTT_GRPTOPIC       PROJECT"s"   // Group topic
#define MQTT_TOPIC          PROJECT

// Application
#define MQTT_SUBTOPIC       "POWER"
#define APP_TIMEZONE        9            // +9 hours (Tokyo)
#define APP_POWER           0            // Saved power state Off<commit_msg>   Changed formatting slightly.    Added more comments.<commit_after>/*
 * $Id: user_config.h,v 1.2 2016/04/06 05:12:13 anoncvs Exp $
 *
 * Sonoff Arduino implementation by <NAME>
 */

/* 
 * PROJECT is used as the default topic delimiter. The group topic
 * delimiter is this word + "s".
 */
#define PROJECT             "sonoff"

#define VERSION             "1.0.5"
#define CFG_HOLDER          0x20160309	// Change this value to load default configurations.


// Wifi
#define STA_SSID            "YOUR-SSID-HERE"
#define STA_PASS            "<PASSWORD>-PASSWD-<PASSWORD>"
#define WIFI_HOSTNAME       "ESP-%06X-%s"


// Ota
#define OTA_URL             "http://YOUR-HOST.AND.DOMAIN:80/api/arduino/"PROJECT".cpp.bin"


// MQTT
#define MQTT_HOST           "YOUR-MQTT-HOST.AND.DOMAIN"
#define MQTT_PORT           1883

#define MQTT_CLIENT_ID      "DVES_%06X"	// Also fall back topic using Chip Id = last 6 characters of MAC address.
#define MQTT_USER           "DVES_USER"
#define MQTT_PASS           "<PASSWORD>"

#define SUB_PREFIX          "cmnd"	// Sonoff devices subscribe to:- cmnd/MQTT_TOPIC and cmnd/MQTT_GRPTOPIC.
#define PUB_PREFIX          "stat"	// They publish to:- stat/MQTT_TOPIC.
#define MQTT_TOPIC          PROJECT
#define MQTT_GRPTOPIC       PROJECT"s"	// Group topic.


// Application
#define MQTT_SUBTOPIC       "POWER"
#define APP_TIMEZONE        9		// +9 hours (Tokyo).
#define APP_POWER           0		// Saved power state Off.
{'fraction_non_alphanumeric': 0.10715638015903067, 'fraction_numerical': 0.03180613404013631, 'mean_word_length': 2.2983770287141074, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '7410022', 'n_tokens_mistral': 1000, 'n_tokens_neox': 935, 'n_words': 238}