Commit b586f117f295dd890f34c32d7a123042d039915b

Authored by Alain Klotz
1 parent ecf00ca2
Exists in dev

A terminer

Showing 1 changed file with 45 additions and 17 deletions   Show diff stats
privatedev/config/tnc/device_Raspberry_TAROT_sn002.yml
... ... @@ -34,7 +34,16 @@ DEVICE:
34 34 CAPABILITIES:
35 35  
36 36 - CAPABILITY:
37   - component: WeatherStation
  37 + # ======================
  38 + # from the Guitalens PLC
  39 + # ----------------------
  40 + # data/key = /entities/devices/$device_name/$name#value
  41 + # ======================
  42 +
  43 + # --------
  44 + # PLC
  45 + # --------
  46 + component: PLC
38 47  
39 48 attributes:
40 49  
... ... @@ -48,16 +57,6 @@ DEVICE:
48 57  
49 58 output_data:
50 59  
51   - # ======================
52   - # from the Guitalens PLC
53   - # ----------------------
54   - # data/key = /entities/devices/$device_name/$name#value
55   - # ======================
56   -
57   - # --------
58   - # PLC
59   - # --------
60   -
61 60 - data:
62 61 key: /entities#date
63 62 category: electricity
... ... @@ -71,9 +70,23 @@ DEVICE:
71 70 unit: ISO
72 71 description: Date of data delivered
73 72  
74   - # --------
75   - # PLC/Came
76   - # --------
  73 + - CAPABILITY:
  74 + # --------
  75 + # PLC/Came
  76 + # --------
  77 + component: RoofControler
  78 +
  79 + attributes:
  80 +
  81 + - attribute:
  82 + key: manufacturer
  83 + value: Came
  84 +
  85 + - attribute:
  86 + key: model
  87 + value: XV11
  88 +
  89 + output_data:
77 90  
78 91 - data:
79 92 key: /entities/devices/Came/Error_code#value
... ... @@ -205,9 +218,23 @@ DEVICE:
205 218 unit: m/s
206 219 description: Local elevation of the Sun
207 220  
208   - # --------
209   - # PLC/CV7
210   - # --------
  221 + - CAPABILITY:
  222 + # --------
  223 + # PLC/CV7
  224 + # --------
  225 + component: WeatherStation
  226 +
  227 + attributes:
  228 +
  229 + - attribute:
  230 + key: manufacturer
  231 + value: Chinois
  232 +
  233 + - attribute:
  234 + key: model
  235 + value: CV7
  236 +
  237 + output_data:
211 238  
212 239 - data:
213 240 key: /entities/devices/CV7/Error_code
... ... @@ -274,6 +301,7 @@ DEVICE:
274 301 unit: degC
275 302 description: From CV7 anemometer sensor
276 303  
  304 +A CHANGER...
277 305 # ---------
278 306 # PLC/DHT22
279 307 # ---------
... ...