device_Raspberry_TAROT_sn002.yml 1.93 KB
# Schema file to check the syntax of this config file
schema: schema_device-2.0.yml

# Here is the description of the configuration of an isolated device
DEVICE:

    inventory_label: SEC-RSP-011
    manufacturer: "Eymar"
    model: "TAROT meteo station"
    description: "Universal meteo station for TAROT based on Raspberry 4"
    sn: SN002
    power:
        voltage: 220
        intensity: 1
        socket: "CEE 7/7 2P+T"
        
    connector:
        input: 220V
        output: "data frame"
        
    hostname: ""
    virtual_machine: False
    os: Linux
    os_version: Raspbian
    network_interfaces: 
        - B8:27:EB:8B:99:AA # RJ45
        - b8:27:eb:de:cc:AB # Wifi
    protocol:
        transport: TCP
        langage: Json
        read: True
        write: False
                    
    CAPABILITIES:
    
        - CAPABILITY:
            component: WeatherStation

            attributes:
            
                - attribute:
                    key: manufacturer
                    value: "L. Eymar"
                    
                - attribute:
                    key: model
                    value: Raspberry

            output_data:
            
                - data:
                    key: rain
                    category: meteo
                    label: Rain
                    value_type: float
                    unit: bool
                    description: 

                - data:
                    key: temp_ext
                    category: meteo
                    label: Ext. Temp.
                    value_type: float
                    unit: degC
                    description: 

                - data:
                    key: Power_supply
                    category: electricity
                    label: Power supply
                    value_type: float
                    unit: Volts
                    description: