<commit_before># Raspberry Pi Garage Door Controller

A simple controller for my garage doors.

Edit config.yml according to the pins you are using (BCM) and change the timings depending on how long the switch needs to be activated to trigger your garage doors.

Assuming you have Go and make installed on your Pi start the project clone the project then
```
$ go get github.com/alittlebrighter/rpi-garage-doors
$ sudo make install
$ sudo garage-doors
```
Then make an http POST request to localhost:8080/control with a body of "door=0&force=false".<commit_msg>fix README<commit_after># Raspberry Pi Garage Door Controller

A simple controller for my garage doors.

Edit config.yml according to the pins you are using (BCM) and change the timings depending on how long the switch needs to be activated to trigger your garage doors.

Assuming you have Go and make installed on your Pi start the project clone the project then
```
$ go get github.com/alittlebrighter/rpi-garage-doors
$ cd $GOPATH/src/github.com/alittlebrighter/rpi-garage-doors
$ sudo make install
$ sudo garage-doors
```
Then make an http POST request to localhost:8080/control with a body of "door=0&force=false".
{'fraction_non_alphanumeric': 0.06186440677966102, 'fraction_numerical': 0.00847457627118644, 'mean_word_length': 4.677884615384615, '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': '7069708', 'n_tokens_mistral': 345, 'n_tokens_neox': 316, 'n_words': 162}