I am trying to parse a data stream from a WXT520 weather station and a few other connected devices. I got the instruments on our weather station to connect through a single serial port, and send data points on individual lines with unique prefixes and terminators. I have been having trouble getting this data stream to parse correctly with the Serial module in MA, and have a feeling I am getting something wrong with the regex, and/or point identifier index. I have yet to see a clear example of how to set up a serial data source in MA on this forum. Perhaps someone can help?
An example of the serial output from our weather station is posted below. I'd like to map each data type to a unique point. I am using the most recent version of MA with the latest 1.1.4 Serial module running on Ubuntu 14.041 x64. I have confirmed that the serial port permissions are set correctly.
Weather station example output (includes one of each point):
Ta=24.4C Ua=42.0P Pa=1021.1H Dn=281D Dm=332D Dx=074D Sn=0.4M Sm=0.8M Sx=1.3M Si=15.94W Rc=0.00M Rd=10s Ri=0.0M Hc=0.0M Hd=0s Hi=0.0M Rp=0.0M Th=24.0C Vh=12.2N Vs=12.1V Vr=3.495V