<commit_before># Smoker Beacon

Take the output from a thermocouple, input through an SBC and transmit via Wi-Fi to a collector. 
Send temperature telemetry for a smoker.

# App

Receives output showing the temperature from one or more thermocouples  
Configurable mix/max temperature alarm  
(not included in this repo)

Items needed:
* pcDuino3 http://www.linksprite.com/?page_id=812
* csr bluetooth V4 dongle

TL;DR - To run the system by hand, execute dispatcher and thermocouple scripts.
```
cd smoker-beacon
source venv/bin/activate
python dispatcher.py
python sb.py
```
##Field Guide
* Hook up a USB keyboard, preferably with built-in mouse
* Use a USB hub to connect more than one device
* Hit CTRL-ALT-T to open a Terminal
* Hit ALT-TAB to switch between Terminal and Application
* Logs are located in /var/log/smoker-beacon
* Startup log located in /home/linaro/logs/cronlog
* Key programs are "sb.py" and "dispatcher.py"
* Programs are located in /home/linaro/smoker-beacon<commit_msg>App requirements<commit_after># Smoker Beacon

Take the output from a thermocouple, input through a PCDuino and transmit via BLE Beacon to a Cordova Android App.  

# App

* Receives output showing the temperature from one or more thermocouples  
* Configurable min/max temperature alarm  
* Uses Apache Cordova to select and receive Beacon
* Beacon assumed to have two fields:
1. Major: ID of Thermocouple
2. Minor: Temperature

N.B. Not included in this repo

Items needed:
* pcDuino3 http://www.linksprite.com/?page_id=812
* csr bluetooth V4 dongle

TL;DR - To run the system by hand, execute dispatcher and thermocouple scripts.
```
cd smoker-beacon
source venv/bin/activate
python dispatcher.py
python sb.py
```
##Field Guide
* Hook up a USB keyboard, preferably with built-in mouse
* Use a USB hub to connect more than one device
* Hit CTRL-ALT-T to open a Terminal
* Hit ALT-TAB to switch between Terminal and Application
* Logs are located in /var/log/smoker-beacon
* Startup log located in /home/linaro/logs/cronlog
* Key programs are "sb.py" and "dispatcher.py"
* Programs are located in /home/linaro/smoker-beacon
{'fraction_non_alphanumeric': 0.07028301886792453, 'fraction_numerical': 0.005660377358490566, 'mean_word_length': 4.25, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4749378', 'n_tokens_mistral': 679, 'n_tokens_neox': 651, 'n_words': 280}