Advertisement
kusanghi

JSON APP SENSIBO

Feb 18th, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 8.25 KB | None | 0 0
  1. {
  2.   "id": "com.athom.sensibothong",
  3.   "version": "1.0.0",
  4.   "compatibility": ">=1.5.3",
  5.   "sdk": 2,
  6.   "name": {
  7.     "en": "Sensibo AC Thong"
  8.   },
  9.   "description": {
  10.     "en": "Sensibo Control AC"
  11.   },
  12.   "category": [
  13.     "appliances",
  14.     "climate"
  15.   ],
  16.   "images": {
  17.     "large": "/assets/images/large.png",
  18.     "small": "/assets/images/small.png"
  19.   },
  20.   "author": {
  21.     "name": "D.E.S Team",
  22.     "email": "desteam.tv@gmail.com"
  23.   },
  24.   "capabilities": {
  25.   "thermostat_mode": {
  26.   "type": "enum",
  27.   "title": {
  28.     "en": "Thermostat mode",
  29.     "nl": "Thermostaat modus"
  30.   },
  31.   "desc": {
  32.     "en": "Mode of the thermostat",
  33.     "nl": "Modus van de thermostaat"
  34.   },
  35.       "values": [
  36.         {
  37.           "id": "off",
  38.           "title": {
  39.             "en": "AC Off"
  40.           }
  41.         },
  42.         {
  43.           "id": "cool",
  44.           "title": {
  45.             "en": "Cool"
  46.           }
  47.         },
  48.         {
  49.           "id": "auto",
  50.           "title": {
  51.             "en": "Auto"
  52.           }
  53.         },
  54.         {
  55.           "id": "fan",
  56.           "title": {
  57.             "en": "Fan"
  58.           }
  59.         },
  60.         {
  61.           "id": "dry",
  62.           "title": {
  63.             "en": "Dry"
  64.           }
  65.         }
  66.       ],
  67.   "getable": true,
  68.   "setable": true,
  69.   "uiComponent": "picker",
  70.   "$flow": {
  71.     "triggers": [
  72.       {
  73.         "id": "thermostat_mode_changed",
  74.         "title": {
  75.           "en": "Thermostat mode has changed",
  76.           "nl": "Thermostaat modus is veranderd"
  77.         },
  78.         "args": [
  79.           {
  80.             "name": "thermostat_mode",
  81.             "type": "dropdown",
  82.             "values": [
  83.               {
  84.                 "id": "auto",
  85.                 "title": {
  86.                   "en": "Automatic",
  87.                   "nl": "Automatisch"
  88.                 }
  89.               },
  90.               {
  91.                 "id": "fan",
  92.                 "title": {
  93.                   "en": "Fan"
  94.                 }
  95.               },   
  96.               {
  97.                 "id": "Dry",
  98.                 "title": {
  99.                   "en": "Dry"
  100.                 }
  101.               },             
  102.               {
  103.                 "id": "cool",
  104.                 "title": {
  105.                   "en": "Cool",
  106.                   "nl": "Koelen"
  107.                 }
  108.               },
  109.               {
  110.                 "id": "off",
  111.                 "title": {
  112.                   "en": "Off",
  113.                   "nl": "Uit"
  114.                 }
  115.               }
  116.             ]
  117.           }
  118.         ]
  119.       }
  120.     ],
  121.     "conditions": [
  122.       {
  123.         "id": "thermostat_mode_is",
  124.         "title": {
  125.           "en": "Thermostat mode is",
  126.           "nl": "Thermostaat modus is"
  127.         },
  128.         "args": [
  129.           {
  130.             "name": "thermostat_mode",
  131.             "type": "dropdown",
  132.             "values": [
  133.               {
  134.                 "id": "auto",
  135.                 "title": {
  136.                   "en": "Automatic",
  137.                   "nl": "Automatisch"
  138.                 }
  139.               },
  140.               {
  141.                 "id": "fan",
  142.                 "title": {
  143.                   "en": "Fan"
  144.                 }
  145.               },
  146.               {
  147.                 "id": "dry",
  148.                 "title": {
  149.                   "en": "Dry"
  150.                 }
  151.               },             
  152.               {
  153.                 "id": "cool",
  154.                 "title": {
  155.                   "en": "Cool",
  156.                   "nl": "Koelen"
  157.                 }
  158.               },
  159.               {
  160.                 "id": "off",
  161.                 "title": {
  162.                   "en": "Off",
  163.                   "nl": "Uit"
  164.                 }
  165.               }
  166.             ]
  167.           }
  168.         ]
  169.       }
  170.     ],
  171.     "actions": [
  172.       {
  173.         "id": "thermostat_mode_set",
  174.         "title": {
  175.           "en": "Set the mode",
  176.           "nl": "Stel de modus in"
  177.         },
  178.         "args": [
  179.           {
  180.             "name": "thermostat_mode",
  181.             "type": "dropdown",
  182.             "values": [
  183.               {
  184.                 "id": "auto",
  185.                 "title": {
  186.                   "en": "Automatic",
  187.                   "nl": "Automatisch"
  188.                 }
  189.               },
  190.               {
  191.                 "id": "fan",
  192.                 "title": {
  193.                   "en": "Fan"
  194.                 }
  195.               },
  196.               {
  197.                 "id": "dry",
  198.                 "title": {
  199.                   "en": "Dry"
  200.                 }
  201.               },             
  202.               {
  203.                 "id": "cool",
  204.                 "title": {
  205.                   "en": "Cool",
  206.                   "nl": "Koelen"
  207.                 }
  208.               },
  209.               {
  210.                 "id": "off",
  211.                 "title": {
  212.                   "en": "Off",
  213.                   "nl": "Uit"
  214.                 }
  215.               }
  216.             ]
  217.           }
  218.         ]
  219.       }
  220.     ]
  221.   }
  222. },  
  223.     "lock_mode": {
  224.   "type": "enum",
  225.   "title": {
  226.     "en": "Airco fan rate capability"
  227.   },
  228.       "values": [
  229.         {
  230.           "id": "auto",
  231.           "title": {
  232.             "en": "F Auto"
  233.           }
  234.         },
  235.         {
  236.           "id": "low",
  237.           "title": {
  238.             "en": "F Low"
  239.           }
  240.         },
  241.         {
  242.           "id": "medium",
  243.           "title": {
  244.             "en": "F Medium"
  245.           }
  246.         },
  247.         {
  248.           "id": "high",
  249.           "title": {
  250.             "en": "F High"
  251.           }
  252.         },
  253.         {
  254.           "id": "strong",
  255.           "title": {
  256.             "en": "F Strong"
  257.           }
  258.         }
  259.       ],
  260.   "getable": true,
  261.   "setable": true,
  262.   "uiComponent": "picker"
  263.     },
  264.     "fan_direction": {
  265.       "type": "enum",
  266.       "title": {
  267.         "en": "Swing"
  268.       },
  269.       "getable": true,
  270.       "setable": true,
  271.       "uiComponent": "picker",
  272.       "values": [
  273.         {
  274.           "id": "stopped",
  275.           "title": {
  276.             "en": "SW Off"
  277.           }
  278.         },
  279.         {
  280.           "id": "rangeFull",
  281.           "title": {
  282.             "en": "SW Auto"
  283.           }
  284.         }
  285.       ]
  286.     }
  287.   },
  288.   "drivers": [
  289.     {
  290.       "id": "Sensibo_driver",
  291.       "name": {
  292.         "en": "Sensibo driver thong"
  293.       },
  294.       "class": "thermostat",
  295.       "capabilities": [
  296.         "measure_temperature",
  297.         "measure_humidity",
  298.         "thermostat_mode",
  299.         "lock_mode",
  300.         "fan_direction",
  301.         "target_temperature"
  302.       ],
  303.       "capabilitiesOptions": {
  304.         "lock_mode": {
  305.           "title": {
  306.             "en": "FanMode"
  307.           }
  308.         },
  309.         "fan_direction": {
  310.           "title": {
  311.             "en": "Swings"
  312.           }
  313.         }
  314.       },
  315.       "mobile": {
  316.         "components": [
  317.           {
  318.             "id": "sensor",
  319.             "capabilities": [
  320.               "measure_temperature"
  321.             ],
  322.             "options": {
  323.               "showTitle": true
  324.             }
  325.           },
  326.           {
  327.             "id": "sensor",
  328.             "capabilities": [
  329.               "measure_humidity"
  330.             ],
  331.             "options": {
  332.               "showTitle": true
  333.             }
  334.           },         
  335.           {
  336.             "id": "picker",
  337.             "capabilities": [
  338.               "thermostat_mode"
  339.             ],
  340.             "options": {
  341.               "showTitle": true
  342.             }
  343.           },         
  344.           {
  345.             "id": "picker",
  346.             "capabilities": [
  347.               "lock_mode"
  348.             ],
  349.             "options": {
  350.               "showTitle": true
  351.             }
  352.           },
  353.           {
  354.             "id": "picker",
  355.             "capabilities": [
  356.               "fan_direction"
  357.             ],
  358.             "options": {
  359.               "showTitle": true
  360.             }
  361.           },
  362.           {
  363.             "id": "thermostat",
  364.             "capabilities": [
  365.               "target_temperature"
  366.             ]
  367.           }
  368.         ]
  369.       },
  370.       "images": {
  371.         "large": "/assets/images/large.png",
  372.         "small": "/assets/images/small.png"
  373.       },
  374.       "pair": [
  375.         {
  376.           "id": "list_devices",
  377.           "template": "list_devices",
  378.           "navigation": {
  379.             "next": "add_devices"
  380.           }
  381.         },
  382.         {
  383.           "id": "add_devices",
  384.           "template": "add_devices"
  385.         }
  386.       ]
  387.     }
  388.   ]
  389. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement