You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matt 001b280936 update readme 2 years ago
.gitignore add gitignore 2 years ago
README.md update readme 2 years ago
config.ini move keys to config file 2 years ago
main.py Add sending to collar 2 years ago
message.proto update protobuf 2 years ago
tests.py store stimulus information 2 years ago

README.md

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