Blame view

privatedev/config/guitalens/observatory_guitalens.yml 5.83 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
9
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:
    
8203fd38   Alexis Koralewski   fixing typo in ob...
14
        # Each device is defined by a specific configuration file that enumerate the components.
d9f9c305   aklotz   troisieme commit ...
15
16
        
        - DEVICE: 
1f71a65f   Etienne Pallier   config guitalens ...
17
            name: AstroMecCA_TM350
ee2a5e47   Alexis Koralewski   New version of ob...
18
            file: device_Astromecca_TM350_sn001.yml
d9f9c305   aklotz   troisieme commit ...
19
20
            
        - DEVICE: 
1f71a65f   Etienne Pallier   config guitalens ...
21
            name: PLC_meteo
ee2a5e47   Alexis Koralewski   New version of ob...
22
            file: device_Raspberry_MiFe_sn004.yml
d9f9c305   aklotz   troisieme commit ...
23
            # Describe here the configuration of the device in operation
ee2a5e47   Alexis Koralewski   New version of ob...
24
25
            network_interface_index: 0
            network_ip: 192.168.0.2
d9f9c305   aklotz   troisieme commit ...
26
27
            
        - DEVICE: 
1f71a65f   Etienne Pallier   config guitalens ...
28
            name: SkyWatcher_ED80
970857ce   aklotz   Nouveaux devices ...
29
            file: device_SkyWatcher_ED80_snxx1.yml
d9f9c305   aklotz   troisieme commit ...
30
31
            
        - DEVICE: 
1f71a65f   Etienne Pallier   config guitalens ...
32
            name: Celestron_C11
ee2a5e47   Alexis Koralewski   New version of ob...
33
            file: device_Celestron_C11_sn974234.yml
d9f9c305   aklotz   troisieme commit ...
34
35
            
        - DEVICE: 
1f71a65f   Etienne Pallier   config guitalens ...
36
            name: ZWO_ASI1600MMPro
970857ce   aklotz   Nouveaux devices ...
37
            file: device_ZWO_ASI1600MMPro_sn91C0f0405080900.yml
d9f9c305   aklotz   troisieme commit ...
38
39
            
        - DEVICE: 
1f71a65f   Etienne Pallier   config guitalens ...
40
           name: FLI_Kepler4040
ee2a5e47   Alexis Koralewski   New version of ob...
41
           file: device_FLI_Kepler4040_sn2821221.yml
d9f9c305   aklotz   troisieme commit ...
42
43
            
        - DEVICE: 
1f71a65f   Etienne Pallier   config guitalens ...
44
           name: FLI_KeplerGPS
ee2a5e47   Alexis Koralewski   New version of ob...
45
           file: device_FLI_KITS_sn0x1.yml
d9f9c305   aklotz   troisieme commit ...
46
            
9c5a602c   Etienne Pallier   Updated general c...
47

d9f9c305   aklotz   troisieme commit ...
48
49
50
51
52
53
    # === 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:
ee2a5e47   Alexis Koralewski   New version of ob...
54
55
           name: MainComputer
           file: computer_XCY_X26A_snAA478.yml
d9f9c305   aklotz   troisieme commit ...
56
            # Describe here the configuration of the computer in operation
ee2a5e47   Alexis Koralewski   New version of ob...
57
58
59
           role: Main
            # Choice of the interface to connect the computer to the network (cf.network_interfaces infile)
           network_interface_index: 0
d9f9c305   aklotz   troisieme commit ...
60
            # IP attributed by the Router
ee2a5e47   Alexis Koralewski   New version of ob...
61
           network_ip: 192.168.0.11
9c5a602c   Etienne Pallier   Updated general c...
62
63
64

        - COMPUTER:
           name: EtienneComputer
b6a13fc4   Etienne Pallier   nouveau fichier c...
65
           file: computer_XYZ_EP.yml
9c5a602c   Etienne Pallier   Updated general c...
66
67
68
69
70
71
72
            # 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

d9f9c305   aklotz   troisieme commit ...
73
74
75
76
77
78
            
    # === Assembly of devices into units
    # A unit is a robotic telescope 
    UNITS: 

        - UNIT: 
1f71a65f   Etienne Pallier   config guitalens ...
79
            name: TNC_prototype
ee2a5e47   Alexis Koralewski   New version of ob...
80
81
82
83
            home: "GPS 2.0375 E 43.6443484725 136.9"
            horizon:
                type: ALTAZ
                line: [ [0,0], [360,0] ]
9ab7385c   aklotz   attached device
84
                
d9f9c305   aklotz   troisieme commit ...
85
            DATABASE:
ee2a5e47   Alexis Koralewski   New version of ob...
86
87
                computer: MainComputer
                file: pyros/docker/.env
d9f9c305   aklotz   troisieme commit ...
88
89
90
91
                    
            AGENTS:
            
                - AGENT_DEVICE:
ee2a5e47   Alexis Koralewski   New version of ob...
92
                    name: plc
9c5a602c   Etienne Pallier   Updated general c...
93
                    computer: MainComputer
ee2a5e47   Alexis Koralewski   New version of ob...
94
                    path: private/plugin/agent_devices
1f71a65f   Etienne Pallier   config guitalens ...
95
                    device: PLC_meteo
ee2a5e47   Alexis Koralewski   New version of ob...
96
                    protocol: private/plugin/agent_devices/plc_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
97
                    is_real: False
d9f9c305   aklotz   troisieme commit ...
98
99
                    
                - AGENT_DEVICE:
9c5a602c   Etienne Pallier   Updated general c...
100
                    name: mount
ee2a5e47   Alexis Koralewski   New version of ob...
101
                    computer: MainComputer
9c5a602c   Etienne Pallier   Updated general c...
102
103
104
105
106
107
                    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...
108
                    name: mount
9c5a602c   Etienne Pallier   Updated general c...
109
                    computer: EtienneComputer
3d4ab326   Alexis Koralewski   adding new attrib...
110
                    comm_access: "//./COM3" # parameters of the comm: support of the device, here only for serial comm
ee2a5e47   Alexis Koralewski   New version of ob...
111
                    path: private/plugin/agent_devices
1f71a65f   Etienne Pallier   config guitalens ...
112
                    device: AstroMecCA_TM350
ee2a5e47   Alexis Koralewski   New version of ob...
113
                    protocol: private/plugin/agent_devices/mount_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
114
                    is_real: False
d9f9c305   aklotz   troisieme commit ...
115
116

                - AGENT_DEVICE:
ee2a5e47   Alexis Koralewski   New version of ob...
117
                    name: optic_up
9c5a602c   Etienne Pallier   Updated general c...
118
                    computer: None
ee2a5e47   Alexis Koralewski   New version of ob...
119
                    path: ~
1f71a65f   Etienne Pallier   config guitalens ...
120
                    device: Celestron_C11
1a1a983f   Alexis Koralewski   Creation of defau...
121
                    is_real: False
d9f9c305   aklotz   troisieme commit ...
122
123
                    
                - AGENT_DEVICE:
ee2a5e47   Alexis Koralewski   New version of ob...
124
                    name: camera_up
9c5a602c   Etienne Pallier   Updated general c...
125
                    computer: MainComputer
ee2a5e47   Alexis Koralewski   New version of ob...
126
                    path: private/plugin/agent_devices
1f71a65f   Etienne Pallier   config guitalens ...
127
                    device: FLI_Kepler4040
ee2a5e47   Alexis Koralewski   New version of ob...
128
                    protocol: private/plugin/agent_devices/camera_protocol.py
1a1a983f   Alexis Koralewski   Creation of defau...
129
                    is_real: False
d9f9c305   aklotz   troisieme commit ...
130
131

                - AGENT:
ee2a5e47   Alexis Koralewski   New version of ob...
132
                    name: majordome
9c5a602c   Etienne Pallier   Updated general c...
133
                    computer: MainComputer
ee2a5e47   Alexis Koralewski   New version of ob...
134
                    path: ~
d9f9c305   aklotz   troisieme commit ...
135
136
137
138
            
            TOPOLOGY:
            
                SECURITY:
ee2a5e47   Alexis Koralewski   New version of ob...
139
                    name: PLC
d9f9c305   aklotz   troisieme commit ...
140
141
142
143
144
                    COMPONENT_AGENTS:
                        - WeatherStation: plc
                        - BuildingCover: plc

                MOUNT:
1f71a65f   Etienne Pallier   config guitalens ...
145
                    name: TM350_prototype
d9f9c305   aklotz   troisieme commit ...
146
147
148
149
150
151
                    COMPONENT_AGENTS:
                        - MountPointing: mount
                    
                CHANNELS:
                              
                    - CHANNEL:
1f71a65f   Etienne Pallier   config guitalens ...
152
                        name: OpticalChannel_up
d9f9c305   aklotz   troisieme commit ...
153
154
155
156
157
158
                        COMPONENT_AGENTS:
                            - OpticImager: optic_up
                            - DetectorSensor: camera_up
                            - DetectorShutter: camera_up
                            - DetectorTimer: camera_up

a0f06fea   Alain Klotz   Layout sans schema.
159
160
161
162
163
164
165
166
167
168
169
170
171
                ALBUMS:
                
                    - ALBUM :
                        name: OpticalChannel
                        CHANNELS:
                            - OpticalChannel_up

                LAYOUTS:

                    - LAYOUT:
                        name: OpticalChannel
                        ALBUMS:
                            - OpticalChannel