Blame view

privatedev/config/default/observatory_default.yml 4.89 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

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

    name: Default
    
288832d5   Alexis Koralewski   updating observat...
11
12
13
14
15
    INVENTORY:
        # === 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:
1a1a983f   Alexis Koralewski   Creation of defau...
16
        
288832d5   Alexis Koralewski   updating observat...
17
            # Each device is defined by a specific configuration file that enumarate the components.
1a1a983f   Alexis Koralewski   Creation of defau...
18
            
288832d5   Alexis Koralewski   updating observat...
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
            - DEVICE: 
                name: AstroMecCA
                file: device_Astromecca_TM350_default.yml
                
            - DEVICE: 
                name: PLC_meteo
                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: 
                name: SkyWatcher_ED80
                file: device_SkyWatcher_ED80_default.yml
                
                
            - DEVICE: 
                name: ZWO_ASI1600MMPro
                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
9c5a602c   Etienne Pallier   Updated general c...
54

288832d5   Alexis Koralewski   updating observat...
55
56
57
                
        # === Assembly of devices into units
        # A unit is a robotic telescope 
1a1a983f   Alexis Koralewski   Creation of defau...
58
59
60
    UNITS: 

        - UNIT: 
a7632ff4   Etienne Pallier   replaced "-" with...
61
            name: default_unit
1a1a983f   Alexis Koralewski   Creation of defau...
62
63
            home: "GPS 2.0375 E 43.6443484725 136.9"
            horizon:
2d10959d   Alexis Koralewski   Adding mandatory ...
64
                type: ALTAZe
1a1a983f   Alexis Koralewski   Creation of defau...
65
66
67
68
                line: [ [0,0], [360,0] ]
                
            DATABASE:
                computer: MainComputer
2d10959d   Alexis Koralewski   Adding mandatory ...
69
                file: .database.env
1a1a983f   Alexis Koralewski   Creation of defau...
70
71
72
73
                    
            AGENTS:
            
                - AGENT_DEVICE:
18dc05ab   Alexis Koralewski   Renaming plc agen...
74
                    name: AgentM
9c5a602c   Etienne Pallier   Updated general c...
75
                    computer: MainComputer
a7632ff4   Etienne Pallier   replaced "-" with...
76
                    device: PLC_meteo
1a1a983f   Alexis Koralewski   Creation of defau...
77
78
79
                    is_real: False
                    
                - AGENT_DEVICE:
1a1a983f   Alexis Koralewski   Creation of defau...
80
                    name: mount
9c5a602c   Etienne Pallier   Updated general c...
81
                    computer: MainComputer
5d488001   Alexis Koralewski   fixing observator...
82
                    device: AstroMecCA
1a1a983f   Alexis Koralewski   Creation of defau...
83
84
85
                    is_real: False

                - AGENT_DEVICE:
1a1a983f   Alexis Koralewski   Creation of defau...
86
                    name: optic
9c5a602c   Etienne Pallier   Updated general c...
87
                    computer: None
a7632ff4   Etienne Pallier   replaced "-" with...
88
                    device: SkyWatcher_ED80
1a1a983f   Alexis Koralewski   Creation of defau...
89
90
91
                    is_real: False
                    
                - AGENT_DEVICE:
1a1a983f   Alexis Koralewski   Creation of defau...
92
                    name: camera
9c5a602c   Etienne Pallier   Updated general c...
93
                    computer: MainComputer
1a1a983f   Alexis Koralewski   Creation of defau...
94
                    path: private/plugin/agent_devices
a7632ff4   Etienne Pallier   replaced "-" with...
95
                    device: ZWO_ASI1600MMPro
1a1a983f   Alexis Koralewski   Creation of defau...
96
97
98
99
                    protocol: private/plugin/agent_devices/camera_protocol.py
                    is_real: False

                - AGENT:
2d10959d   Alexis Koralewski   Adding mandatory ...
100
101
102
103
104
105
106
107
108
109
110
                    name: AgentMajordome
                    computer: MainComputer
                    path: ~
                
                - AGENT:
                    name: AgentSP
                    computer: MainComputer
                    path: ~

                - AGENT:
                    name: AgentScheduler
9c5a602c   Etienne Pallier   Updated general c...
111
                    computer: MainComputer
1a1a983f   Alexis Koralewski   Creation of defau...
112
113
114
115
116
117
118
119
120
121
122
123
124
                    path: ~



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

                MOUNT:
a7632ff4   Etienne Pallier   replaced "-" with...
125
                    name: TM350_prototype
1a1a983f   Alexis Koralewski   Creation of defau...
126
127
128
129
                    COMPONENT_AGENTS:
                        - MountPointing: mount
                    
                CHANNELS:
1a1a983f   Alexis Koralewski   Creation of defau...
130
131
132
133
134
135
136
                    - CHANNEL:
                        name: OpticalChannel
                        COMPONENT_AGENTS:
                            - OpticImager: optic
                            - DetectorSensor: camera
                            - DetectorShutter: camera

288832d5   Alexis Koralewski   updating observat...
137
                ALBUMS:
1a1a983f   Alexis Koralewski   Creation of defau...
138
                    
288832d5   Alexis Koralewski   updating observat...
139
140
141
142
143
144
145
146
147
148
149
150
                    - ALBUM :
                        name: MainChannel
                        description: "Album with one channel"
                        CHANNELS:
                            - OpticalChannel
                
                LAYOUTS:
                    - LAYOUT:
                        name: MainChannel
                        description: Layout with one album
                        ALBUMS:
                            - MainChannel
5d488001   Alexis Koralewski   fixing observator...