Blame view

privatedev/config/tnc/observatory_tnc.yml 12.2 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
8
9
10
11
12
13
14
15
16

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

    name: TNC
    
    # === 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:
    
        # Each device is defined by a specific configuration file that enumarate the components.
        
        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
17
            name: AstroMecCA_TM350
86895541   aklotz   Mise à jour de co...
18
19
20
            file: device_Astromecca_TM350_sn011.yml
            
        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
21
            name: TAROT_meteo
86895541   aklotz   Mise à jour de co...
22
23
24
25
26
27
            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

        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
28
            name: AstroMecaCA_CS100 # roof of the observatory
86895541   aklotz   Mise à jour de co...
29
30
31
32
33
34
            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: 
a7632ff4   Etienne Pallier   replaced "-" with...
35
            name: Takahashi_Epsilon_180ED_001
c132ba0f   Alexis Koralewski   Fixing TNC config...
36
            file: device_Takahashi_180ED_sn001.yml
86895541   aklotz   Mise à jour de co...
37
38

        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
39
            name: Takahashi_Epsilon_180ED_002
c132ba0f   Alexis Koralewski   Fixing TNC config...
40
            file: device_Takahashi_180ED_sn002.yml
86895541   aklotz   Mise à jour de co...
41
42

        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
43
            name: Takahashi_Epsilon_180ED_003
c132ba0f   Alexis Koralewski   Fixing TNC config...
44
            file: device_Takahashi_180ED_sn003.yml
86895541   aklotz   Mise à jour de co...
45
46
            
        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
47
            name: Takahashi_Epsilon_180ED_004
c132ba0f   Alexis Koralewski   Fixing TNC config...
48
            file: device_Takahashi_180ED_sn004.yml
86895541   aklotz   Mise à jour de co...
49
50
            
        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
51
            name: FLI_Kepler4040_001
c132ba0f   Alexis Koralewski   Fixing TNC config...
52
            file: device_FLI_Kepler4040_sn28212x1.yml
86895541   aklotz   Mise à jour de co...
53
54
            
        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
55
            name: FLI_Kepler4040_002
c132ba0f   Alexis Koralewski   Fixing TNC config...
56
            file: device_FLI_Kepler4040_sn28212x2.yml
86895541   aklotz   Mise à jour de co...
57
58
            
        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
59
            name: FLI_Kepler4040_003
c132ba0f   Alexis Koralewski   Fixing TNC config...
60
            file: device_FLI_Kepler4040_sn28212x3.yml
86895541   aklotz   Mise à jour de co...
61
62
            
        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
63
            name: FLI_Kepler4040_004
c132ba0f   Alexis Koralewski   Fixing TNC config...
64
            file: device_FLI_Kepler4040_sn28212x4.yml
86895541   aklotz   Mise à jour de co...
65
66
            
        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
67
            name: FLI_KeplerGPS_001
c132ba0f   Alexis Koralewski   Fixing TNC config...
68
            file: device_FLI_KITS_sn2x1.yml
86895541   aklotz   Mise à jour de co...
69
70

        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
71
            name: FLI_KeplerGPS_002
c132ba0f   Alexis Koralewski   Fixing TNC config...
72
            file: device_FLI_KITS_sn2x2.yml
86895541   aklotz   Mise à jour de co...
73
74

        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
75
            name: FLI_KeplerGPS_003
c132ba0f   Alexis Koralewski   Fixing TNC config...
76
            file: device_FLI_KITS_sn2x3.yml
86895541   aklotz   Mise à jour de co...
77
78

        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
79
            name: FLI_KeplerGPS_004
c132ba0f   Alexis Koralewski   Fixing TNC config...
80
            file: device_FLI_KITS_sn2x4.yml
86895541   aklotz   Mise à jour de co...
81
82
            
        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
83
            name: Optec_TFC19740_001
c132ba0f   Alexis Koralewski   Fixing TNC config...
84
            file: device_Optec_TFC19740_sn001.yml
86895541   aklotz   Mise à jour de co...
85
86

        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
87
            name: Optec_TFC19740_002
c132ba0f   Alexis Koralewski   Fixing TNC config...
88
            file: device_Optec_TFC19740_sn002.yml
86895541   aklotz   Mise à jour de co...
89
90

        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
91
            name: Optec_TFC19740_003
c132ba0f   Alexis Koralewski   Fixing TNC config...
92
            file: device_Optec_TFC19740_sn003.yml
86895541   aklotz   Mise à jour de co...
93
94

        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
95
            name: Optec_TFC19740_004
c132ba0f   Alexis Koralewski   Fixing TNC config...
96
            file: device_Optec_TFC19740_sn004.yml
86895541   aklotz   Mise à jour de co...
97
98
99
100
101
102
103
104
            
            
    # === 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:
86895541   aklotz   Mise à jour de co...
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
            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
            
    # === 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
                file: pyros/docker/.env
                    
            AGENTS:
            
                # ============================================
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
133
                    name: plc
9c5a602c   Etienne Pallier   Updated general c...
134
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
135
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
136
                    device: TAROT_meteo
86895541   aklotz   Mise à jour de co...
137
                    protocol: private/plugin/agent_devices/plc_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
138
                    is_real: False
86895541   aklotz   Mise à jour de co...
139
140
                    
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
141
                    name: mount
9c5a602c   Etienne Pallier   Updated general c...
142
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
143
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
144
                    device: AstroMecCA_TM350
86895541   aklotz   Mise à jour de co...
145
                    protocol: private/plugin/agent_devices/mount_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
146
                    is_real: False
86895541   aklotz   Mise à jour de co...
147
148
149

                # ============================================
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
150
                    name: optic_up1
9c5a602c   Etienne Pallier   Updated general c...
151
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
152
                    path: ~
a7632ff4   Etienne Pallier   replaced "-" with...
153
                    device: Takahashi_Epsilon_180ED_001
1a1a983f   Alexis Koralewski   Creation of defau...
154
                    is_real: False
86895541   aklotz   Mise à jour de co...
155
156

                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
157
                    name: focuser_up1
9c5a602c   Etienne Pallier   Updated general c...
158
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
159
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
160
                    device: Optec_TFC19740_001
1a1a983f   Alexis Koralewski   Creation of defau...
161
                    is_real: False
86895541   aklotz   Mise à jour de co...
162
163
                    
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
164
                    name: camera_up1
9c5a602c   Etienne Pallier   Updated general c...
165
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
166
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
167
                    device: FLI_Kepler4040_001
86895541   aklotz   Mise à jour de co...
168
                    protocol: private/plugin/agent_devices/camera_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
169
                    is_real: False
86895541   aklotz   Mise à jour de co...
170
171
172

                # ============================================
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
173
                    name: optic_up2
9c5a602c   Etienne Pallier   Updated general c...
174
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
175
                    path: ~
a7632ff4   Etienne Pallier   replaced "-" with...
176
                    device: Takahashi_Epsilon_180ED_002
1a1a983f   Alexis Koralewski   Creation of defau...
177
                    is_real: False
86895541   aklotz   Mise à jour de co...
178
179

                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
180
                    name: focuser_up2
9c5a602c   Etienne Pallier   Updated general c...
181
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
182
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
183
                    device: Optec_TFC19740_002
1a1a983f   Alexis Koralewski   Creation of defau...
184
                    is_real: False
86895541   aklotz   Mise à jour de co...
185
186
                    
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
187
                    name: camera_up2
9c5a602c   Etienne Pallier   Updated general c...
188
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
189
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
190
                    device: FLI_Kepler4040_002
86895541   aklotz   Mise à jour de co...
191
                    protocol: private/plugin/agent_devices/camera_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
192
                    is_real: False
86895541   aklotz   Mise à jour de co...
193
194
195

                # ============================================
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
196
                    name: optic_down1
9c5a602c   Etienne Pallier   Updated general c...
197
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
198
                    path: ~
a7632ff4   Etienne Pallier   replaced "-" with...
199
                    device: Takahashi_Epsilon_180ED_003
1a1a983f   Alexis Koralewski   Creation of defau...
200
                    is_real: False
86895541   aklotz   Mise à jour de co...
201
202

                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
203
                    name: focuser_down1
9c5a602c   Etienne Pallier   Updated general c...
204
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
205
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
206
                    device: Optec_TFC19740_003
1a1a983f   Alexis Koralewski   Creation of defau...
207
                    is_real: False
86895541   aklotz   Mise à jour de co...
208
209
                    
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
210
                    name: camera_down1
9c5a602c   Etienne Pallier   Updated general c...
211
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
212
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
213
                    device: FLI_Kepler4040_003
86895541   aklotz   Mise à jour de co...
214
                    protocol: private/plugin/agent_devices/camera_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
215
                    is_real: False
86895541   aklotz   Mise à jour de co...
216
217
218

                # ============================================
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
219
                    name: optic_down2
9c5a602c   Etienne Pallier   Updated general c...
220
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
221
                    path: ~
a7632ff4   Etienne Pallier   replaced "-" with...
222
                    device: Takahashi_Epsilon_180ED_004
1a1a983f   Alexis Koralewski   Creation of defau...
223
                    is_real: False
86895541   aklotz   Mise à jour de co...
224
225

                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
226
                    name: focuser_down2
9c5a602c   Etienne Pallier   Updated general c...
227
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
228
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
229
                    device: Optec_TFC19740_004
1a1a983f   Alexis Koralewski   Creation of defau...
230
231
                    is_real: False

86895541   aklotz   Mise à jour de co...
232
                - AGENT_DEVICE:
86895541   aklotz   Mise à jour de co...
233
                    name: camera_down2
9c5a602c   Etienne Pallier   Updated general c...
234
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
235
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
236
                    device: FLI_Kepler4040_004
86895541   aklotz   Mise à jour de co...
237
                    protocol: private/plugin/agent_devices/camera_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
238
                    is_real: False
86895541   aklotz   Mise à jour de co...
239
240
241

                # ============================================
                - AGENT:
86895541   aklotz   Mise à jour de co...
242
                    name: majordome
9c5a602c   Etienne Pallier   Updated general c...
243
                    computer: MainComputer
86895541   aklotz   Mise à jour de co...
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
                    path: ~
            
            TOPOLOGY:
            
                SECURITY:
                    name: PLC
                    COMPONENT_AGENTS:
                        - WeatherStation: plc
                        - BuildingCover: plc

                MOUNT:
                    name: TM350
                    COMPONENT_AGENTS:
                        - MountPointing: mount
                    
                CHANNELS:
                              
                    - CHANNEL:
a7632ff4   Etienne Pallier   replaced "-" with...
262
                        name: OpticalChannel_up1
86895541   aklotz   Mise à jour de co...
263
264
265
266
267
268
269
                        COMPONENT_AGENTS:
                            - OpticImager: optic_up1
                            - DetectorFocuser: focuser_up1
                            - DetectorSensor: camera_up1
                            - DetectorShutter: camera_up1
                            - DetectorTimer: camera_up1

ee9b76c1   Alexis Koralewski   Re activate optic...
270
                    - CHANNEL:
a7632ff4   Etienne Pallier   replaced "-" with...
271
                        name: OpticalChannel_up2
ee9b76c1   Alexis Koralewski   Re activate optic...
272
273
274
275
276
277
                        COMPONENT_AGENTS:
                            - OpticImager: optic_up2
                            - DetectorFocuser: focuser_up2
                            - DetectorSensor: camera_up2
                            - DetectorShutter: camera_up2
                            - DetectorTimer: camera_up2
86895541   aklotz   Mise à jour de co...
278
279

                    - CHANNEL:
a7632ff4   Etienne Pallier   replaced "-" with...
280
                        name: OpticalChannel_down1
86895541   aklotz   Mise à jour de co...
281
282
283
284
285
286
287
288
                        COMPONENT_AGENTS:
                            - OpticImager: optic_down1
                            - DetectorFocuser: focuser_down1
                            - DetectorSensor: camera_down1
                            - DetectorShutter: camera_down1
                            - DetectorTimer: camera_down1

                    - CHANNEL:
a7632ff4   Etienne Pallier   replaced "-" with...
289
                        name: OpticalChannel_down2
86895541   aklotz   Mise à jour de co...
290
291
292
293
294
295
296
                        COMPONENT_AGENTS:
                            - OpticImager: optic_down2
                            - DetectorFocuser: focuser_down2
                            - DetectorSensor: camera_down2
                            - DetectorShutter: camera_down2
                            - DetectorTimer: camera_down2

a0f06fea   Alain Klotz   Layout sans schema.
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
                ALBUMS:
                
                    - ALBUM :
                        name: Altogether
                        CHANNELS:
                            - OpticalChannel_down2
                            - OpticalChannel_down1
                            - OpticalChannel_up2
                            - OpticalChannel_up1
                            
                    - ALBUM :
                        name: TwoDown
                        CHANNELS:
                            - OpticalChannel_down2
                            - OpticalChannel_down1
                    - ALBUM :
                        name: TwoUp
                        CHANNELS:
                            - OpticalChannel_up2
                            - OpticalChannel_up1

                    - ALBUM :
                        name: Three
                        CHANNELS:
                            - OpticalChannel_down2
                            - OpticalChannel_down1
                            - OpticalChannel_up2

                    - ALBUM :
                        name: One
                        CHANNELS:
                            - OpticalChannel_up1
                
                LAYOUTS:

                    - LAYOUT:
                        name: AlTogether
                        ALBUMS:
                            - AlTogether
                            
                    - LAYOUT:
                        name: TwoTwo
                        ALBUMS:
                            - TwoDown
                            - TwoUp
                            
                    - LAYOUT:
                        name: ThreeOne
                        ALBUMS:
                            - Three
                            - One