Blame view

privatedev/config/tnc/observatory_tnc.yml 16.1 KB
86895541   aklotz   Mise à jour de co...
1
# Schema file to check the syntax of this config file
cdc14de9   Etienne Pallier   schema with "-" i...
2
schema: schema_observatory-2.0.yml
86895541   aklotz   Mise à jour de co...
3
4
5
6
7

# Here is the description of the configuration of an observatory
OBSERVATORY: 

    name: TNC
40d27b85   Alexis Koralewski   Add 'inventory' s...
8
9

    INVENTORY:
86895541   aklotz   Mise à jour de co...
10
    
40d27b85   Alexis Koralewski   Add 'inventory' s...
11
12
13
14
        # === Inventory of available devices
        # A device is a hardware with a maximum of one connection to drive it with a computer.
        # As a device can be shared with various units, it is defined at the observatory level.
        DEVICES:
86895541   aklotz   Mise à jour de co...
15
        
564a4812   Etienne Pallier   added pylon6.3.0 ...
16
            # Each device is defined by a specific configuration file that enumarates the components.
86895541   aklotz   Mise à jour de co...
17
            
40d27b85   Alexis Koralewski   Add 'inventory' s...
18
19
20
21
22
23
24
25
26
27
            - DEVICE: 
                name: AstroMecCA_TM350
                file: device_Astromecca_TM350_sn011.yml
                
            - DEVICE: 
                name: TAROT_meteo
                file: device_Raspberry_TAROT_sn002.yml
                # Describe here the configuration of the device in operation
                network_interface_index: 0
                network_ip: 192.168.0.20
86895541   aklotz   Mise à jour de co...
28

40d27b85   Alexis Koralewski   Add 'inventory' s...
29
30
31
32
33
34
35
36
37
38
            - DEVICE: 
                name: AstroMecaCA_CS100 # roof of the observatory
                file: device_Astromecca_CS100_sn001.yml
                # Describe here the configuration of the device in operation
                network_interface_index: 0
                network_ip: 192.168.0.21
                
            - DEVICE: 
                name: Takahashi_Epsilon_180ED_001
                file: device_Takahashi_180ED_sn001.yml
86895541   aklotz   Mise à jour de co...
39

40d27b85   Alexis Koralewski   Add 'inventory' s...
40
41
42
            - DEVICE: 
                name: Takahashi_Epsilon_180ED_002
                file: device_Takahashi_180ED_sn002.yml
86895541   aklotz   Mise à jour de co...
43

40d27b85   Alexis Koralewski   Add 'inventory' s...
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
            - DEVICE: 
                name: Takahashi_Epsilon_180ED_003
                file: device_Takahashi_180ED_sn003.yml
                
            - DEVICE: 
                name: Takahashi_Epsilon_180ED_004
                file: device_Takahashi_180ED_sn004.yml
                
            - DEVICE: 
                name: FLI_Kepler4040_001
                file: device_FLI_Kepler4040_sn28212x1.yml
                
            - DEVICE: 
                name: FLI_Kepler4040_002
                file: device_FLI_Kepler4040_sn28212x2.yml
                
            - DEVICE: 
                name: FLI_Kepler4040_003
                file: device_FLI_Kepler4040_sn28212x3.yml
                
            - DEVICE: 
                name: FLI_Kepler4040_004
                file: device_FLI_Kepler4040_sn28212x4.yml
                
            - DEVICE: 
                name: FLI_KeplerGPS_001
                file: device_FLI_KITS_sn2x1.yml
86895541   aklotz   Mise à jour de co...
71

40d27b85   Alexis Koralewski   Add 'inventory' s...
72
73
74
            - DEVICE: 
                name: FLI_KeplerGPS_002
                file: device_FLI_KITS_sn2x2.yml
86895541   aklotz   Mise à jour de co...
75

40d27b85   Alexis Koralewski   Add 'inventory' s...
76
77
78
            - DEVICE: 
                name: FLI_KeplerGPS_003
                file: device_FLI_KITS_sn2x3.yml
86895541   aklotz   Mise à jour de co...
79

40d27b85   Alexis Koralewski   Add 'inventory' s...
80
81
82
83
84
85
86
            - DEVICE: 
                name: FLI_KeplerGPS_004
                file: device_FLI_KITS_sn2x4.yml
                
            - DEVICE: 
                name: Optec_TFC19740_001
                file: device_Optec_TFC19740_sn001.yml
86895541   aklotz   Mise à jour de co...
87

40d27b85   Alexis Koralewski   Add 'inventory' s...
88
89
90
            - DEVICE: 
                name: Optec_TFC19740_002
                file: device_Optec_TFC19740_sn002.yml
86895541   aklotz   Mise à jour de co...
91

40d27b85   Alexis Koralewski   Add 'inventory' s...
92
93
94
            - DEVICE: 
                name: Optec_TFC19740_003
                file: device_Optec_TFC19740_sn003.yml
86895541   aklotz   Mise à jour de co...
95

40d27b85   Alexis Koralewski   Add 'inventory' s...
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
            - DEVICE: 
                name: Optec_TFC19740_004
                file: device_Optec_TFC19740_sn004.yml
                
                
        # === Inventory of available computers
        # A computer is a hardware of a virtual machine.
        # As a computer can be shared with various units, it is defined at the observatory level.
        COMPUTERS:
        
            - COMPUTER:
                name: MainComputer
                file: computer_XCY_X26A_snAA478.yml
                # Describe here the configuration of the computer in operation
                role: Main
                # Choice of the interface to connect the computer to the network (cf. _network_interfaces in _file)
                network_interface_index: 0
                # IP attributed by the Router
                network_ip: 192.168.0.11
b06742d0   Alain Klotz   Ajout de mon ordi...
115
116
117
118
119
120
121
122
123
124

            - COMPUTER:
                name: AKlotzPersoComputer
                file: computer_Dell_Precision5550_snLW2134IRC3.yml
                # Describe here the configuration of the computer in operation
                role: Main
                # Choice of the interface to connect the computer to the network (cf. _network_interfaces in _file)
                network_interface_index: 0
                # IP attributed by the Router
                network_ip: 192.168.1.7
febde77e   Alain Klotz   correction des pa...
125
126
127
128
129
130
131
132
133
134

            - COMPUTER:
                name: AKoralewskiPersoComputer
                file: computer_HP_EliteBook840_snKoralevski.yml
                # Describe here the configuration of the computer in operation
                role: Main
                # Choice of the interface to connect the computer to the network (cf. _network_interfaces in _file)
                network_interface_index: 0
                # IP attributed by the Router
                network_ip: 192.168.1.7
eb6649f7   Etienne Pallier   bugfix DEFAULT_VA...
135
136
137
138
139
140
141
142
143
144
145

            - COMPUTER:
                name: EtienneComputer
                file: computer_XYZ_EP.yml
                    # Describe here the configuration of the computer in operation
                role: Main
                    # Choice of the interface to connect the computer to the network (cf.network_interfaces infile)
                network_interface_index: 0
                    # IP attributed by the Router
                network_ip: 192.168.0.11

86895541   aklotz   Mise à jour de co...
146
147
148
149
150
151
152
153
154
155
156
157
158
    # === Assembly of devices into units
    # A unit is a robotic telescope 
    UNITS: 

        - UNIT: 
            name: TNC
            home: "GPS 2.0375 E 43.6443484725 136.9"
            horizon:
                type: ALTAZ
                line: [ [0,0], [360,0] ]
            
            DATABASE:
                computer: MainComputer
2d10959d   Alexis Koralewski   Adding mandatory ...
159
                file: .database.env 
86895541   aklotz   Mise à jour de co...
160
161
162
163
164
                    
            AGENTS:
            
                # ============================================
                - AGENT_DEVICE:
d3068189   Alexis Koralewski   Renaming agent_de...
165
                    name: AgentM
9c5a602c   Etienne Pallier   Updated general c...
166
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
167
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
168
                    device: TAROT_meteo
05316241   Alexis Koralewski   Adding AgentSST, ...
169
                    protocol: private/plugin/agent_devices/AgentM.py
1a1a983f   Alexis Koralewski   Creation of defau...
170
                    is_real: False
6cd48351   Etienne Pallier   AgentScheduler is...
171

05316241   Alexis Koralewski   Adding AgentSST, ...
172
173
174
175
176
177
178
                # - AGENT_DEVICE:
                #     name: AgentScheduler
                #     computer: MainComputer
                #     path: private/plugin/agent_devices
                #     device: TAROT_meteo
                #     protocol: private/plugin/agent_devices/plc_protocol.py
                #     is_real: False
6cd48351   Etienne Pallier   AgentScheduler is...
179

86895541   aklotz   Mise à jour de co...
180
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
181
                    name: mount
9c5a602c   Etienne Pallier   Updated general c...
182
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
183
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
184
                    device: AstroMecCA_TM350
86895541   aklotz   Mise à jour de co...
185
                    protocol: private/plugin/agent_devices/mount_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
186
                    is_real: False
86895541   aklotz   Mise à jour de co...
187
188
189

                # ============================================
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
190
                    name: optic_up1
9c5a602c   Etienne Pallier   Updated general c...
191
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
192
                    path: ~
a7632ff4   Etienne Pallier   replaced "-" with...
193
                    device: Takahashi_Epsilon_180ED_001
1a1a983f   Alexis Koralewski   Creation of defau...
194
                    is_real: False
86895541   aklotz   Mise à jour de co...
195
196

                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
197
                    name: focuser_up1
9c5a602c   Etienne Pallier   Updated general c...
198
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
199
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
200
                    device: Optec_TFC19740_001
1a1a983f   Alexis Koralewski   Creation of defau...
201
                    is_real: False
86895541   aklotz   Mise à jour de co...
202
203
                    
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
204
                    name: camera_up1
9c5a602c   Etienne Pallier   Updated general c...
205
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
206
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
207
                    device: FLI_Kepler4040_001
86895541   aklotz   Mise à jour de co...
208
                    protocol: private/plugin/agent_devices/camera_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
209
                    is_real: False
86895541   aklotz   Mise à jour de co...
210
211
212

                # ============================================
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
213
                    name: optic_up2
9c5a602c   Etienne Pallier   Updated general c...
214
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
215
                    path: ~
a7632ff4   Etienne Pallier   replaced "-" with...
216
                    device: Takahashi_Epsilon_180ED_002
1a1a983f   Alexis Koralewski   Creation of defau...
217
                    is_real: False
86895541   aklotz   Mise à jour de co...
218
219

                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
220
                    name: focuser_up2
9c5a602c   Etienne Pallier   Updated general c...
221
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
222
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
223
                    device: Optec_TFC19740_002
1a1a983f   Alexis Koralewski   Creation of defau...
224
                    is_real: False
86895541   aklotz   Mise à jour de co...
225
226
                    
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
227
                    name: camera_up2
9c5a602c   Etienne Pallier   Updated general c...
228
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
229
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
230
                    device: FLI_Kepler4040_002
86895541   aklotz   Mise à jour de co...
231
                    protocol: private/plugin/agent_devices/camera_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
232
                    is_real: False
86895541   aklotz   Mise à jour de co...
233
234
235

                # ============================================
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
236
                    name: optic_down1
9c5a602c   Etienne Pallier   Updated general c...
237
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
238
                    path: ~
a7632ff4   Etienne Pallier   replaced "-" with...
239
                    device: Takahashi_Epsilon_180ED_003
1a1a983f   Alexis Koralewski   Creation of defau...
240
                    is_real: False
86895541   aklotz   Mise à jour de co...
241
242

                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
243
                    name: focuser_down1
9c5a602c   Etienne Pallier   Updated general c...
244
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
245
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
246
                    device: Optec_TFC19740_003
1a1a983f   Alexis Koralewski   Creation of defau...
247
                    is_real: False
86895541   aklotz   Mise à jour de co...
248
249
                    
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
250
                    name: camera_down1
9c5a602c   Etienne Pallier   Updated general c...
251
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
252
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
253
                    device: FLI_Kepler4040_003
86895541   aklotz   Mise à jour de co...
254
                    protocol: private/plugin/agent_devices/camera_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
255
                    is_real: False
86895541   aklotz   Mise à jour de co...
256
257
258

                # ============================================
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
259
                    name: optic_down2
9c5a602c   Etienne Pallier   Updated general c...
260
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
261
                    path: ~
a7632ff4   Etienne Pallier   replaced "-" with...
262
                    device: Takahashi_Epsilon_180ED_004
1a1a983f   Alexis Koralewski   Creation of defau...
263
                    is_real: False
86895541   aklotz   Mise à jour de co...
264
265

                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
266
                    name: focuser_down2
9c5a602c   Etienne Pallier   Updated general c...
267
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
268
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
269
                    device: Optec_TFC19740_004
1a1a983f   Alexis Koralewski   Creation of defau...
270
271
                    is_real: False

86895541   aklotz   Mise à jour de co...
272
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
273
                    name: camera_down2
9c5a602c   Etienne Pallier   Updated general c...
274
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
275
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
276
                    device: FLI_Kepler4040_004
86895541   aklotz   Mise à jour de co...
277
                    protocol: private/plugin/agent_devices/camera_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
278
                    is_real: False
86895541   aklotz   Mise à jour de co...
279
280
281

                # ============================================
                - AGENT:
2d10959d   Alexis Koralewski   Adding mandatory ...
282
                    name: AgentMajordome
9c5a602c   Etienne Pallier   Updated general c...
283
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
284
                    path: ~
05316241   Alexis Koralewski   Adding AgentSST, ...
285
286
287
288
289

                - AGENT:
                    name: AgentSP
                    computer: MainComputer
                    protocol: private/plugin/agent/AgentSP.py
05316241   Alexis Koralewski   Adding AgentSST, ...
290

febde77e   Alain Klotz   correction des pa...
291
                # SF07-PLN (for AKz)
05316241   Alexis Koralewski   Adding AgentSST, ...
292
293
294
295
296
                - AGENT:
                    name: AgentScheduler
                    computer: MainComputer
                    protocol: private/plugin/agent/AgentScheduler.py

febde77e   Alain Klotz   correction des pa...
297
                # SF11-IPC (for AKz)
ec67354c   Etienne Pallier   ajout de agentIma...
298
                - AGENT:
e6a63db3   Alain Klotz   AgentImagesProces...
299
                    name: AgentImagesProcessor
ec67354c   Etienne Pallier   ajout de agentIma...
300
                    computer: MainComputer
ec67354c   Etienne Pallier   ajout de agentIma...
301

febde77e   Alain Klotz   correction des pa...
302
                # SF11-IPC (for AKz)
e6a63db3   Alain Klotz   AgentImagesProces...
303
                - AGENT:
f3da8ca0   Alain Klotz   finalisation de A...
304
                    name: AgentImagesProcessor_tnc_up1_akz
04b0b442   Alexis Koralewski   Changing computer...
305
                    computer: AKlotzPersoComputer
e6a63db3   Alain Klotz   AgentImagesProces...
306
                    protocol: privatedev/plugin/agent/AgentImagesProcessor_tnc_up1.py
6cd48351   Etienne Pallier   AgentScheduler is...
307

09f496d5   Alexis Koralewski   Change on naming ...
308
309
310
311
312
313

                - AGENT:
                    name: AgentImagesProcessor_tnc_up1_ako
                    computer: AKoralewskiPersoComputer
                    protocol: privatedev/plugin/agent/AgentImagesProcessor_tnc_up1.py

eb6649f7   Etienne Pallier   bugfix DEFAULT_VA...
314
                # Basic Agent (for EP, to test the Agent base class)
febde77e   Alain Klotz   correction des pa...
315
                - AGENT:
eb6649f7   Etienne Pallier   bugfix DEFAULT_VA...
316
317
318
319
                    name: AgentBasic
                    computer: EtienneComputer
                    protocol: private/plugin/agent/AgentBasic.py

febde77e   Alain Klotz   correction des pa...
320

86895541   aklotz   Mise à jour de co...
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
            TOPOLOGY:
            
                SECURITY:
                    name: PLC
                    COMPONENT_AGENTS:
                        - WeatherStation: plc
                        - BuildingCover: plc

                MOUNT:
                    name: TM350
                    COMPONENT_AGENTS:
                        - MountPointing: mount
                    
                CHANNELS:
                              
                    - CHANNEL:
a7632ff4   Etienne Pallier   replaced "-" with...
337
                        name: OpticalChannel_up1
86895541   aklotz   Mise à jour de co...
338
339
340
341
342
343
344
                        COMPONENT_AGENTS:
                            - OpticImager: optic_up1
                            - DetectorFocuser: focuser_up1
                            - DetectorSensor: camera_up1
                            - DetectorShutter: camera_up1
                            - DetectorTimer: camera_up1

ee9b76c1   Alexis Koralewski   Re activate optic...
345
                    - CHANNEL:
a7632ff4   Etienne Pallier   replaced "-" with...
346
                        name: OpticalChannel_up2
ee9b76c1   Alexis Koralewski   Re activate optic...
347
348
349
350
351
352
                        COMPONENT_AGENTS:
                            - OpticImager: optic_up2
                            - DetectorFocuser: focuser_up2
                            - DetectorSensor: camera_up2
                            - DetectorShutter: camera_up2
                            - DetectorTimer: camera_up2
86895541   aklotz   Mise à jour de co...
353
354

                    - CHANNEL:
a7632ff4   Etienne Pallier   replaced "-" with...
355
                        name: OpticalChannel_down1
86895541   aklotz   Mise à jour de co...
356
357
358
359
360
361
362
363
                        COMPONENT_AGENTS:
                            - OpticImager: optic_down1
                            - DetectorFocuser: focuser_down1
                            - DetectorSensor: camera_down1
                            - DetectorShutter: camera_down1
                            - DetectorTimer: camera_down1

                    - CHANNEL:
a7632ff4   Etienne Pallier   replaced "-" with...
364
                        name: OpticalChannel_down2
86895541   aklotz   Mise à jour de co...
365
366
367
368
369
370
371
                        COMPONENT_AGENTS:
                            - OpticImager: optic_down2
                            - DetectorFocuser: focuser_down2
                            - DetectorSensor: camera_down2
                            - DetectorShutter: camera_down2
                            - DetectorTimer: camera_down2

a0f06fea   Alain Klotz   Layout sans schema.
372
373
374
                ALBUMS:
                
                    - ALBUM :
cca89707   Alexis Koralewski   adapting observat...
375
                        name: AlTogether
7b9f2910   Alexis Koralewski   adding descriptio...
376
                        description: All channels
a0f06fea   Alain Klotz   Layout sans schema.
377
378
379
380
381
382
383
384
                        CHANNELS:
                            - OpticalChannel_down2
                            - OpticalChannel_down1
                            - OpticalChannel_up2
                            - OpticalChannel_up1
                            
                    - ALBUM :
                        name: TwoDown
7b9f2910   Alexis Koralewski   adding descriptio...
385
                        description: Two channel of the down side
a0f06fea   Alain Klotz   Layout sans schema.
386
387
388
389
390
                        CHANNELS:
                            - OpticalChannel_down2
                            - OpticalChannel_down1
                    - ALBUM :
                        name: TwoUp
7b9f2910   Alexis Koralewski   adding descriptio...
391
                        description: Two channel of the up side
a0f06fea   Alain Klotz   Layout sans schema.
392
393
394
395
396
397
                        CHANNELS:
                            - OpticalChannel_up2
                            - OpticalChannel_up1

                    - ALBUM :
                        name: Three
7b9f2910   Alexis Koralewski   adding descriptio...
398
                        description: Two channel of the down side and one up side (2nd up)
a0f06fea   Alain Klotz   Layout sans schema.
399
400
401
402
403
404
405
                        CHANNELS:
                            - OpticalChannel_down2
                            - OpticalChannel_down1
                            - OpticalChannel_up2

                    - ALBUM :
                        name: One
7b9f2910   Alexis Koralewski   adding descriptio...
406
                        description: One up channel (first)
a0f06fea   Alain Klotz   Layout sans schema.
407
408
409
410
411
412
413
                        CHANNELS:
                            - OpticalChannel_up1
                
                LAYOUTS:

                    - LAYOUT:
                        name: AlTogether
564a4812   Etienne Pallier   added pylon6.3.0 ...
414
                        description: All 4 cameras working altogether in sync
a0f06fea   Alain Klotz   Layout sans schema.
415
416
417
418
419
                        ALBUMS:
                            - AlTogether
                            
                    - LAYOUT:
                        name: TwoTwo
564a4812   Etienne Pallier   added pylon6.3.0 ...
420
                        description: Two groups (TwoUp & TwoDown) with 2 cameras each
a0f06fea   Alain Klotz   Layout sans schema.
421
422
423
424
425
426
                        ALBUMS:
                            - TwoDown
                            - TwoUp
                            
                    - LAYOUT:
                        name: ThreeOne
564a4812   Etienne Pallier   added pylon6.3.0 ...
427
                        description: Two groups, one with 3 cameras ("Three") and one with 1 camera ("One")
a0f06fea   Alain Klotz   Layout sans schema.
428
429
430
                        ALBUMS:
                            - Three
                            - One