Blame view

privatedev/config/default/observatory_default.yml 4.23 KB
5d488001   Alexis Koralewski   fixing observator...
1
2


1a1a983f   Alexis Koralewski   Creation of defau...
3
# Schema file to check the syntax of this config file
cdc14de9   Etienne Pallier   schema with "-" i...
4
schema: schema_observatory-2.0.yml
1a1a983f   Alexis Koralewski   Creation of defau...
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

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

    name: Default
    
    # === 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: 
            name: AstroMecCA
            file: device_Astromecca_TM350_default.yml
            
        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
23
            name: PLC_meteo
1a1a983f   Alexis Koralewski   Creation of defau...
24
25
26
27
28
29
            file: device_Raspberry_MiFe_default.yml
            # Describe here the configuration of the device in operation
            network_interface_index: 0
            network_ip: 192.168.0.2
            
        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
30
            name: SkyWatcher_ED80
1a1a983f   Alexis Koralewski   Creation of defau...
31
32
33
34
            file: device_SkyWatcher_ED80_default.yml
            
            
        - DEVICE: 
a7632ff4   Etienne Pallier   replaced "-" with...
35
            name: ZWO_ASI1600MMPro
1a1a983f   Alexis Koralewski   Creation of defau...
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
            file: device_ZWO_ASI1600MMPro_default.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_default.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
            
    # === Assembly of devices into units
    # A unit is a robotic telescope 
    UNITS: 

        - UNIT: 
a7632ff4   Etienne Pallier   replaced "-" with...
60
            name: default_unit
1a1a983f   Alexis Koralewski   Creation of defau...
61
62
63
64
65
66
67
68
69
70
71
72
73
74
            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:
                    computer: MainComputer
                    name: plc
a7632ff4   Etienne Pallier   replaced "-" with...
75
                    device: PLC_meteo
1a1a983f   Alexis Koralewski   Creation of defau...
76
77
78
79
80
                    is_real: False
                    
                - AGENT_DEVICE:
                    computer: MainComputer
                    name: mount
5d488001   Alexis Koralewski   fixing observator...
81
                    device: AstroMecCA
1a1a983f   Alexis Koralewski   Creation of defau...
82
83
84
85
86
                    is_real: False

                - AGENT_DEVICE:
                    computer: None
                    name: optic
a7632ff4   Etienne Pallier   replaced "-" with...
87
                    device: SkyWatcher_ED80
1a1a983f   Alexis Koralewski   Creation of defau...
88
89
90
91
92
93
                    is_real: False
                    
                - AGENT_DEVICE:
                    computer: MainComputer
                    name: camera
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
94
                    device: ZWO_ASI1600MMPro
1a1a983f   Alexis Koralewski   Creation of defau...
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
                    protocol: private/plugin/agent_devices/camera_protocol.py
                    is_real: False

                - AGENT:
                    computer: MainComputer
                    name: majordome
                    path: ~



            TOPOLOGY:
            
                SECURITY:
                    name: PLC
                    COMPONENT_AGENTS:
                        - WeatherStation: plc
                        - BuildingCover: plc

                MOUNT:
a7632ff4   Etienne Pallier   replaced "-" with...
114
                    name: TM350_prototype
1a1a983f   Alexis Koralewski   Creation of defau...
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
                    COMPONENT_AGENTS:
                        - MountPointing: mount
                    
                CHANNELS:
                              
                    - CHANNEL:
                        name: OpticalChannel
                        COMPONENT_AGENTS:
                            - OpticImager: optic
                            - DetectorSensor: camera
                            - DetectorShutter: camera

                CHANNEL_GROUPS:
                    
                    logic: 'or' # opt
                    GROUPS:
                        - GROUP:
                            logic: 'and' # opt
                            channels:
                                - OpticalChannel
5d488001   Alexis Koralewski   fixing observator...