nymea/plugins/deviceplugins/mailnotification/devicepluginmailnotificatio...

191 lines
7.1 KiB
JSON

{
"name": "Mail notification",
"idName": "MailNotification",
"id": "1ae35df1-1b51-4c93-94fa-3febc77e0318",
"vendors": [
{
"name": "guh",
"idName": "guh",
"id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6",
"deviceClasses": [
{
"deviceClassId": "f4844c97-7ca6-4349-904e-ff9749a9fe74",
"idName": "customMail",
"name": "Custom mail",
"basicTags": [
"Service",
"Notification"
],
"createMethods": ["user"],
"paramTypes": [
{
"name": "sender mail",
"type": "QString",
"inputType": "Mail"
},
{
"name": "user",
"type": "QString",
"inputType": "TextLine"
},
{
"name": "password",
"type": "QString",
"inputType": "Password"
},
{
"name": "recipient",
"type": "QString",
"inputType": "Mail"
},
{
"name": "SMTP server",
"type": "QString",
"inputType": "Url"
},
{
"name": "port",
"type": "int",
"defaultValue": "465"
},
{
"name": "authentification",
"type": "QString",
"defaultValue": "LOGIN",
"allowedValues": ["PLAIN", "LOGIN"]
},
{
"name": "encryption",
"type": "QString",
"allowedValues": ["NONE","SSL","TLS"]
}
],
"actionTypes": [
{
"id": "054613b0-3666-4dad-9252-e0ebca187edc",
"name": "send mail",
"paramTypes": [
{
"name": "subject",
"type": "QString",
"inputType": "TextLine"
},
{
"name": "body",
"type": "QString",
"inputType": "TextArea"
}
]
}
]
}
]
},
{
"name": "Google",
"idName": "google",
"id": "d02399c5-8e79-40be-8cf6-e00b55bbfe7c",
"deviceClasses": [
{
"deviceClassId": "3869884a-1592-4b8f-84a7-994be18ff555",
"idName": "googleMail",
"name": "Google mail",
"basicTags": [
"Service",
"Notification"
],
"createMethods": ["user"],
"paramTypes": [
{
"name": "user",
"type": "QString",
"inputType": "Mail"
},
{
"name": "password",
"type": "QString",
"inputType": "Password"
},
{
"name": "recipient",
"type": "QString",
"inputType": "Mail"
}
],
"actionTypes": [
{
"id": "054613b0-3666-4dad-9252-e0ebca187edc",
"idName": "sendMail",
"name": "send mail",
"paramTypes": [
{
"name": "subject",
"type": "QString",
"inputType": "TextLine"
},
{
"name": "body",
"type": "QString",
"inputType": "TextArea"
}
]
}
]
}
]
},
{
"name": "Yahoo",
"idName": "yahoo",
"id": "5eb3e1e9-25a7-4740-806e-5cfc836e4bf5",
"deviceClasses": [
{
"deviceClassId": "59409e8f-0c83-414f-abd5-bbbf2758acba",
"idName": "yahooMail",
"name": "Yahoo mail",
"basicTags": [
"Service",
"Notification"
],
"createMethods": ["user"],
"paramTypes": [
{
"name": "user",
"type": "QString",
"inputType": "Mail"
},
{
"name": "password",
"type": "QString",
"inputType": "Password"
},
{
"name": "recipient",
"type": "QString",
"inputType": "Mail"
}
],
"actionTypes": [
{
"id": "054613b0-3666-4dad-9252-e0ebca187edc",
"name": "send mail",
"paramTypes": [
{
"name": "subject",
"type": "QString",
"inputType": "TextLine"
},
{
"name": "body",
"type": "QString",
"inputType": "TextArea"
}
]
}
]
}
]
}
]
}