How to analyse sensor data
編輯歷史
| 時間 | 作者 | 版本 |
|---|---|---|
| 2016-02-08 10:20 – 11:05 | r944 – r1175 | |
顯示 diff(62 行未修改)
Copy paste 24.589327,120.871882 into google map.
+
+
+ Show 1 device trace on the google map
+ *download the data you need
+ *wget ftp://gpssensor.ddns.net:2121/data.log-20160208
+ *wget ftp://gpssensor.ddns.net:2121/data.log
+ *merge all data file into 1 single data file
+ *cat data.log-201602
+ 8 data.log > data1.log
+ *filter your device
+ *cat data1.log | grep 'FT1_xxx' > data2.log*python lass.py
+ *loaddata data12log
+
+ *export
+ *export> kml filename.kml
+ *import this kml into google my map
+ *Here is sample result
|
||
| 2015-12-15 22:48 – 22:50 | r907 – r943 | |
顯示 diff(1 行未修改)
Wiki information (Maybe outdated)
+
lass.py data input
(58 行未修改)
|
||
| 2015-12-04 20:45 – 20:54 | r790 – r906 | |
顯示 diff(36 行未修改)
CLI: setting
+
+ Convert the GPS information from log to google map
+
+ *Get GPS information from log
+ *Example:
+ LASS/Test/PM25 |ver_format=3|fmt_opt=0|app=PM25|ver_app=0.7.13|device_id=FT1_035|tick=500198327|date=2015-12-04|time=20:15:59|device=LinkItONE|s_0=8272.00|s_1=100.00|s_2=1.00|s_3=0.00|s_4=1.00|s_d0=36.00|s_t0=15.60|s_h0=96.90|s_d1=50.00|gps_lat=24.353596|gps_lon=120.523129|gps_fix=1|gps_num=16|gps_alt=8
+
+ 2. lass.py
+ data/
+ LASS>data
+ LASS:data>help
+
+ Documented commands (type help <topic>):
+ ========================================
+ desc fake_gen filter_by_datetime gps_to_map help plot quit server_import
+
+ LASS:data>help gps_to_map
+ transform gps data value to google map format
+ gps_to_map [Latitude,gps_lat],[Longitude, gps_lon]
+ ex: gps_to_map 25.024037,121.368875
+
+ LASS:data>gps_to_map 24.353596,120.523129
+ google map format(Latitude,Longitude,altitude): 24.589327,120.871882
+
+ Copy paste 24.589327,120.871882 into google map.
|
||
| 2015-10-26 23:43 – 01:34 | r686 – r789 | |
顯示 diff(2 行未修改)
Wiki information (Maybe outdated)
- lass.py get data input
+ lass.py data input
*Receive MQTT topic data
*sudo python lass.py
(6 行未修改)
*lass.py export json
*CLI: export
- *CLI: json geodata.json 1
+ *CLI: export> json geodata.json 1
*use browser ( Chrome ) to open client_map.html
(1 行未修改)
*lass.py export kml
*CLI: export
- *CLI: kml my.kml
+ *CLI: export> kml my.kml
*Upload your KML file in to Google Map or Google Earth
(1 行未修改)
*lass.py export csv
*CLI: export
- *CLI: csv my.csv
+ *CLI: export> csv my.csv
+
+
+ CLI: data
+ CLI: data> desc : show current data sorting by time
+ CLI: data> plot : plot sensor data and save #0: all data, 1: one sensor data, 2: one sensor diff data
+ CLI: data> server_import : Import data from server's log
+ CLI: data> gps_to_map : transform gps data value to google map format
+ CLI: data> filter_by_datetime : ilter data, only keep data in the datetime range
+
+ CLI: setting
|
||
| 2015-10-22 03:48 – 04:08 | r268 – r685 | |
顯示 diff(2 行未修改)
Wiki information (Maybe outdated)
- Show latest all devices's dust sensor value on google map
- *lass.py get data
+ lass.py get data input
+ *Receive MQTT topic data
*sudo python lass.py
*CLI: monitor ( By default system will filter and keep ver_format=3's data)
+ *Load an existed sensor data log file
+ *sudo python lass.py --lasscmd (By default monitor will not be enabled in this mode)
+ *CLI: loaddata data.log
+
+ Show latest all devices's dust sensor value on google map
*lass.py export json
*CLI: export
*CLI: json geodata.json 1
*use browser ( Chrome ) to open client_map.html
-
Import KML of all devices's dust sensor value to google map
- t
+ *lass.py export kml
+ *CLI: export
+ *CLI: kml my.kml
+ *Upload your KML file in to Google Map or Google Earth
+
+ Produce CSV file for R or other analytics tool to read
+ *lass.py export csv
+ *CLI: export
+ *CLI: csv my.csv
|
||
| 2015-10-22 03:48 | r267 | |
顯示 diff(16 行未修改)
|
||
| 2015-10-22 03:47 – 03:48 | r252 – r266 | |
顯示 diff(12 行未修改)
- I
+ Import KML of all devices's dust sensor value to google map
+ t
|
||
| 2015-10-22 03:47 | r251 | |
顯示 diff(15 行未修改)
|
||
| 2015-10-22 03:47 – 03:47 | r244 – r250 | |
顯示 diff(10 行未修改)
*CLI: json geodata.json 1
*use browser ( Chrome ) to open client_map.html
+
+
+ I
|
||
| 2015-10-16 23:54 – 00:00 | r3 – r243 | |
顯示 diff How to analyse sensor data
- W
+ Wiki information (Maybe outdated)
+
+ Show latest all devices's dust sensor value on google map
+ *lass.py get data
+ *sudo python lass.py
+ *CLI: monitor ( By default system will filter and keep ver_format=3's data)
+ *lass.py export json
+ *CLI: export
+ *CLI: json geodata.json 1
+ *use browser ( Chrome ) to open client_map.html
|
||
| 2015-10-16 23:54 | r2 | |
顯示 diff(3 行未修改)
|
||
| 2015-10-16 23:54 | r1 | |
顯示 diff How to analyse sensor data
+
+ W
|
||
| 2015-10-16 23:54 | r0 | |
顯示 diff-
+ How to analyse sensor data
|
||