bemasher / rtlamr

An rtl-sdr receiver for Itron ERT compatible smart meters operating in the 900MHz ISM band.
GNU Affero General Public License v3.0
2.21k stars 249 forks source link

CSV output is garbled #32

Closed tastyratz closed 9 years ago

tastyratz commented 9 years ago

Windows bin precompiled run from the command line as shown:

rtlamr -format=csv -samplefile=output.csv

csv is 70kb with only 2 readings

Example paste of the output:

€€ƒ€€„{}€~{€€~|€‚ƒ‡{€{€€‚{}{€}{‚}ƒ€‚~}€~‚~}}}†€…~y‚}‰…}~{ƒ€z‚‚‚}‡~|y„x€x€

Let me know if any other details are needed.

bemasher commented 9 years ago

The data written to output.csv in your example are raw samples from the dongle whenever a message is successfully decoded. In order to get csv output written to output.csv you'll want to use the -logfile flag:

rtlamr -format=csv -logfile=output.csv