https://github.com/bjyurkovich/utoqa-dev-control
Repo containing development control software for testing
https://github.com/bjyurkovich/utoqa-dev-control
Last synced: 3 months ago
JSON representation
Repo containing development control software for testing
- Host: GitHub
- URL: https://github.com/bjyurkovich/utoqa-dev-control
- Owner: bjyurkovich
- Created: 2017-04-12T12:15:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-12T13:17:38.000Z (about 8 years ago)
- Last Synced: 2025-01-21T06:43:30.442Z (4 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Utoqa Development Control Software for Testing
This repo contains development control software for testing at AE.There is one primary file that is used to control the fridge:
```bash
python control.py [commands]
```There are 3 options that can be used:
1. Control doors
2. Control LEDs
3. Send defacto serial string## Controlling doors
To control the doors, the command is as follows:```bash
python control.py open [DOOR]
```So, to open the bottom right door, you would type into a terminal window:
```bash
python control.py open RD
```To close the same door, you type:
```bash
python control.py close RD
```The door codes can be found on the spreadsheet from Fabio.
## Controlling LED lights
To control the LED lights, the same procedure is taken, with different arguments:```bash
python control.py led [DOOR] [R] [G] [B]
```So, to change the bottom right drawer lights to red, you would type:
```bash
python control.py led RD 255 0 0
```
The door codes are the same as on the spreadsheet given by Fabio.
## Using your own command
If you need to test out a new or different command, simply do:
```bash
python control.py protocol [COMMAND]
```
So, to open the bottom right door, type:
```bash
python control.py protocol Q:#RD:MTR:OP
```
## Having trouble?
If the files do not run when you click on them, you will want to try opening a terminal window, and typing:```bash
sudo chmod 777 /dev/ttyUSB0
```The password to use is `utoqa`