<commit_before>// http://archive.wired.com/geekdad/2012/09/using-motion-detectors-with-an-arduino/

#include <AltSoftSerial.h>
#include <SoftTimer.h>

String ID = "1D";
String SSID = "______$$";
String PASS = "<PASSWORD>";

int SERVER_PORT = 5000;
String SERVER_ADDRESS = "192.168.23.104";
String healthcheckAction = "GET /healthcheck/" + ID;
String eventAction = "POST /room/" + ID + "/event";

int sensor = 2;
int light = 13;
bool presenceDetected = false;

AltSoftSerial wifi(8, 9); // RX, TX

Task wifiTask(30000, sendStatus);
Task sensorTask(1200, detectPresence);
Task blinkTask(500, pblink);

void setup() {
    pinMode(sensor, INPUT);
    pinMode(light, OUTPUT);

    Serial.begin(9600);
    while(!connectWiFi()) {
      Serial.println("Retrying connect to network");
    }
    <commit_msg>Ooops<commit_after>// http://archive.wired.com/geekdad/2012/09/using-motion-detectors-with-an-arduino/

#include <AltSoftSerial.h>
#include <SoftTimer.h>

String ID = "1D";
String SSID = "";
String PASS = "";

int SERVER_PORT = 5000;
String SERVER_ADDRESS = "192.168.23.104";
String healthcheckAction = "GET /healthcheck/" + ID;
String eventAction = "POST /room/" + ID + "/event";

int sensor = 2;
int light = 13;
bool presenceDetected = false;

AltSoftSerial wifi(8, 9); // RX, TX

Task wifiTask(30000, sendStatus);
Task sensorTask(1200, detectPresence);
Task blinkTask(500, pblink);

void setup() {
    pinMode(sensor, INPUT);
    pinMode(light, OUTPUT);

    Serial.begin(9600);
    while(!connectWiFi()) {
      Serial.println("Retrying connect to network");
    }
    
{'fraction_non_alphanumeric': 0.15521628498727735, 'fraction_numerical': 0.054707379134860054, 'mean_word_length': 4.157377049180328, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1182290', 'n_tokens_mistral': 624, 'n_tokens_neox': 553, 'n_words': 131}