Skip to content

bequrios/lopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LoPy/TTN Workshop

Prerequisites

How To

  • download repository to your computer
  • open repository in Atom via Add Project Folder...
  • rename desired python script to main.py
  • add an application in the TTN Console
  • add a device to your application, for this you will need the device EUI (see below)
  • add app_eui and app_key in the script

how to get your device EUI

  • connect via REPL to your LoPy
  • enter the following lines:
from network import LoRa
import binascii
lora = LoRa(mode=LoRa.LORAWAN)
print(binascii.hexlify(lora.mac()).upper().decode('utf-8'))
  • the answer should look something like: 70B3D5499585FCA1, copy this device EUI

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published