{"info":{"_postman_id":"d150e1f2-d6ab-4899-ae59-410db4d99464","name":"Heatzy_Pilote_API_2020","description":"<html><head></head><body><p>This documentation concerns the use of the heatzy pilote device.\nFor more information, please visit heatzy.com</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10809108","collectionId":"d150e1f2-d6ab-4899-ae59-410db4d99464","publishedId":"SzYXYfP6","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-03-31T09:37:38.000Z"},"item":[{"name":"GetTokenUser","id":"2f6011c9-b3f9-4b42-be9c-fd3e5c3f31bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Gizwits-Application-Id","value":"c70a66ff039d41b4a220e198b0fcc8b3","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"test@heatzy.com\",\n    \"password\": \"test\"\n}"},"url":"https://euapi.gizwits.com/app/login","description":"<p>The first step to using heatzy API is to get a user token that will then be used for other requests.</p>\n","urlObject":{"protocol":"https","path":["app","login"],"host":["euapi","gizwits","com"],"query":[],"variable":[]}},"response":[{"id":"df8c3fd6-94c6-4e02-99d0-6ce20a9e9d78","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"X-Gizwits-Application-Id","value":"c70a66ff039d41b4a220e198b0fcc8b3","type":"text"},{"key":"username","value":"","type":"text","disabled":true},{"key":"password","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"username\": \"test@heatzy.com\",\n    \"password\": \"test\"\n}"},"url":"https://euapi.gizwits.com/app/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Wed, 11 Sep 2024 02:17:57 GMT"},{"key":"Server","value":"nginx"},{"key":"Vary","value":"Accept, Origin, Cookie"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"113"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"session_token\",\n    \"uid\": \"user_id\",\n    \"expire_at\": 1734966831\n}"}],"_postman_id":"2f6011c9-b3f9-4b42-be9c-fd3e5c3f31bc"},{"name":"GET_pilote_info","id":"bafec34e-fb6d-4c39-9660-a3eb1fbe125a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Gizwits-Application-Id","value":"c70a66ff039d41b4a220e198b0fcc8b3","type":"text"},{"key":"X-Gizwits-User-token","value":"{{heatzy_token}}","type":"text"}],"url":"https://euapi.gizwits.com/app/devices/{did}","description":"<p>{did} is your device ID, you can obtain it by sending a Show_Binding request\nThis request will send you information related to your device</p>\n","urlObject":{"protocol":"https","path":["app","devices","{did}"],"host":["euapi","gizwits","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bafec34e-fb6d-4c39-9660-a3eb1fbe125a"},{"name":"GET_pilote_latest","id":"34e8e5cc-5c0e-430f-97d5-135e8d940cec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Gizwits-Application-Id","value":"c70a66ff039d41b4a220e198b0fcc8b3","type":"text"},{"key":"X-Gizwits-User-token","value":"{{heatzy_token}}","type":"text"}],"url":"https://euapi.gizwits.com/app/devdata/{{DID}}/latest","description":"<p><strong>{did}</strong> is your device ID, you can obtain it by sending a Show_Binding request.\nThis request will send you information related to the state of your device.</p>\n<p><strong>\"time_week\"</strong> refers to the current day of the week (1 to 7)</p>\n<p><strong>\"mode\"</strong> refers to the current mode of the device (cft, eco, fro, stop)</p>\n<p><strong>\"derog_mode\"</strong> tells if your device is on holiday mode (0 or 1)</p>\n<p><strong>\"derog_time\"</strong> tells how long holiday mode will stay active (in days)</p>\n<p><strong>\"lock_witch\"</strong> tells if your device is locked (0 or 1)</p>\n<p><strong>\"timer_switch\"</strong> tells if your device is following the weekly program (0 or 1)</p>\n<p><strong>\"pX_dataY\"</strong> refers to a specific time period. p1 to p7 are days from monday to sunday. data1 to data12 are 2 hours range, from 00:00-02:00 to 22:00-24:00.</p>\n<p><strong>For example</strong> : p4_data3 is Thursday from 06:00 to 08:00</p>\n<p>The value returned by this parameter indicates which mode are selected during this time period. This value has to be converted to 8 bytes binary:\nXX XX XX XX. Each pair of bytes will indicate a mode.\n00 = cft ; 01 = eco ; 10 = fro</p>\n<p><strong>For example</strong> : p4_data3 = 64 = 0b 01 00 00 00. 06:00-60:30 : cft ; 06:30-07:00 : cft ; 07:00-07:30 : cft ; 07:30-08:00 : eco.</p>\n","urlObject":{"protocol":"https","path":["app","devdata","{{DID}}","latest"],"host":["euapi","gizwits","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"34e8e5cc-5c0e-430f-97d5-135e8d940cec"},{"name":"Show_Binding","id":"3303abe4-7b12-43e0-9747-1dcbd0a18424","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Gizwits-Application-Id","value":"c70a66ff039d41b4a220e198b0fcc8b3","type":"text"},{"key":"X-Gizwits-User-token","value":"{{heatzy_token}}","type":"text"}],"url":"https://euapi.gizwits.com/app/bindings?limit=20&skip=0","urlObject":{"protocol":"https","path":["app","bindings"],"host":["euapi","gizwits","com"],"query":[{"key":"limit","value":"20"},{"key":"skip","value":"0"}],"variable":[]}},"response":[],"_postman_id":"3303abe4-7b12-43e0-9747-1dcbd0a18424"},{"name":"Change_name","id":"4274fd43-97a5-4d1c-8758-d27c4b7f93b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-Gizwits-Application-Id","value":"c70a66ff039d41b4a220e198b0fcc8b3","type":"text"},{"key":"X-Gizwits-User-token","value":"{{heatzy_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\"remark\":\"\",\n\"dev_alias\":\"\"\n}"},"url":"https://euapi.gizwits.com/app/bindings/{did}","urlObject":{"protocol":"https","path":["app","bindings","{did}"],"host":["euapi","gizwits","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4274fd43-97a5-4d1c-8758-d27c4b7f93b4"},{"name":"Delete_product","id":"d9a24973-24bb-4df0-bea9-136c572837dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"X-Gizwits-Application-Id","value":"c70a66ff039d41b4a220e198b0fcc8b3","type":"text"},{"key":"X-Gizwits-User-token","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n\"devices\":[\n{\n\"did\":\"\"\n}\n]\n}"},"url":"https://euapi.gizwits.com/app/bindings","urlObject":{"protocol":"https","path":["app","bindings"],"host":["euapi","gizwits","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9a24973-24bb-4df0-bea9-136c572837dc"},{"name":"Get_datapoints","id":"e452e7fb-e9b3-4136-a220-2576c80f6ec5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Gizwits-Application-Id","value":"c70a66ff039d41b4a220e198b0fcc8b3","type":"text"}],"url":"https://euapi.gizwits.com/app/datapoint?product_key=51d16c22a5f74280bc3cfe9ebcdc6402","description":"<p>Used to get information concerning data points parameters.</p>\n","urlObject":{"protocol":"https","path":["app","datapoint"],"host":["euapi","gizwits","com"],"query":[{"key":"product_key","value":"51d16c22a5f74280bc3cfe9ebcdc6402"}],"variable":[]}},"response":[],"_postman_id":"e452e7fb-e9b3-4136-a220-2576c80f6ec5"},{"name":"Send_order_pilote1","id":"432e1abe-377a-4b9d-96e7-086a67b9937f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Gizwits-Application-Id","value":"c70a66ff039d41b4a220e198b0fcc8b3","type":"text"},{"key":"X-Gizwits-User-token","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n\"raw\": [1,1,1]\n}"},"url":"https://euapi.gizwits.com/app/control/{did}","description":"<p>Only for pilote 1st generation</p>\n<p>[1,1,0]= comfort mode or heat mode</p>\n<p>[1,1,1]= eco mode</p>\n<p>[1,1,2]= anti frost mode</p>\n<p>[1,1,3]= off mode</p>\n","urlObject":{"protocol":"https","path":["app","control","{did}"],"host":["euapi","gizwits","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"432e1abe-377a-4b9d-96e7-086a67b9937f"},{"name":"Send_order_pilote2&3","id":"e455ee8b-5de9-4a9a-ae9c-4337d7c3fafd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Gizwits-Application-Id","value":"c70a66ff039d41b4a220e198b0fcc8b3","type":"text"},{"key":"X-Gizwits-User-token","value":"{{heatzy_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n \"attrs\": {\r\n \"mode\":1\r\n }\r\n}"},"url":"https://euapi.gizwits.com/app/control/{{DID}}","description":"<p>For pilote 2nd and 3rd generation. Everything has to be put into <strong>\"attrs\"</strong> brackets</p>\n<p><strong>\"mode\"</strong> : is used to send an order to the device (0 = comfort mode ; 1 = eco mode ; 2 = anti frost mode ; 3 = off mode)</p>\n<p><strong>\"derog_mode\"</strong> to put your device on holiday mode (0 or 1)</p>\n<p><strong>\"derog_time\"</strong> to tell how long holiday mode will stay active (in days)</p>\n<p><strong>\"lock_witch\"</strong> to lock/unlock your device (0 or 1)</p>\n<p><strong>\"timer_switch\"</strong> to activate weekly program (0 or 1)</p>\n<p><strong>\"pX_dataY\"</strong> to send orders during the weekly program</p>\n","urlObject":{"protocol":"https","path":["app","control","{{DID}}"],"host":["euapi","gizwits","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e455ee8b-5de9-4a9a-ae9c-4337d7c3fafd"},{"name":"get_schedule_info","id":"a602d98f-06e5-40d5-8f48-1dcb16349bf8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Gizwits-Application-Id","value":"c70a66ff039d41b4a220e198b0fcc8b3","type":"text"},{"key":"X-Gizwits-User-token","value":"","type":"text"}],"url":"https://euapi.gizwits.com/app/devices/{did}/scheduler?limit=20&skip=0","urlObject":{"protocol":"https","path":["app","devices","{did}","scheduler"],"host":["euapi","gizwits","com"],"query":[{"key":"limit","value":"20"},{"key":"skip","value":"0"}],"variable":[]}},"response":[],"_postman_id":"a602d98f-06e5-40d5-8f48-1dcb16349bf8"},{"name":"post_schedule","id":"2464cd82-7e7f-4e04-9295-bf2d7ca35b11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Gizwits-Application-Id","value":"c70a66ff039d41b4a220e198b0fcc8b3","type":"text"},{"key":"X-Gizwits-User-token","value":"","type":"text"}],"body":{"mode":"raw","raw":" {\r\n \"attrs\": {\r\n \"mode\":1\r\n },\r\n \"raw\":\"\",\r\n \"date\": \"2020-03-30\",\r\n \"time\": \"10:30\",\r\n \"repeat\": \"mon\"\r\n} "},"url":"https://euapi.gizwits.com/app/devices/{did}/scheduler","urlObject":{"protocol":"https","path":["app","devices","{did}","scheduler"],"host":["euapi","gizwits","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2464cd82-7e7f-4e04-9295-bf2d7ca35b11"},{"name":"get_user_info","id":"1bb695c4-7257-4d17-b5af-bb3f81b4eec5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-Gizwits-Application-Id","value":"c70a66ff039d41b4a220e198b0fcc8b3","type":"text"},{"key":"X-Gizwits-User-token","value":"{{heatzy_token}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://euapi.gizwits.com/app/users","urlObject":{"protocol":"http","path":["app","users"],"host":["euapi","gizwits","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1bb695c4-7257-4d17-b5af-bb3f81b4eec5"},{"name":"create_new_user","id":"c5f2929d-ba45-49ba-a66e-f2d89a1d7994","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Gizwits-Application-Id","value":"c70a66ff039d41b4a220e198b0fcc8b3","type":"text"}],"body":{"mode":"raw","raw":"{\n\"username\":\"\",\n\"password\":\"\"\n}"},"url":"https://euapi.gizwits.com/app/users","urlObject":{"protocol":"https","path":["app","users"],"host":["euapi","gizwits","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c5f2929d-ba45-49ba-a66e-f2d89a1d7994"},{"name":"change_user_info","id":"b607868c-2052-4c84-a1e3-ceab3111051a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"X-Gizwits-Application-Id","type":"text","value":"c70a66ff039d41b4a220e198b0fcc8b3"},{"key":"X-Gizwits-User-token","type":"text","value":"{{heatzy_token}}"}],"body":{"mode":"raw","raw":" {\r\n\"old_pwd\":\"\",\r\n\"new_pwd\":\"\"\r\n} "},"url":"https://euapi.gizwits.com/app/users","urlObject":{"protocol":"https","path":["app","users"],"host":["euapi","gizwits","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b607868c-2052-4c84-a1e3-ceab3111051a"},{"name":"send_reset_pwd","event":[{"listen":"test","script":{"id":"f85e2223-7293-419e-8532-bf4ad5b73883","exec":[""],"type":"text/javascript"}}],"id":"688230e2-ca9f-4c11-8cfa-17d25098129b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Gizwits-Application-Id","type":"text","value":"c70a66ff039d41b4a220e198b0fcc8b3"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\"email\":\"\"\r\n} ","options":{"raw":{"language":"json"}}},"url":"https://euapi.gizwits.com/app/reset_password","description":"<p>If you forgot your account password. Use this request and you will receive a reset password e-mail.</p>\n","urlObject":{"protocol":"https","path":["app","reset_password"],"host":["euapi","gizwits","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"688230e2-ca9f-4c11-8cfa-17d25098129b"},{"name":"Bind_device_by_MAC","id":"dfd47226-2dca-4126-bddb-0cbfbaf58e9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Gizwits-Application-Id","value":"c70a66ff039d41b4a220e198b0fcc8b3","type":"text"},{"key":"X-Gizwits-User-token","value":"{{heatzy_token}}","type":"text"},{"key":"X-Gizwits-Timestamp","value":"","type":"text"},{"key":"X-Gizwits-Signature","value":"","type":"text"}],"url":"http://api.gizwits.com/app/bind_mac","urlObject":{"protocol":"http","path":["app","bind_mac"],"host":["api","gizwits","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"dfd47226-2dca-4126-bddb-0cbfbaf58e9f"}]}