Drayton_MiGenie_HASS/Postman/MiGenie.postman_collection.json
karl.hudgell a0b117d0ab update
2020-05-07 11:01:11 +01:00

328 lines
6.0 KiB
JSON

{
"info": {
"_postman_id": "4539bb18-0f15-42a0-93f2-c510fc469350",
"name": "MiGenie",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Get Endpoints",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{password}}",
"type": "string"
},
{
"key": "username",
"value": "{{username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "User-Agent-Wiser",
"value": "iPhoneTestTool;iOS6;WiserApp2.0.0",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{}",
"options": {
"raw": {
"language": "javascript"
}
}
},
"url": {
"raw": "https://public.wcs.schneider-electric.ws/rpc/public_ssp/pua_init",
"protocol": "https",
"host": [
"public",
"wcs",
"schneider-electric",
"ws"
],
"path": [
"rpc",
"public_ssp",
"pua_init"
]
}
},
"response": []
},
{
"name": "Turn Off Heating",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{password}}",
"type": "string"
},
{
"key": "username",
"value": "{{username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "User-Agent-Wiser",
"type": "text",
"value": "iPhoneTestTool;iOS6;WiserApp2.0.0"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"zoneId\": [\n 0\n ],\n \"setpoint\": 0\n}",
"options": {
"raw": {
"language": "javascript"
}
}
},
"url": {
"raw": "https://public.wcs.schneider-electric.ws/rpc/public_genie/adjust_setpoint",
"protocol": "https",
"host": [
"public",
"wcs",
"schneider-electric",
"ws"
],
"path": [
"rpc",
"public_genie",
"adjust_setpoint"
]
}
},
"response": []
},
{
"name": "Turn On Heating 22Deg",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{password}}",
"type": "string"
},
{
"key": "username",
"value": "{{username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "User-Agent-Wiser",
"type": "text",
"value": "iPhoneTestTool;iOS6;WiserApp2.0.0"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"zoneId\": [\n 0\n ],\n \"setpoint\": 84\n}",
"options": {
"raw": {
"language": "javascript"
}
}
},
"url": {
"raw": "https://public.wcs.schneider-electric.ws/rpc/public_genie/adjust_setpoint",
"protocol": "https",
"host": [
"public",
"wcs",
"schneider-electric",
"ws"
],
"path": [
"rpc",
"public_genie",
"adjust_setpoint"
]
}
},
"response": []
},
{
"name": "poll Genie",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "username",
"value": "{{username}}",
"type": "string"
},
{
"key": "password",
"value": "{{password}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "User-Agent-Wiser",
"type": "text",
"value": "iPhoneTestTool;iOS6;WiserApp2.0.0"
}
],
"body": {
"mode": "raw",
"raw": "{}",
"options": {
"raw": {
"language": "javascript"
}
}
},
"url": {
"raw": "https://public.wcs.schneider-electric.ws/rpc/public_genie/poll",
"protocol": "https",
"host": [
"public",
"wcs",
"schneider-electric",
"ws"
],
"path": [
"rpc",
"public_genie",
"poll"
]
}
},
"response": []
},
{
"name": "Boost Hot Water 90 Mins",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{password}}",
"type": "string"
},
{
"key": "username",
"value": "{{username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "User-Agent-Wiser",
"type": "text",
"value": "iPhoneTestTool;iOS6;WiserApp2.0.0"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"zoneId\": [\n 1\n ],\n \"setPoint\": 255,\n \"durationMinutes\": 90\n}",
"options": {
"raw": {
"language": "javascript"
}
}
},
"url": {
"raw": "https://public.wcs.schneider-electric.ws/rpc/public_genie/apply_timer",
"protocol": "https",
"host": [
"public",
"wcs",
"schneider-electric",
"ws"
],
"path": [
"rpc",
"public_genie",
"apply_timer"
]
}
},
"response": []
},
{
"name": "Turn Off Hot Water",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{password}}",
"type": "string"
},
{
"key": "username",
"value": "{{username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "User-Agent-Wiser",
"type": "text",
"value": "iPhoneTestTool;iOS6;WiserApp2.0.0"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"zoneId\": [\n 1\n ]\n}",
"options": {
"raw": {
"language": "javascript"
}
}
},
"url": {
"raw": "https://public.wcs.schneider-electric.ws/rpc/public_genie/cancel_timer",
"protocol": "https",
"host": [
"public",
"wcs",
"schneider-electric",
"ws"
],
"path": [
"rpc",
"public_genie",
"cancel_timer"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
}