{"info":{"_postman_id":"5ccbccbf-83d8-402e-8654-0983fe5138e1","name":"Huskoll_API","description":"<html><head></head><body><p>This is a public API to control Huskoll WiFi</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6416017","collectionId":"5ccbccbf-83d8-402e-8654-0983fe5138e1","publishedId":"S1TYTvqb","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-06-05T07:51:59.000Z"},"item":[{"name":"Get Huskoll Parameters","id":"54b6d0af-5fa6-4f58-a204-1b8651aefa35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"123456789012345678901234567890","type":"text","description":"<p>request your token from <a href=\"mailto:info@huskoll.se\">info@huskoll.se</a></p>\n"},{"key":"hwid","value":"484C55CC170437","type":"text","description":"<p>hwid of Huskoll</p>\n"}]},"url":"https://huskoll.se/API/openAPI.php/huskoll/get/","description":"<p>Returns all parameters from Huskoll.</p>\n","urlObject":{"protocol":"https","path":["API","openAPI.php","huskoll","get",""],"host":["huskoll","se"],"query":[],"variable":[]}},"response":[{"id":"51c813e5-54f9-4097-baea-4792836e49ab","name":"Get Huskoll parameters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"123456789012345678901234567890","type":"text"},{"key":"hwid","value":"484C55CC170437","type":"text"}]},"url":"https://huskoll.se/API/openAPI.php/huskoll/get/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 04 Jun 2019 09:00:05 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/7.2.19"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"143"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"834645856"},{"key":"Age","value":"0"},{"key":"Via","value":"1.1 varnish (Varnish/6.1)"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"online\",\n    \"power\": \"on\",\n    \"mode\": \"heat\",\n    \"setpoint\": \"21\",\n    \"fan\": \"auto\",\n    \"temperature\": \"20.6\",\n    \"alarm\": \"2019-04-07 18:55:07 UTC T<11\",\n    \"hw_generation\": \"2.0\"\n}"}],"_postman_id":"54b6d0af-5fa6-4f58-a204-1b8651aefa35"},{"name":"Set Huskoll Parameters","id":"4d0f5740-0f2a-430b-8217-4b320adae485","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","type":"text","value":"123456789012345678901234567890"},{"key":"hwid","type":"text","value":"484C55CC170437"},{"description":"<p>on/off</p>\n","key":"power","type":"text","value":"on"},{"description":"<p>heat/cool</p>\n","key":"mode","type":"text","value":"heat"},{"description":"<p>low/medium/high/auto</p>\n","key":"fan","type":"text","value":"auto"},{"description":"<p>from 8 to 32 deg bepending on brand of heat pump</p>\n","key":"setpoint","type":"text","value":"20"}]},"url":"https://huskoll.se/API/openAPI.php/huskoll/set/","description":"<p>Send new settings to Huskoll.\nSend all parameters in one request. </p>\n","urlObject":{"protocol":"https","path":["API","openAPI.php","huskoll","set",""],"host":["huskoll","se"],"query":[],"variable":[]}},"response":[{"id":"2a610367-3c48-4422-af9f-c882a72a0418","name":"Set Huskoll parameters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"123456789012345678901234567890","type":"text"},{"key":"hwid","value":"484C55CC170437","type":"text"},{"key":"power","value":"on","type":"text"},{"key":"mode","value":"heat","type":"text"},{"key":"fan","value":"auto","type":"text"},{"key":"setpoint","value":"20","type":"text"}]},"url":"https://huskoll.se/API/openAPI.php/huskoll/set/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 04 Jun 2019 09:01:13 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"PHP/7.2.19"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Length","value":"36"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"901383946"},{"key":"Age","value":"0"},{"key":"Via","value":"1.1 varnish (Varnish/6.1)"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"ack\"\n}"}],"_postman_id":"4d0f5740-0f2a-430b-8217-4b320adae485"}],"event":[{"listen":"prerequest","script":{"id":"9b4fb301-ab78-4c4e-bbf7-987f017a9419","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6b8c565a-9188-4c3b-aada-b7bdc4808373","type":"text/javascript","exec":[""]}}]}