Blame view

privatedev/config/guitalens/observatory_guitalens.yml 7.57 KB
d9f9c305   aklotz   troisieme commit ...
1
# Schema file to check the syntax of this config file
cdc14de9   Etienne Pallier   schema with "-" i...
2
schema: schema_observatory-2.0.yml
d9f9c305   aklotz   troisieme commit ...
3
4
5
6

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

ee2a5e47   Alexis Koralewski   New version of ob...
7
    name: Guitalens
d9f9c305   aklotz   troisieme commit ...
8
    
7b9f2910   Alexis Koralewski   adding descriptio...
9
    INVENTORY:
40d27b85   Alexis Koralewski   Add 'inventory' s...
10
11
12
13
        # === 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:
d9f9c305   aklotz   troisieme commit ...
14
        
40d27b85   Alexis Koralewski   Add 'inventory' s...
15
            # Each device is defined by a specific configuration file that enumerate the components.
d9f9c305   aklotz   troisieme commit ...
16
            
40d27b85   Alexis Koralewski   Add 'inventory' s...
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
            - DEVICE: 
                name: AstroMecCA_TM350
                file: device_Astromecca_TM350_sn001.yml
                
            - DEVICE: 
                name: PLC_meteo
                file: device_Raspberry_MiFe_sn004.yml
                # Describe here the configuration of the device in operation
                network_interface_index: 0
                network_ip: 192.168.0.2
                
            - DEVICE: 
                name: SkyWatcher_ED80
                file: device_SkyWatcher_ED80_snxx1.yml
                
            - DEVICE: 
                name: Celestron_C11
                file: device_Celestron_C11_sn974234.yml
                
            - DEVICE: 
                name: ZWO_ASI1600MMPro
                file: device_ZWO_ASI1600MMPro_sn91C0f0405080900.yml
                
            - DEVICE: 
7b9f2910   Alexis Koralewski   adding descriptio...
41
42
43
                name: FLI_Kepler4040
                file: device_FLI_Kepler4040_sn2821221.yml
                    
40d27b85   Alexis Koralewski   Add 'inventory' s...
44
            - DEVICE: 
7b9f2910   Alexis Koralewski   adding descriptio...
45
46
                name: FLI_KeplerGPS
                file: device_FLI_KITS_sn0x1.yml
40d27b85   Alexis Koralewski   Add 'inventory' s...
47
                
9c5a602c   Etienne Pallier   Updated general c...
48

40d27b85   Alexis Koralewski   Add 'inventory' s...
49
50
51
52
53
54
        # === 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:
7b9f2910   Alexis Koralewski   adding descriptio...
55
56
57
58
59
60
61
62
                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 infile)
                network_interface_index: 0
                    # IP attributed by the Router
                network_ip: 192.168.0.11
9c5a602c   Etienne Pallier   Updated general c...
63

40d27b85   Alexis Koralewski   Add 'inventory' s...
64
            - COMPUTER:
7b9f2910   Alexis Koralewski   adding descriptio...
65
66
67
68
69
70
71
72
                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
9c5a602c   Etienne Pallier   Updated general c...
73

7b9f2910   Alexis Koralewski   adding descriptio...
74
                
d9f9c305   aklotz   troisieme commit ...
75
76
77
78
79
    # === Assembly of devices into units
    # A unit is a robotic telescope 
    UNITS: 

        - UNIT: 
1f71a65f   Etienne Pallier   config guitalens ...
80
            name: TNC_prototype
ee2a5e47   Alexis Koralewski   New version of ob...
81
82
83
84
            home: "GPS 2.0375 E 43.6443484725 136.9"
            horizon:
                type: ALTAZ
                line: [ [0,0], [360,0] ]
9ab7385c   aklotz   attached device
85
                
d9f9c305   aklotz   troisieme commit ...
86
            DATABASE:
ee2a5e47   Alexis Koralewski   New version of ob...
87
                computer: MainComputer
2d10959d   Alexis Koralewski   Adding mandatory ...
88
                file: .database.env
c008c3bc   Alain Klotz   Add DEPENDENCIES ...
89
90
91
92
93
94
95
96
97
98

            DEPENDENCIES:
            
                - DEPENDENCY:
                    computers: 
                        - MainComputer
                        - EtienneComputer
                    links:
                        - link:
                            type: git
c008c3bc   Alain Klotz   Add DEPENDENCIES ...
99
100
                            name: guitastro_mount_astromecca
                            url: https://gitlab.irap.omp.eu/guitastrolib/guitastro_mount_astromecca
c157aba8   Alain Klotz   Ajout dependencie...
101
102
103
                            install: 
                                shell: /bin/sh
                                script: "guitastro/install/install.sh"
c008c3bc   Alain Klotz   Add DEPENDENCIES ...
104
105
106
107
                        - link:
                            type: git
                            name: guitastro_camera_indi
                            url: https://gitlab.irap.omp.eu/guitastrolib/guitastro_camera_indi
c157aba8   Alain Klotz   Ajout dependencie...
108
109
110
                            install: 
                                shell: /bin/sh
                                script: "guitastro/install/install.sh"
d9f9c305   aklotz   troisieme commit ...
111
112
113
114
                    
            AGENTS:
            
                - AGENT_DEVICE:
18dc05ab   Alexis Koralewski   Renaming plc agen...
115
                    name: AgentM
9c5a602c   Etienne Pallier   Updated general c...
116
                    computer: MainComputer
ee2a5e47   Alexis Koralewski   New version of ob...
117
                    path: private/plugin/agent_devices
1f71a65f   Etienne Pallier   config guitalens ...
118
                    device: PLC_meteo
ee2a5e47   Alexis Koralewski   New version of ob...
119
                    protocol: private/plugin/agent_devices/plc_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
120
                    is_real: False
d9f9c305   aklotz   troisieme commit ...
121
122
                    
                - AGENT_DEVICE:
9c5a602c   Etienne Pallier   Updated general c...
123
                    name: mount
ee2a5e47   Alexis Koralewski   New version of ob...
124
                    computer: MainComputer
9c5a602c   Etienne Pallier   Updated general c...
125
126
127
128
129
130
                    path: private/plugin/agent_devices
                    device: AstroMecCA_TM350
                    protocol: private/plugin/agent_devices/mount_protocol.py
                    is_real: False

                - AGENT_DEVICE:
ee2a5e47   Alexis Koralewski   New version of ob...
131
                    name: mount
9c5a602c   Etienne Pallier   Updated general c...
132
                    computer: EtienneComputer
3d4ab326   Alexis Koralewski   adding new attrib...
133
                    comm_access: "//./COM3" # parameters of the comm: support of the device, here only for serial comm
ee2a5e47   Alexis Koralewski   New version of ob...
134
                    path: private/plugin/agent_devices
1f71a65f   Etienne Pallier   config guitalens ...
135
                    device: AstroMecCA_TM350
ee2a5e47   Alexis Koralewski   New version of ob...
136
                    protocol: private/plugin/agent_devices/mount_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
137
                    is_real: False
d9f9c305   aklotz   troisieme commit ...
138
139

                - AGENT_DEVICE:
ee2a5e47   Alexis Koralewski   New version of ob...
140
                    name: optic_up
9c5a602c   Etienne Pallier   Updated general c...
141
                    computer: None
ee2a5e47   Alexis Koralewski   New version of ob...
142
                    path: ~
1f71a65f   Etienne Pallier   config guitalens ...
143
                    device: Celestron_C11
1a1a983f   Alexis Koralewski   Creation of defau...
144
                    is_real: False
d9f9c305   aklotz   troisieme commit ...
145
146
                    
                - AGENT_DEVICE:
ee2a5e47   Alexis Koralewski   New version of ob...
147
                    name: camera_up
9c5a602c   Etienne Pallier   Updated general c...
148
                    computer: MainComputer
ee2a5e47   Alexis Koralewski   New version of ob...
149
                    path: private/plugin/agent_devices
1f71a65f   Etienne Pallier   config guitalens ...
150
                    device: FLI_Kepler4040
ee2a5e47   Alexis Koralewski   New version of ob...
151
                    protocol: private/plugin/agent_devices/camera_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
152
                    is_real: False
d9f9c305   aklotz   troisieme commit ...
153
154

                - AGENT:
2d10959d   Alexis Koralewski   Adding mandatory ...
155
                    name: AgentMajordome
9c5a602c   Etienne Pallier   Updated general c...
156
                    computer: MainComputer
ee2a5e47   Alexis Koralewski   New version of ob...
157
                    path: ~
05316241   Alexis Koralewski   Adding AgentSST, ...
158
159
160
161
162
163
164
165
166
167
168
169
170
171

                
                - AGENT:
                    name: AgentSP
                    computer: MainComputer
                    protocol: private/plugin/agent/AgentSP.py
                

                - AGENT:
                    name: AgentScheduler
                    computer: MainComputer
                    protocol: private/plugin/agent/AgentScheduler.py


d9f9c305   aklotz   troisieme commit ...
172
173
174
175
            
            TOPOLOGY:
            
                SECURITY:
ee2a5e47   Alexis Koralewski   New version of ob...
176
                    name: PLC
d9f9c305   aklotz   troisieme commit ...
177
178
179
180
181
                    COMPONENT_AGENTS:
                        - WeatherStation: plc
                        - BuildingCover: plc

                MOUNT:
1f71a65f   Etienne Pallier   config guitalens ...
182
                    name: TM350_prototype
d9f9c305   aklotz   troisieme commit ...
183
184
185
186
187
188
                    COMPONENT_AGENTS:
                        - MountPointing: mount
                    
                CHANNELS:
                              
                    - CHANNEL:
1f71a65f   Etienne Pallier   config guitalens ...
189
                        name: OpticalChannel_up
d9f9c305   aklotz   troisieme commit ...
190
191
192
193
194
195
                        COMPONENT_AGENTS:
                            - OpticImager: optic_up
                            - DetectorSensor: camera_up
                            - DetectorShutter: camera_up
                            - DetectorTimer: camera_up

a0f06fea   Alain Klotz   Layout sans schema.
196
197
198
199
                ALBUMS:
                
                    - ALBUM :
                        name: OpticalChannel
7b9f2910   Alexis Koralewski   adding descriptio...
200
                        description: "Album with one channel"
a0f06fea   Alain Klotz   Layout sans schema.
201
202
203
204
205
206
207
                        CHANNELS:
                            - OpticalChannel_up

                LAYOUTS:

                    - LAYOUT:
                        name: OpticalChannel
7b9f2910   Alexis Koralewski   adding descriptio...
208
                        description: Layout with one album
a0f06fea   Alain Klotz   Layout sans schema.
209
210
                        ALBUMS:
                            - OpticalChannel