{"info":{"_postman_id":"7b6d8718-49a2-468f-8726-0374be1aed13","name":"DNA Energy API","description":"<html><head></head><body><p>DNA Energy Read and Write APIs.</p>\n<h2 id=\"authentication\">Authentication</h2>\n<p>To get authentication credentials, please contact DNA Energy support team.</p>\n<h3 id=\"api-hostname\">API Hostname</h3>\n<ul>\n<li><code>{{host}}</code>: <a href=\"https://api.dnaenergy.live\">https://api.dnaenergy.live</a></li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"24998348","collectionId":"7b6d8718-49a2-468f-8726-0374be1aed13","publishedId":"2s8Z6sZumq","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"186A89"},"publishDate":"2024-02-27T23:40:14.000Z"},"item":[{"name":"Site Measurements","item":[{"name":"Get devices","id":"d6b66429-81aa-4a87-a6f3-0d8b524a0776","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"{{host}}/api/sites/{{site_id}}/devices?page=1&limit=20","description":"<h4 id=\"url-parameters\">URL Parameters</h4>\n<ul>\n<li>{{site_id}}: The provided database site_id</li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>This command will return a list of all devices recording<br />data at site.</p>\n<p>When filtering the info list, the key items to filter for are the following parameters.</p>\n<p>\"device_object_id\" - This is the indetifier for {{device-id}}</p>\n<p>\"friendly_name\" - This is the device name and can be used to identify what asset is returning data</p>\n","urlObject":{"path":["api","sites","{{site_id}}","devices"],"host":["{{host}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"20"}],"variable":[]}},"response":[],"_postman_id":"d6b66429-81aa-4a87-a6f3-0d8b524a0776"},{"name":"Get registers","id":"42013f2f-c6da-43dc-ae2c-c18faa548c30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/registers","description":"<h4 id=\"url-parameters\">URL Parameters</h4>\n<ul>\n<li>{{site_id}}: The provided database site_id</li>\n<li>{{device_id}}: The device_object_id of the device from the request Get devices</li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>After using the “Get Devices” command all devices will return a \"device_object_id\", this can be used in the “Get Registers” command to return a list of all the devices available energy registers.</p>\n","urlObject":{"path":["api","sites","{{site_id}}","devices","{{device_id}}","registers"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"42013f2f-c6da-43dc-ae2c-c18faa548c30"},{"name":"Get latest measurement","id":"de326c74-1fe5-444e-afe4-0f88476b272b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"registers\": [\"GRID.VoltsPhaseA\",\"GRID.VoltsPhaseB\",\"GRID.VoltsPhaseC\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/measurements/latest","description":"<h4 id=\"url-parameters\">URL Parameters</h4>\n<ul>\n<li>{{site_id}}: The provided database site_id</li>\n<li>{{device_id}}: The device_object_id of the device from the request Get devices</li>\n</ul>\n<h4 id=\"body-filters\">Body Filters:</h4>\n<ul>\n<li><code>registers</code>: this is an array of register type label name that you can get from calling API endpoint GET_Regs (Check #2) <strong>[OPTIONAL]</strong></li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>The measurements for every device can be queried through API, once the energy registers are known they can be put in the measurement query to download data for that device. The user should specify what register they want to be returned inside the “registers” array, the available registers can be retrieved from the ‘Get Registers” command.</p>\n","urlObject":{"path":["api","sites","{{site_id}}","devices","{{device_id}}","measurements","latest"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8cce987e-5cbe-4f44-8748-c1f6818bf18b","name":"Get latest measurement","originalRequest":{"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"registers\": [\"GRID.VoltsPhaseA\",\"GRID.VoltsPhaseB\",\"GRID.VoltsPhaseC\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/measurements/latest"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Feb 2024 23:01:26 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"268"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"05401b8b-c936-4e3d-abe9-e373e488619a"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"268"},{"key":"x-amz-apigw-id","value":"T0V3HF1UywMEnuA="},{"key":"etag","value":"W/\"10c-LkuRQEeXtubF/LYuCtmSa7rB5Nk\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-65de69c6-43733d711061624c3dee27bc;Parent=4228bd3d7f5fbdd0;Sampled=0;lineage=7dbcedaa:0"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"_id\": \"000001c001110200\",\n            \"measurements\": [\n                {\n                    \"label\": \"GRID.VoltsPhaseB\",\n                    \"units\": \"V\",\n                    \"value\": 242.745\n                },\n                {\n                    \"label\": \"GRID.VoltsPhaseC\",\n                    \"units\": \"V\",\n                    \"value\": 238.588\n                },\n                {\n                    \"label\": \"GRID.VoltsPhaseA\",\n                    \"units\": \"V\",\n                    \"value\": 243.863\n                }\n            ],\n            \"updated_at\": \"2024-02-27T23:01:26.224Z\"\n        }\n    ]\n}"}],"_postman_id":"de326c74-1fe5-444e-afe4-0f88476b272b"},{"name":"Get measurements (long)","id":"2549716b-0dc2-48bf-862e-7f80dfe77664","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"registers\": [\"GRID.PowerkW\", \"GRID.PowerkVA\"],\n    \"sampling\": \"hour\",\n    \"start_time\": \"2024-01-26T08:00:00Z\",\n    \"end_time\": \"2024-01-27T08:00:00Z\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/measurements","description":"<h4 id=\"available-parameters\"><strong>Available Parameters</strong></h4>\n<ul>\n<li><code>sampling</code>: This value is the sampling group to aggregate of the given time range <strong>[OPTIONAL]</strong><ul>\n<li><code>second</code>:grouping every 5 second, this is only valid on 1 minute interval between start_time and end_time</li>\n<li><code>minute</code>: grouping every 5 minute</li>\n<li><code>hour</code>: grouping every 1 hour</li>\n<li><code>day</code>: grouping every 24 hour</li>\n</ul>\n</li>\n<li><code>start_time</code>: format (YYYY-MM-DDTHH:mm:ssZ) <strong>[optional]</strong><ul>\n<li>Default is the current time</li>\n<li>This should be an UTC time</li>\n</ul>\n</li>\n<li><code>end_time</code>: format (YYYY-MM-DDTHH:mm:ssZ) <strong>[optional]</strong><ul>\n<li>This should be an UTC time</li>\n<li>Default is 1 minute after the provided start_time timestamp</li>\n</ul>\n</li>\n<li><code>registers</code>: this is an array of register type label name that you can get from calling API endpoint GET_Regs</li>\n</ul>\n<h4 id=\"sampling-default\">Sampling Default</h4>\n<ul>\n<li><code>second</code>: if the interval between start_time and end_time is less than or equal to 1 minute</li>\n<li><code>minute</code>: if the interval between start_time and end_time is more than 1 minute and equal or less than 1 hour</li>\n<li><code>hour</code>: if the interval between start_time and end_time is more than 1 hour and less than or equal to 24 hours (1 day)</li>\n<li><code>day</code>: if the interval between start_time and end_time is more than 1 day</li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>The measurements long query allows the client to specify the start and end time of data to be returned with the specified sampling rate.</p>\n<p>The result of the <code>aggregated_value</code> is calculated by adding the latest data points in the specified sampling batch from various objects under the device, that can provide the specified data registers. Additionally, the data points should fall under the given date-time range.</p>\n","urlObject":{"path":["api","sites","{{site_id}}","devices","{{device_id}}","measurements"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"96a16530-eddd-459d-9723-64f0f540b543","name":"Get measurements (long)","originalRequest":{"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"registers\": [\"GRID.PowerkW\", \"GRID.PowerkVA\"],\n    \"sampling\": \"hour\",\n    \"start_time\": \"2024-01-26T08:00:00Z\",\n    \"end_time\": \"2024-01-27T08:00:00Z\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/measurements"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Feb 2024 23:02:59 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6007"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"c15fb0a3-3583-4581-9452-c2a22510732d"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"6007"},{"key":"x-amz-apigw-id","value":"T0WFnHnqSwMEF5Q="},{"key":"etag","value":"W/\"1777-6vGnaR9uiN8aWLdL/hKlHv0NNU8\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-65de6a23-701d9e364a0cbb1c3334f9fc;Parent=6465fbe765094a5e;Sampled=0;lineage=7dbcedaa:0"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"params\": {\n        \"registers\": [\n            \"GRID.PowerkW\",\n            \"GRID.PowerkVA\"\n        ],\n        \"start_time\": \"2024-01-26T08:00:00.000Z\",\n        \"end_time\": \"2024-01-27T08:00:00.000Z\",\n        \"sampling_size\": \"hour\"\n    },\n    \"measurements\": [\n        {\n            \"_id\": \"GRID.PowerkVA\",\n            \"measurement_units\": [\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 8,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 147.816\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 9,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 126.931\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 10,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 107.139\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 11,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 92.776\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 12,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 93.342\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 13,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 92.27\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 14,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 88.413\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 15,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 71.95\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 16,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 80.087\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 17,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 81.272\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 18,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 91.112\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 19,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 85.999\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 20,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 116.077\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 21,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 123.56\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 22,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 113.757\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 23,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 130.973\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 0,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 153.324\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 1,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 142.803\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 2,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 161.313\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 3,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 152.199\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 4,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 151.284\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 5,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 185.049\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 6,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 146.592\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 7,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkVA\"\n                    },\n                    \"aggregated_value\": 134.575\n                }\n            ]\n        },\n        {\n            \"_id\": \"GRID.PowerkW\",\n            \"measurement_units\": [\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 8,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 147.741\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 9,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 126.905\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 10,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 107.067\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 11,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 92.775\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 12,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 93.299\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 13,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 92.249\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 14,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 88.373\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 15,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 71.918\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 16,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 80.087\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 17,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 81.261\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 18,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 91.077\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 19,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 85.14\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 20,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 115.452\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 21,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 123.107\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 22,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 112.857\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 26,\n                        \"hour\": 23,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 129.882\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 0,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 153.214\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 1,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 141.387\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 2,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 160.731\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 3,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 151.556\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 4,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 150.942\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 5,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 184.85\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 6,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 146.035\n                },\n                {\n                    \"_id\": {\n                        \"year\": 2024,\n                        \"month\": 1,\n                        \"dayOfYear\": 27,\n                        \"hour\": 7,\n                        \"interval\": 0,\n                        \"label\": \"GRID.PowerkW\"\n                    },\n                    \"aggregated_value\": 134.233\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"2549716b-0dc2-48bf-862e-7f80dfe77664"}],"id":"71548709-b723-4cdd-bc46-0f081245a3c2","description":"<p>Standard API calls to retrieve site measurements</p>\n","_postman_id":"71548709-b723-4cdd-bc46-0f081245a3c2"},{"name":"DNA Site Controller","item":[{"name":"Set register Lt","id":"810067c3-08b1-480b-ab9b-631d464629d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"value\": -62300\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/register_blocks/controlled_load","description":"<p>This endpoint sends <code>set register block</code> command call to the site controller control object, e.g., 0000002701100100. The command type is to set <code>Lt</code></p>\n<p>The site load limit, the site controller will restrict the site to prevent this value from being exceeded. Lt can not exceed the maximum site load or the safety restrictions set by DNA. The command will timeout back to default after 30 minutes.</p>\n<h4 id=\"url-parameters\">URL Parameters</h4>\n<ul>\n<li>{{site_id}}: The provided database site_id</li>\n</ul>\n<h4 id=\"body-parameters\">Body Parameters</h4>\n<ul>\n<li>value: the new value to set for the specific register type. This value should be an integer / floating point number</li>\n<li>unit: the value is in W, where a negative value is consumption and positive is generation</li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>This register lets the client set the site controller Load Target, please refer to the DNA Site Controller document on how these parameters should be set.</p>\n","urlObject":{"path":["api","sites","{{site_id}}","register_blocks","controlled_load"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8099a9ae-9797-4ccd-b98c-9e6312152e1f","name":"Set register Lt","originalRequest":{"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"value\": -62300\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/register_blocks/controlled_load"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Feb 2024 23:03:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"76399c6d-ab49-46d6-834f-f4c4674701b3"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"16"},{"key":"x-amz-apigw-id","value":"T0WJDHWOSwMEOIg="},{"key":"etag","value":"W/\"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-65de6a39-62a8c83c4398010855e622aa;Parent=4787ddcf8f6db44f;Sampled=0;lineage=7dbcedaa:0"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"810067c3-08b1-480b-ab9b-631d464629d4"},{"name":"Set register Sd","id":"9e539fac-08c5-47d4-ba5a-1fb38d7d89bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"value\": -12000\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/register_blocks/storage_discharge","description":"<p>This endpoint sends <code>set register block</code> command call to the site controller control object, e.g., 0000002701100100. The command type is to set <code>Sd</code></p>\n<p>The site storage discharging point limit, when this limit is reached the site controller will begin discharging all controlled storage devices, such as batteries. Sd can not exceed Lt and must be greater than Sc. The command will timeout back to default after 30 minutes.</p>\n<h4 id=\"url-parameters\">URL Parameters</h4>\n<ul>\n<li>{{site_id}}: The provided database site_id</li>\n</ul>\n<h4 id=\"body-parameters\">Body Parameters</h4>\n<ul>\n<li>value: the new value to set for the specific register type. This value should be an integer / floating point number</li>\n<li>unit: the value is in W, where a negative value is consumption and positive is generation</li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>This register lets the client set the site controller Storage (Battery) Discharge Target, please refer to the DNA Site Controller document on how these parameters should be set.</p>\n","urlObject":{"path":["api","sites","{{site_id}}","register_blocks","storage_discharge"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"662dd360-5e49-4616-800b-23e88cf8e5a7","name":"Set register Sd","originalRequest":{"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"value\": -12000\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/register_blocks/storage_discharge"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Feb 2024 23:03:37 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"9334c078-8426-43ac-bbcf-3cc5f2a9b5c4"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"16"},{"key":"x-amz-apigw-id","value":"T0WLcHU2SwMEbzQ="},{"key":"etag","value":"W/\"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-65de6a48-70c200e36c53872c3c698093;Parent=29ec5dc0bd78baca;Sampled=0;lineage=7dbcedaa:0"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"9e539fac-08c5-47d4-ba5a-1fb38d7d89bd"},{"name":"Set register Sc","id":"b927d330-355f-43c9-bd4f-9e390e528b20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"value\": -12000\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/register_blocks/storage_charge","description":"<p>This endpoint sends <code>set register block</code> command call to the site controller control object, e.g., 0000002701100100. The command type is to set <code>Sc</code></p>\n<p>The site storage charging point limit, when this limit is reached the site controller will begin charging all controlled storage devices, such as batteries. Sc can not exceed Sd and must be greater than Et. The command will timeout back to default after 30 minutes.</p>\n<h4 id=\"url-parameters\">URL Parameters</h4>\n<ul>\n<li>{{site_id}}: The provided database site_id</li>\n</ul>\n<h4 id=\"body-parameters\">Body Parameters</h4>\n<ul>\n<li>value: the new value to set for the specific register type. This value should be an integer / floating point number</li>\n<li>unit: the value is in W, where a negative value is consumption and positive is generation</li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>This register lets the client set the site controller Storage (Battery) Charge Target, please refer to the DNA Site Controller document on how these parameters should be set.</p>\n","urlObject":{"path":["api","sites","{{site_id}}","register_blocks","storage_charge"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"04af6353-1d14-4b02-9908-03ccc223981b","name":"Set register Sc","originalRequest":{"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"value\": -12000\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/register_blocks/storage_charge"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Feb 2024 23:03:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"f045d30c-af2b-4627-8976-48580cb25e73"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"16"},{"key":"x-amz-apigw-id","value":"T0WNeF0lSwMEu9Q="},{"key":"etag","value":"W/\"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-65de6a55-3f80b6c3786274da4e6d3019;Parent=204086fe7da06182;Sampled=0;lineage=7dbcedaa:0"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"b927d330-355f-43c9-bd4f-9e390e528b20"},{"name":"Set register Et","id":"b8c41f64-2ea6-419c-9425-0f10648aa01c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"value\": -12000\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/register_blocks/solar","description":"<p>This endpoint sends <code>set register block</code> command call to the site controller control object, e.g., 0000002701100100. The command type is to set <code>Et</code></p>\n<p>StartFragment</p>\n<p>The site export limit, the site controller will restrict the site to prevent this value from being exceeded. Et can not exceed the maximum site export limit or the safety restrictions set by DNA. The command will timeout back to default after 30 minutes.</p>\n<p>EndFragment</p>\n<h4 id=\"url-parameters\">URL Parameters</h4>\n<ul>\n<li>{{site_id}}: The provided database site_id</li>\n</ul>\n<h4 id=\"body-parameters\">Body Parameters</h4>\n<ul>\n<li>value: the new value to set for the specific register type. This value should be an integer / floating point number</li>\n<li>unit: the value is in W, where a negative value is consumption and positive is generation</li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>This register lets the client set the site controller Export Limit Target, please refer to the DNA Site Controller document on how these parameters should be set.</p>\n","urlObject":{"path":["api","sites","{{site_id}}","register_blocks","solar"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"49415b4c-fc6a-4c7d-941b-676bd20a9680","name":"Set register Et","originalRequest":{"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"value\": -12000\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/register_blocks/solar"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Feb 2024 23:04:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"b3db7aa5-3a66-4a7d-80e9-b8afee29f09d"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"16"},{"key":"x-amz-apigw-id","value":"T0WPUEcASwMEXig="},{"key":"etag","value":"W/\"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-65de6a61-2ae468852933ef3d199af873;Parent=646bda53d143d16a;Sampled=0;lineage=7dbcedaa:0"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"b8c41f64-2ea6-419c-9425-0f10648aa01c"}],"id":"ed8deb0e-eb07-46de-bb3c-82ccf4304749","_postman_id":"ed8deb0e-eb07-46de-bb3c-82ccf4304749","description":""},{"name":"DNA HVAC Direct Control","item":[{"name":"HVAC_Operating_State","id":"0c7d9947-5b5f-4858-8469-a72f91c47e65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_operating_state","description":"<h4 id=\"url-parameters\">URL Parameters</h4>\n<ul>\n<li>{{site_id}}: The provided database site_id</li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>This command will return the current HVAC unit operating state.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Command</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>HVAC unit is off</td>\n<td>0</td>\n</tr>\n<tr>\n<td>HVAC unit is on</td>\n<td>1</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","sites","{{site_id}}","devices","{{device_id}}","register_blocks","hvac_operating_state"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"3531c7cb-c5bb-4547-b07e-dd927afe1035","name":"HVAC_Operating_State","originalRequest":{"method":"GET","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_operating_state"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Feb 2024 23:04:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"d455a7a7-9f12-4925-94c1-5677ea00e6e0"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"43"},{"key":"x-amz-apigw-id","value":"T0WTaHwTSwMEQZA="},{"key":"etag","value":"W/\"2b-TXBkbWNYz8VpVyuPV8QckSzNKo4\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-65de6a7b-60cd067234c2d4d37abb3e90;Parent=3e4c0dbd0008ffda;Sampled=0;lineage=7dbcedaa:0"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"hvac_operating_state\",\n        \"value\": 1\n    }\n]"}],"_postman_id":"0c7d9947-5b5f-4858-8469-a72f91c47e65"},{"name":"HVAC_Mode","id":"6564d9f2-53bc-4c98-8db5-892bb8c7a185","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_mode","description":"<h4 id=\"url-parameters\">URL Parameters</h4>\n<ul>\n<li>{{site_id}}: The provided database site_id</li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>This command will return the current HVAC operating mode.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Command</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>HVAC unit is in heat mode</td>\n<td>0</td>\n</tr>\n<tr>\n<td>HVAC unit is in cool mode</td>\n<td>1</td>\n</tr>\n<tr>\n<td>HVAC unit is in Auto mode</td>\n<td>2</td>\n</tr>\n<tr>\n<td>HVAC unit is in fan only mode</td>\n<td>3</td>\n</tr>\n<tr>\n<td>HVAC unit is not set in a mode</td>\n<td>4</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","sites","{{site_id}}","devices","{{device_id}}","register_blocks","hvac_mode"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"6dd450b4-f287-4bf2-a0aa-9682c1b2e283","name":"HVAC_Mode","originalRequest":{"method":"GET","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_mode"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Feb 2024 23:05:22 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"32"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"61ac15b4-207c-499d-87d5-5d46d6479612"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"32"},{"key":"x-amz-apigw-id","value":"T0Wb9E24SwMEo1A="},{"key":"etag","value":"W/\"20-XmzH3Ed1bN7jHjranH8h4H2l/mM\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-65de6ab2-66a4a2f663da008b418a9c89;Parent=6ed35f413b38e75b;Sampled=0;lineage=7dbcedaa:0"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"hvac_mode\",\n        \"value\": 2\n    }\n]"}],"_postman_id":"6564d9f2-53bc-4c98-8db5-892bb8c7a185"},{"name":"HVAC_Demand_Response","id":"87397de3-a4ec-4635-8949-e651b58b0733","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_demand_response","description":"<h4 id=\"url-parameters\">URL Parameters</h4>\n<ul>\n<li>{{site_id}}: The provided database site_id</li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>This command will return the current demand response applied to the HVAC unit.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Command</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>No Controls Applied</td>\n<td>0%</td>\n</tr>\n<tr>\n<td>No Controls Mapped</td>\n<td>0% - 50%</td>\n</tr>\n<tr>\n<td>No Controls Mapped</td>\n<td>50% - 75%</td>\n</tr>\n<tr>\n<td>HVAC unit is in fan only mode</td>\n<td>75% - 95%</td>\n</tr>\n<tr>\n<td>HVAC unit is switched off</td>\n<td>95% - 100%</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","sites","{{site_id}}","devices","{{device_id}}","register_blocks","hvac_demand_response"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"372df5f6-704c-488c-9b62-568f92c7eec1","name":"HVAC_Demand_Response","originalRequest":{"method":"GET","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_demand_response"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Feb 2024 23:05:35 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"344a5294-89c4-4af9-89e5-171d5f0230a4"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"43"},{"key":"x-amz-apigw-id","value":"T0Wd8HmcSwMEhDw="},{"key":"etag","value":"W/\"2b-3lo5cLijy/gZbWj7egBO5L7djfc\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-65de6abf-584e9e453a112cda5157c05e;Parent=307b21f73ff3368f;Sampled=0;lineage=7dbcedaa:0"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"hvac_demand_response\",\n        \"value\": 0\n    }\n]"}],"_postman_id":"87397de3-a4ec-4635-8949-e651b58b0733"},{"name":"HVAC_Temperature_Setpoint","id":"d5b31ac4-374e-49d1-a6aa-681323c5704f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_temperature_setpoint","description":"<h4 id=\"url-parameters\">URL Parameters</h4>\n<ul>\n<li>{{site_id}}: The provided database site_id</li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>This command will return the current temperature setpoint of the HVAC unit. Temperature units are in Degrees.</p>\n","urlObject":{"path":["api","sites","{{site_id}}","devices","{{device_id}}","register_blocks","hvac_temperature_setpoint"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"33e7d8eb-5ea3-4833-9b28-e39e8114c7e3","name":"HVAC_Temperature_Setpoint","originalRequest":{"method":"GET","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_temperature_setpoint"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Feb 2024 23:05:47 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"49"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"2f3e99d2-6324-4b13-8389-52c75c45401d"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"49"},{"key":"x-amz-apigw-id","value":"T0WfxHLzSwMEPtg="},{"key":"etag","value":"W/\"31-GkK/8Gtqlo9HRlPwxZvrpXBmB8Q\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-65de6acb-5ef3788315bcc952112d62c3;Parent=7745f5e8875ba48c;Sampled=0;lineage=7dbcedaa:0"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"name\": \"hvac_temperature_setpoint\",\n        \"value\": 23\n    }\n]"}],"_postman_id":"d5b31ac4-374e-49d1-a6aa-681323c5704f"},{"name":"HVAC_Operating_State","id":"db77cf1c-aece-46f2-b557-1b556a4427d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"value\" : 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_operating_state","description":"<h4 id=\"url-parameters\">URL Parameters</h4>\n<ul>\n<li>{{site_id}}: The provided database site_id</li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>This command will set the HVAC unit operating state.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Command</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Turn HVAC unit off</td>\n<td>0</td>\n</tr>\n<tr>\n<td>Turn HVAC unit on</td>\n<td>1</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","sites","{{site_id}}","devices","{{device_id}}","register_blocks","hvac_operating_state"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"06386b22-0910-4b0e-9e32-838b465c6296","name":"HVAC_Operating_State","originalRequest":{"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"value\" : 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_operating_state"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Feb 2024 23:06:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"27309e1f-f9f2-4431-8715-912d5db4c9f2"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"16"},{"key":"x-amz-apigw-id","value":"T0WjUGQpSwMEW1w="},{"key":"etag","value":"W/\"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-65de6ae1-3b9246cf5975c9ea48800f9c;Parent=37660db5de39eae5;Sampled=0;lineage=7dbcedaa:0"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"db77cf1c-aece-46f2-b557-1b556a4427d0"},{"name":"HVAC_Mode","id":"2f1f214a-05d0-4b1f-a7ea-0fe1fd33de00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"value\" : 2\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_mode","description":"<h4 id=\"url-parameters\">URL Parameters</h4>\n<ul>\n<li>{{site_id}}: The provided database site_id</li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>This command will set the HVAC operating mode.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Command</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Set HVAC in heat mode</td>\n<td>0</td>\n</tr>\n<tr>\n<td>Set HVAC in cool mode</td>\n<td>1</td>\n</tr>\n<tr>\n<td>Set HVAC in Auto mode</td>\n<td>2</td>\n</tr>\n<tr>\n<td>Set HVAC in fan only mode</td>\n<td>3</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","sites","{{site_id}}","devices","{{device_id}}","register_blocks","hvac_mode"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"90f2e31b-6e93-4856-8811-fd5fdabd35f9","name":"HVAC_Mode","originalRequest":{"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"value\" : 2\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_mode"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Feb 2024 23:06:24 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"896eacab-a83e-40a5-833c-abc6cb4bcff0"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"16"},{"key":"x-amz-apigw-id","value":"T0WlmEhnywMEk4A="},{"key":"etag","value":"W/\"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-65de6af0-3fa6b05a43ae65c67d125bcc;Parent=0293b15fab1c8e0e;Sampled=0;lineage=7dbcedaa:0"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"2f1f214a-05d0-4b1f-a7ea-0fe1fd33de00"},{"name":"HVAC_Demand_Response","id":"9f868dc8-5002-4cf6-9204-4d767a5c1942","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"value\" : 0\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_demand_response","description":"<h4 id=\"url-parameters\">URL Parameters</h4>\n<ul>\n<li>{{site_id}}: The provided database site_id</li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>This command will set the demand response at the HVAC unit. This will apply a restirction to the HVAC unit preventing normal operation to reduce power consumption.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Command</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Normal Operation of HVAC allowed</td>\n<td>0%</td>\n</tr>\n<tr>\n<td>No Controls Mapped</td>\n<td>0% - 50%</td>\n</tr>\n<tr>\n<td>No Controls Mapped</td>\n<td>50% - 75%</td>\n</tr>\n<tr>\n<td>Set HVAC in fan only mode</td>\n<td>75% - 95%</td>\n</tr>\n<tr>\n<td>Turn HVAC unit off</td>\n<td>95% - 100%</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","sites","{{site_id}}","devices","{{device_id}}","register_blocks","hvac_demand_response"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"4f5ba1eb-4324-42da-a1f1-f7469de9edbf","name":"HVAC_Demand_Response","originalRequest":{"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"value\" : 0\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_demand_response"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Feb 2024 23:06:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"c4c465b9-2135-4f47-b759-454de7563900"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"16"},{"key":"x-amz-apigw-id","value":"T0WorFoqywMEefw="},{"key":"etag","value":"W/\"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-65de6b04-20583bd952a1995d4121f2c6;Parent=5fd5a235b7c6ae7d;Sampled=0;lineage=7dbcedaa:0"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"9f868dc8-5002-4cf6-9204-4d767a5c1942"},{"name":"HVAC_Temperature_Setpoint","id":"42d7933e-2c86-4543-a2f5-ac83b9f1d2ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"value\" : 23\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_temperature_setpoint","description":"<h4 id=\"url-parameters\">URL Parameters</h4>\n<ul>\n<li>{{site_id}}: The provided database site_id</li>\n</ul>\n<h4 id=\"description\">Description</h4>\n<p>This command will set the temperature setpoint of the HVAC unit. Temperature units are in Degrees. Minimum value of 16 Degrees and Maximum of 30 Degrees allowed.</p>\n","urlObject":{"path":["api","sites","{{site_id}}","devices","{{device_id}}","register_blocks","hvac_temperature_setpoint"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"9a66f9e7-ab13-4785-b2bf-7394cc2cc5ac","name":"HVAC_Temperature_Setpoint","originalRequest":{"method":"POST","header":[{"key":"x-client-id","value":"{{x-client-id}}","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"value\" : 23\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/sites/{{site_id}}/devices/{{device_id}}/register_blocks/hvac_temperature_setpoint"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 Feb 2024 23:06:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"16"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"1bd9ffb2-2f57-45d5-b238-7ce65799ec62"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-amzn-Remapped-content-length","value":"16"},{"key":"x-amz-apigw-id","value":"T0WqtFdnywMEi3A="},{"key":"etag","value":"W/\"10-oV4hJxRVSENxc/wX8+mA4/Pe4tA\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-65de6b11-1c07d37725e241c071ec72d2;Parent=07c932e5d1884e2c;Sampled=0;lineage=7dbcedaa:0"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true\n}"}],"_postman_id":"42d7933e-2c86-4543-a2f5-ac83b9f1d2ef"}],"id":"559e53f6-aa91-4652-9750-dbf4992228da","description":"<p>Where a site is configured with HVAC BMS controls the DNA API can be used to control each HVAC asset.</p>\n<p>The DNA API provides the following standard control registers, all HVAC manufacturers and HVAC controllers are all mapped into this standard format of control.</p>\n<p>HVAC_Operating_State - Turn the HVAC unit on or off</p>\n<p>HVAC_Mode - Change the HVAC unit from cooling to heating or auto</p>\n<p>HVAC_Demand_Response - Reduce load at the HVAC asset</p>\n<p>HVAC_Temeprature_Setpoint - Change the temperature setpoint</p>\n<p>It should be noted that additonal HVAC read only registers are available through the \"Get registers\" command.</p>\n","_postman_id":"559e53f6-aa91-4652-9750-dbf4992228da"}]}