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 3 months ago
.gitignore add gitignore 4 months ago
README.md update readme 3 months ago
config.ini move keys to config file 4 months ago
main.py Add sending to collar 4 months ago
message.proto update protobuf 4 months ago
tests.py store stimulus information 4 months 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