<commit_before># Status Clock

This is the Status Clock, a school project to recreate the Weasley's family
clock from <NAME>.

<iframe width="480" height="360" src="//www.youtube-nocookie.com/embed/YRWMdjvVUF4?rel=0" frameborder="0" allowfullscreen></iframe>

## Design

There are 3 major components:

- Raspberry Pi, requesting updates from the website and driving the Arduino.
- Arduino UNO, controlling the servos and LCD screens
- Website, containing all state data and configuration for a clock. Connects to
  Google+ to dynamically update a person's status based on their public
  check-ins. (*NB: During development, we originally targeted Google Latitude,
  which was sunsetted. We began migration to using Google+, but did not have
  enough time before final report.*)

### Raspberry Pi

This is also known as the "host computer" in the documentation. It's purpose is
to act as the network bridge to the Arduino. It runs a recurring task (every 15
seconds) to request the JSON output of a clock face from the website, and
communicates any changes to the Arduino over serial.

Code: **TBD**.

### Arduino UNO

Serial driver for the servos and LCDs. Takes a command from serial and either
updates the text on an LCD or moves a hand (to point at an LCD) via the servos.

Code: **TBD**.

### Website

A Rails 4 application. A user logs into it with their Google account, and
associates themselves with a clock. (Either by creating a new clock or adding
themselves to an existing one.) The clock is exported as a JSON representation
at `/clock/:id.json`, which the Raspberry Pi will grab and feed to the Arduino.

## License

Specific components of this project are licensed.

The Raspberry Pi and Arduino code is released under the MIT license. See
[LICENSE.MIT](LICENSE.MIT) for the full text of the license.

The Rails application is released under the AGPLv3. See
[LICENSE.APGL](LICENSE.APGL) for the full text of the license.

Copyright (C) 2013
- [Col<NAME>](http://evaryont.me)
- [<NAME>](http://tom.shea.at)
- <NAME>
- <NAME>
<commit_msg>Link to the youtube video instead of embedding it<commit_after># Status Clock

This is the Status Clock, a school project to recreate the Weasley's family
clock from <NAME>.

![https://img.youtube.com/vi/YRWMdjvVUF4/hqdefault.jpg](https://youtu.be/YRWMdjvVUF4)
[A youtube video demonstrating the project](https://youtu.be/YRWMdjvVUF4)

## Design

There are 3 major components:

- Raspberry Pi, requesting updates from the website and driving the Arduino.
- Arduino UNO, controlling the servos and LCD screens
- Website, containing all state data and configuration for a clock. Connects to
  Google+ to dynamically update a person's status based on their public
  check-ins. (*NB: During development, we originally targeted Google Latitude,
  which was sunsetted. We began migration to using Google+, but did not have
  enough time before final report.*)

### Raspberry Pi

This is also known as the "host computer" in the documentation. It's purpose is
to act as the network bridge to the Arduino. It runs a recurring task (every 15
seconds) to request the JSON output of a clock face from the website, and
communicates any changes to the Arduino over serial.

Code: **TBD**.

### Arduino UNO

Serial driver for the servos and LCDs. Takes a command from serial and either
updates the text on an LCD or moves a hand (to point at an LCD) via the servos.

Code: **TBD**.

### Website

A Rails 4 application. A user logs into it with their Google account, and
associates themselves with a clock. (Either by creating a new clock or adding
themselves to an existing one.) The clock is exported as a JSON representation
at `/clock/:id.json`, which the Raspberry Pi will grab and feed to the Arduino.

## License

Specific components of this project are licensed.

The Raspberry Pi and Arduino code is released under the MIT license. See
[LICENSE.MIT](LICENSE.MIT) for the full text of the license.

The Rails application is released under the AGPLv3. See
[LICENSE.APGL](LICENSE.APGL) for the full text of the license.

Copyright (C) 2013
- [<NAME>](http://evaryont.me)
- [<NAME>](http://tom.shea.at)
- <NAME>
- <NAME>

{'fraction_non_alphanumeric': 0.07690459024273011, 'fraction_numerical': 0.007209805335255948, 'mean_word_length': 4.228643216080402, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 3, 'lorem ipsum': 0, 'www.': 1, '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': '1931593', 'n_tokens_mistral': 1260, 'n_tokens_neox': 1156, 'n_words': 607}