Skip to content

Instantly share code, notes, and snippets.

@maxgibbons
Created August 24, 2016 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxgibbons/0c2aeb72e85c715cf08f5e88e4b12b2c to your computer and use it in GitHub Desktop.
Save maxgibbons/0c2aeb72e85c715cf08f5e88e4b12b2c to your computer and use it in GitHub Desktop.
createDevices.py Device Add
devices = [
{'desc':'Arduino-rACM', // whatever you feel like
'nodeId':'0x3451f', // add your Node ID here
'parser':'serial_m2x', // let's reference the parser we'll create
'm2x_device_id': 'z547acf8d450fc94863a5b7b498b6135', // grab from M2X
'm2x_primary_key':'n0b9b4d39c1bb86e733f37b62c666128', // same
'alarm_email_enabled':0,
'alarm_email_list':[]},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment