Go to file
2020-05-29 12:06:46 -07:00
.gitignore add gitignore 2020-05-12 22:11:58 +01:00
config.ini move keys to config file 2020-05-12 22:11:33 +01:00
main.py Add sending to collar 2020-05-16 02:25:10 +01:00
message.proto update protobuf 2020-05-13 04:14:23 +01:00
README.md update readme 2020-05-29 12:06:46 -07:00
tests.py store stimulus information 2020-05-13 06:36:23 +01:00

Dependencies

  • protobuf-compiler
  • python-sqlite

Generate files from .proto file

protoc -I=./ --python_out=./ message.proto

Make the config.ini file

Following this format create a config.ini file.

[Default]
AppId=<redacted>
AccessKey=ttn-account-v2.<redacted>

Run the Gateway

After generating the protobuf files and making a config.ini file one can simply run:

python3 main.py