User`s guide

M
ASSA
P
RODUCTS
C
ORPORATION M3 & Digi Gateway Quick Guide on Getting Started
M3 & Digi Gateway Quick Guide on Getting Started 3
060513
Massa Products Corporation assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using Massa’s sensors.
Screen shots of minimum requirements to run an application
Figure 1
dia.yml example showing settings enabled (with # symbol
removed). Note extended_address contains MAC of your sensor
Figure 3
Autostart settings
command line set
to run python
code.
Figure 2
Python files required: python.zip, dia.zip,
dia.py, dia.yml, and zigbee.py. Also shown
here are the diagnostic files that were created
with the settings enabled in the dia.yml as
seen on the left. This includes: dia_log.txt,
status_log.txt and 4 waveform files named
M3data….M3
Figure 4
Connections Management UI
shows python properly
running. The dia.py will not
be displayed here if an error
occurs in not properly
editing the dia.yml file. Such
errors include not lining up
settings in the same column.
Figure 6
Diagnostic waveforms can be viewed using Massa’s M3
Application Software. See sensor manual for more
dl
Sensor 00:13:a2:00:40:30:09:4b!: Dist=47.7" Temp=18.1C Batt=4.9V UltrasonicStrength=50% RadioSignal=VeryStrong Event=4062 2013-01-08 04:37:20
Sensor 00:13:a2:00:40:30:09:4b!: Dist=47.7" Temp=18.1C Batt=4.9V UltrasonicStrength=50% RadioSignal=VeryStrong Event=4062 2013-01-08 04:37:40
Sensor 00:13:a2:00:40:91:1c:94!: Dist=54.8" Temp=15.2C Batt=5.3V UltrasonicStrength=75% RadioSignal=VeryStrong Event=1819 2013-01-08 05:24:45
Sensor 00:13:a2:00:40:91:1c:94!: Dist=54.8" Temp=15.2C Batt=5.3V UltrasonicStrength=75% RadioSignal=VeryStrong Event=1819 2013-01-08 05:25:02
Figure 8
status_log.txt file records automated status
messages that will include time stamp,
distance, temperature, battery voltage, etc.
Sensor 00:13:a2:00:40:30:09:4b!: M3 driver started, version 1.02. Dia version 1.4.14. 2013-05-20
12:14:44
Sensor 00:13:a2:00:40:30:09:4b!: Sensor Firmware Version = 31.8 2013-05-20 12:28:47
Sensor 00:13:a2:00:40:30:09:4b!: Serial Number = 2873 2013-05-20 12:28:47
Sensor 00:13:a2:00:40:30:09:4b!: Sensor Model = M-3/95 2013-05-20 12:28:47
Sensor 00:13:a2:00:40:30:09:4b!: data_collection_interval_sec = 0 2013-05-20 12:28:50
Sensor 00:13:a2:00:40:30:09:4b!: comm_fail_boot = 0 2013-05-20 12:28:50
Sensor 00:13:a2:00:40:30:09:4b!: sleep_interval_sec = 120.0 2013-05-20 12:28:50
Sensor 00:13:a2:00:40:30:09:4b!: awake_time_sec = 30.72 2013-05-20 12:28:50
Sensor 00:13:a2:00:40:30:09:4b!: outgoing_message_mode = 5 2013-05-20 12:28:50
Sensor 00:13:a2:00:40:30:09:4b!: user_comment = 2013-05-20 12:28:52
Sensor 00:13:a2:00:40:30:09:4b!: error code = 0 2013-05-20 12:28:52
Sensor 00:13:a2:00:40:30:09:4b!: auto_message_length = 8 2013-05-20 12:28:55
Sensor 00:13:a2:00:40:30:09:4b!: sensitivity = Normal 2013-05-20 12:28:55
Figure 7
dia_log.txt file reports driver version and sensor settings