Cumulocity-IoT / cumulocity-flexy-integration

Cumulocity flexy integration
0 stars 1 forks source link

Data Field Mapping #6

Closed kreinhar closed 2 years ago

kreinhar commented 2 years ago

Create the mapping for Device information from talk2m to c8y

kreinhar commented 2 years ago

please review docu https://github.com/SoftwareAG/cumulocity-flexy-integration/blob/dev/docs/mapping.md

yhegen commented 2 years ago

Can be reviewed @kreinhar

Mapping Account

key value
talk2m.accountReference "eWON_sales"
talk2m.accountType "Pro"
talk2m.company "Ewon - HMS Industrial Networks S.A."
talk2m.customAttributes "[LAN Devices,City,Country]"
talk2m.pools "[{id:245189,name:Live Demo}]"
talk2m.success "true"

Mapping Device

"talk2m": {
        "encodedName": "Machine+11",
        "lanDevices": [
            {
                "protocol": "http",
                "port": 80,
                "ip": "192.168.140.9",
                "name": "2. Camera",
                "description": ""
            },
            {
                "protocol": "http",
                "port": 80,
                "ip": "192.168.140.105",
                "name": "1. Click here for Demo Overview",
                "description": ""
            }
        ],
        "description": "Siemens Machine #2",
        "m2webServer": "eu1.m2web.talk2m.com",
        "ewonServices": [
            {
                "protocol": "http",
                "port": 81,
                "name": "Secondary HTTP Server",
                "description": "Secondary eWON Web Interface"
            },
            {
                "protocol": "http",
                "port": 80,
                "name": "HTTP Server",
                "description": "eWON Web Interface"
            }
        ],
        "customAttributes": [
            "Siemens S7-300 CPU312C PLC, IP Camera",
            "Charleroi",
            "Belgium"
        ]
    }
kreinhar commented 2 years ago

sieht ok aus

kreinhar commented 2 years ago

mappigns for measurements are missing so we need to discuss this

kreinhar commented 2 years ago

added alarm Mapping to md file

kreinhar commented 2 years ago

please review @ChrScha