LASS - App Lists

最後編輯:2017-02-22 建立:2015-09-29 歷史紀錄

WUULONG SThe app name identify the your application. We suggest you can define it and describe it here. If possible, please list the sensor value definition in your records. Everyone can get the sensor technical specification. Suggest you reference current sensors specification : LASS - Sensors data specification

 

Application type

System application

  • These application reserved for LASS system purpose. For example, default LASS package.

Public application

  • The application intense to share the design and data to public. The sensor spec and all information will be asked to provided in order to help others to re-produce and share the data

Private application

  • The application is private and self organised.

APP_ID Rule

  • Each application should have unique APP_ID. The app name is the identification from the system view. APP_ID is the developer's skill to organize it.

 

 

  • 0-255: System application (APPTYPE_SYSTEM_BASE=0)
  • 256-32767: public application (APPTYPE_PUBLIC_BASE=256)
  • 32768-65536: private application (APPTYPE_PRIVATE_BASE=32768)

 

  • Code default APP_ID=1

 

  • Next Free APP_ID by catagory

*

 

 

 

App Name(ID)

 

 

LASS/Test/Default(APP_ID=0)

  • Sensor data definition
  • 0-9 : system sensor

 

  • SENSOR_ID_RECORDID 0
  • SENSOR_ID_BATTERYLEVEL 1
  • SENSOR_ID_BATTERYCHARGING 2 // battery is charging: (0) not charging, (1) charging
  • SENSOR_ID_GROUNDSPEED 3

LASS/Test/PM25

  • (APPID= APPTYPE_SYSTEM_BASE +1, APP_NAME=PM25)

 

負責人臉書:[ 請自入 ]

  • Sensor data definition
  • 0-9 : system sensor

 

  • SENSOR_ID_DUST (s_d0)
  • SENSOR_ID_TEMPERATURE (s_t0)
  • SENSOR_ID_HUMIDITY (s_h0)

 

 

  • LASS/Test/PM25 |ver_format=3|fmt_opt=0|app=PM25|ver_app=0.7.6|device_id=FT1_007|tick=582358|date=2080-01-06|time=00:09:21|device=LinkItONE|s_0=54.00|s_1=100.00|s_2=1.00|s_3=0.00|s_d0=12.00|s_t0=27.90|s_h0=54.50|gps_lat=24.480128|gps_lon=120.595609|gps_fix=0|gps_num=0|gps_alt=13

 

LASS/Test/Wuulong

  • (APP_ID= APPTYPE_PUBLIC_BASE +1, APP_NAME=Wuulong)
  • 負責人臉書:哈爸
  • Sensor data definition
  • 0-9 : system sensor
  • 10 : 空氣微粒子數 Grove-Dust Sensor
  • 11 : UV 紫外線 Grove-UV Sensor
  • 12 : 聲音 Grove-Sound Sensor
  • Blynk Virtual Sensor
    • Same as system sensor
    • SENSOR_ID_DUST_BLYNK 4
    • SENSOR_ID_UV_BLYNK 5
    • SENSOR_ID_SOUND_BLYNK 6

 

 

Example:

16:40:23|LASS/Test/Wuulong|ver_format=1|fmt_opt=0|app=Wuulong|ver_app=0.6.6|device_id=LASS-Hello1|tick=1299557|date=6/1/80|time=0:21:18|device=LinkItONE|values=39.00,100.00,1.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.62,2822.51,41.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00|gps=$GPGGA,002118.978,2448.0017,N,12059.5477,E,0,0,,135.0,M,15.0,M,,*4E\r

gps_x=24.80002833333333,gps_y=120.99246166666664,gps_z=135.0

 

LASS/Test/EXAMPLE_APP1

LASS/Test/MAPS

 

example: (This capture from lass.py )

LASS-MAPS-LJ|tick=24792770|date=30/9/15|time=11:49:12|device=LinkItONE|values=2188.00,100.00,1.00,0.14,0.00,0.00,0.00,0.00,0.00,0.00,1008.65,28.10,99.90,0.00,0.00,0.00,0.00,0.00,0.00,0.00|gps=$GPGGA,114912.000,2502.1610,N,12136.9598,E,0,0,,239.6,M,15.3,M,,*4D\r

gps_x=25.036016666666665,gps_y=121.61599666666669,gps_z=239.6

 

 

 

LASS/Test/FlyPm25

  • (APP_ID= APPTYPE_PUBLIC_BASE +4, APP_NAME=FlyPm25)
  • 負責人臉書:[ 請自入 ]
  • Sensor data definition
  • 0-9 : system sensor

 

  • SENSOR_ID_DUST (s_d0)
  • SENSOR_ID_TEMPERATURE (s_t0)
  • SENSOR_ID_HUMIDITY (s_h0)
  • SENSOR_ID_BAROMETER(s_b0)

 

LASS/Test/Farm

  • (APP_ID= APPTYPE_PUBLIC_BASE +5, APP_NAME=Farm)
  • 負責人臉書:[ 請自入 ]
  • Sensor data definition
  • 0-9 : system sensor

 

  • SENSOR_ID_DUST (s_d0)
  • SENSOR_ID_TEMPERATURE (s_t0)
  • SENSOR_ID_HUMIDITY (s_h0)
  • SENSOR_ID_BAROMETER(s_b0)
  • ...
  • 資料範例參考
  • Humidity (DHT22) (s_h0)
  • Temperature (DHT22) (s_t0)
  • PM 1.0 (TSI standard)
  • PM 2.5 (TSI standard)
  • PM 10 (TSI standard)
  • PM 1.0 (std. atmosphere)
  • PM 2.5 (std. atmosphere)
  • PM 10 (std. atmosphere)
  • Humidity (DHT11)
  • Temperature (DHT11)
  • Wind Direction Average
  • Wind Speed (1 Minute)
  • Max Wind Speed (5 Minutes)
  • Rainfall (1 Hour)
  • Rainfall (24 Hour)
  • Atmosphere Pressure
  • Lux
  • Visiable Light
  • UV Index

SCOTT CLASS/Test/ArduSS

  • WUULONG S(APP_ID= APPTYPE_PUBLIC_BASE +6, APP_NAME=ArduSS)
    wuulong sheuTest 是目前的群組,後面跟 APP_NAME 一樣

FMT_OPT=1, 沒有網路上傳,使用 Offline import

    wuulong sheuOffline 上傳注意事項
    wuulong sheu1. GPS 位置資訊,能寫死提供最好
    wuulong sheu2. 資料時間。由於是 offline , 感測時間與上傳時間不同,注意相關問題

 

 

SCOTT CLASS/Test/RaspPm25

  • WUULONG S(APP_ID= APPTYPE_PUBLIC_BASE +7, APP_NAME=RaspPm25)
    wuulong sheu這個保留給蕭大,後面跟 APP_NAME 一樣, 請參考別的 APP_ID 撰寫

 

SCOTT CLASS/Test/Pm25Ameba

  • WUULONG S(APP_ID= APPTYPE_PUBLIC_BASE +8, APP_NAME=Pm25Ameba)

負責人臉書:哈爸

device=Ameba

 

xx: CO:

t0,h0: 溫濕度

bx: 壓力

d: G3 sensor

 

Msg Example:

|ver_format=3|fmt_opt=0|app=PM25|ver_app=0.7.3|device_id=LJ_PM25_001|tick=26795810|date=2015-10-15|time=22:35:07|device=LinkItONE|s_0=2234.00|s_1=100.00|s_2=1.00|s_3=0.00|s_d0=39.00|s_t0=25.50|s_h0=65.80|gps_lat=25.025362|gps_lon=121.371038|gps_fix=1|gps_num=9|gps_alt=2

 

 

SCOTT CLASS/Test/PM25LNT7688

  • WUULONG S(APP_ID= APPTYPE_PUBLIC_BASE +9, APP_NAME=PM25LNT7688)

負責人臉書:東成

    wuulong sheuAPP_NAME 隨意改

Msg Example:

 

SCOTT CLASS/Test/PM25Cleaner

  • WUULONG S(APP_ID= APPTYPE_PUBLIC_BASE +10, APP_NAME=PM25Cleaner)

負責人臉書: 顏小華

Msg Example:

 

SCOTT CLASS/Test/LinkItSmart7688-Test

  • WUULONG S(APP_ID= APPTYPE_PUBLIC_BASE +11, APP_NAME=LinkItSmart7688-Test)

負責人臉書: 哈爸, ...

 

Msg Example:

 

SCOTT CLASS/Test/Air-1

  • WUULONG S(APP_ID= APPTYPE_PUBLIC_BASE +12, APP_NAME=Air-1)

負責人臉書: 哈爸, ...

  • device="LinkItONE"

 

 

  • 可感測溫度,濕度,PM2.5/PM10, 氣體 ( NH3, CO, NO2 )
  • SENSOR_ID_DUST_PM25 (s_d0)
  • SENSOR_ID_TEMPERATURE (s_t0)
  • SENSOR_ID_HUMIDITY (s_h0)
  • SENSOR_ID_DUST_PM10 (s_d1)
  • SENSOR_ID_NH3(g0)
  • SENSOR_ID_CO(g1)
  • SENSOR_ID_NO2(g2)
  • --- 以下氣體感測值可能很有問題 ---
  • SENSOR_ID_C3H8(g3)
  • SENSOR_ID_C4H10(g4)
  • SENSOR_ID_CH4(g5)
  • SENSOR_ID_H2(g6)
  • SENSOR_ID_C2H5OH(g7)

 

 

  • Console sample output
  • -----Loop ID: 9, current tick= 558922 -----
  • GPS raw data(GPRMC):$GPRMC,044946.012,V,2448.2250,N,12059.6191,E,0.000,0.00,140216,,,N*41
  • GPS raw data(GPGGA):$GPGGA,044946.012,2448.2250,N,12059.6191,E,0,0,,135.0,M,15.0,M,,*47
  • GPS raw data(GPVTG):$GPVTG,0.00,T,,M,0.000,N,0.000,K,N*32
  • GPS detail result:
  • UTC timer 4-49-46
  • latitude = 2448.2250, longitude = 12059.6191
  • altitude above mean sea level = 135 meters
  • GPS RMC detail result: Date(DD/MM/YY):14/2/16
  • GPS VTG detail result: Ground Speed:0.000000
  • SensorValue(RecordID):9.00
  • SensorValue(BatteryLevel):100.00
  • SensorValue(BatteryCharging):1.00
  • SensorValue(speed):0.00
  • SensorValue(debugwifi):1.00
  • [Performence TIME-COUNT]:59770
  • [SENSOR-DUST-PM2.5]:3.00
  • [SENSOR-DUST-PM10]:4.00
  • SensorValue(Temperature):23.70
  • SensorValue(Humidity):71.70
  • The concentration of NH3 is 0.99 ppm
  • The concentration of CO is 4.40 ppm
  • The concentration of NO2 is 0.14 ppm
  • The concentration of C3H8 is 1000.04 ppm
  • The concentration of C4H10 is 999.98 ppm
  • The concentration of CH4 is 2991.14 ppm
  • The concentration of H2 is 1.09 ppm
  • The concentration of C2H50H is 1.50 ppm
  • CSV,0.99,4.40,0.14,1000.04,999.98,2991.14,1.09,1.50
  • Pack MQTT Topic:LASS/Test/Air-1
  • |ver_format=3|FAKE_GPS=0|app=Air-1|ver_app=0.8.1|device_id=FT1_054|tick=558922|date=2016-02-14|time=04:49:46|device=LinkItONE|s_0=9.00|s_1=100.00|s_2=1.00|s_3=0.00|s_4=1.00|s_d0=3.00|s_t0=23.70|s_h0=71.70|s_d1=4.00|s_g0=0.99|s_g1=4.40|s_g2=0.14|s_g3=1000.04|s_g4=999.98|s_g5=2991.14|s_g6=1.09|s_g7=1.50|gps_lat=24.482250|gps_lon=120.596191|gps_fix=0|gps_num=0|gps_alt=135
  • MQTT Companion channel published...
  • MQTT sending
  • LED:Wifi and gps ready!
  • MQTT example:
  • 12:51:47|LASS/Test/Air-1/FT1_054|ver_format=3|FAKE_GPS=0|app=Air-1|ver_app=0.8.1|device_id=FT1_054|tick=678448|date=2016-02-14|time=04:51:46|device=LinkItONE|s_0=11.00|s_1=100.00|s_2=1.00|s_3=0.00|s_4=1.00|s_d0=3.00|s_t0=23.70|s_h0=71.70|s_d1=4.00|s_g0=0.99|s_g1=4.12|s_g2=0.14|s_g3=1000.04|s_g4=999.98|s_g5=2991.14|s_g6=1.09|s_g7=1.40|gps_lat=24.482250|gps_lon=120.596191|gps_fix=0|gps_num=0|gps_alt=135

 

SCOTT CLASS/Test/LASS4U

  • WUULONG S(APP_ID= APPTYPE_SYSTEM_BASE +2, APP_NAME=LASS4U)

負責人臉書: MingWei Cheng

  • device="Ameba"

 

  • 可感測溫度/濕度(SHT31),PM1, PM2.5/PM10, CO2

 

  • 感測器
  • 資料欄位
    • SENSOR_ID_DUST_PM25 (s_d0)
    • SENSOR_ID_DUST_PM10 (s_d1)
    • SENSOR_ID_DUST_PM1 (s_d2)
    • SENSOR_ID_TEMPERATURE (s_t2)
    • SENSOR_ID_HUMIDITY (s_h2)
    • SENSOR_ID_GAS_CO2 (s_g8) => 已新加入 spec
  • Example:
    • ver_format=3|FAKE_GPS=1|app=LASS4U|ver_app=beta|device_id=LASS-FT2_002|date=2016-05-02|time=02:11:20|device=Ameba|gps_lon=120.993378|gps_lat=24.8005658|s_t2=27.s_h2=70.6|s_d2=22.0|s_d0=32.0|s_d1=48.0|s_g8=530.0

 

SCOTT CLASS/Test/ENSUF_Rainfall

  • WUULONG S(APP_ID= APPTYPE_PUBLIC_BASE +14, APP_NAME=ENSUF_Rainfall)
  • JHIH-CYUAN S本專案歐盟Smart Urban Futures (ENSUF) 資助的 FloodCitiSense 計畫。應用LASS架構的應用專案。計畫共同參與國家包含比利時、英國、荷蘭與台灣。整體計畫主要透過公民、地方政府、學術與私部門共同合作的方式。在都市區域針對降雨量進行即時觀測與分析,搭配淹水模式進行都市淹水的分析與評估。在降雨量監測資料傳遞與共享的方式,將依循LASS現有資料傳輸架構進行資料分享與應用。實際雨量監測站主要將應用在英國伯明罕與。台灣

 

負責人臉書: Jhih-Cyuan Shen

  • WUULONG Sdevice=LinkIt ONE
  • 感測內容: 降雨量或降雨強度 (單位:mm or mm/hr)
  • 感測器 : 頃斗式雨量計(Tipping Bucket Rain Gauge)
  • JHIH-CYUAN S 自製3D列印或商品化之雨量計

http://iepas.net/ UCAR 商品化 商品化2 商品化3

  • * 料欄位
    • WUULONG Ss_p0.x
      Jhih-Cyuan Shen( x為觀測時間的間隔,例如s_p0.1 1分鐘頻率之降雨量 , s_p0.2 2分鐘頻率之降雨量, s_p0.5 5分鐘頻率之降雨量。目前在降雨量觀測常用的時間間距 為1,2,5,10,15,60分鐘 )。數值上 5位數含小數下2位數 value %5.2f
      • JHIH-CYUAN S數*Example:
    • WUULONG Ss*12:51:47|LASS/Test/RENSUF_RainfallFTR_XXX|ver_format=3|FAKE_GPS=0|app=Rainfall-1|ver_app=0.1|device_id=FTR_XXX|tick=678448|date=2016-02-14|time=04:51:46|device=LinkItONE|s_p1=0.0|s_p2=0.0|s_p350.00|s_p410.0|s_p5=15.0|s_p6=0.0|gps_lat=24.482250|gps_lon=120.596191|gps_fix=0|gps_num=0|gps_alt=135

SCOTT CLASS/Test/Ignore

  • WUULONG S(APP_ID= APPTYPE_PUBLIC_BASE +13 [Just reserved, don't need to be use ], APP_NAME=Ignore)
  • This is used for bring up new app_id, testing purpose. Anything that we can't make sure the format is correct, please send to this topic. This topic can access some mistake in the format and data.