{"info":{"_postman_id":"53054139-c791-47bc-b34d-d60e6593f20f","name":"Aurora","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"1698430","collectionId":"53054139-c791-47bc-b34d-d60e6593f20f","publishedId":"SWTA8xX2","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-01-31T14:39:27.000Z"},"item":[{"name":"Post config file to Aurora","id":"a599dfcb-3416-4f54-b7c3-f9cbe80484a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"server\": {\r\n        \"hostname\": \"invertercentraline\",\r\n        \"isStatic\": true,\r\n        \"address\": \"192.168.1.15\",\r\n        \"gatway\": \"192.168.1.1\",\r\n        \"netMask\": \"255.255.255.0\",\r\n        \"dns1\": \"8.8.8.8\",\r\n        \"dns2\": \"85.37.17.51\"\r\n    },\r\n    \"serverSMTP\": {\r\n        \"server\": \"smtp.gmail.com\",\r\n        \"port\": 465,\r\n        \"login\": \"your.account@gmail.com\",\r\n        \"password\": \"yourpasswd\",\r\n        \"from\": \"youremailsender@gmail.com\"\r\n    },\r\n    \"emailNotification\": {\r\n        \"isNotificationEnabled\": true,\r\n        \"subject\": \"Notifica inverter\",\r\n        \"messageProblem\": \"Un problema è stato rilevato sull'inverter:\",\r\n        \"messageNoProblem\": \"E' stato ripristinato lo stato del tuo inverter:\",\r\n        \"emailList\": [\r\n            {\r\n                \"email\": \"emailnotify@gmail.com\",\r\n                \"name\": \"Renzo Mischianti\",\r\n                \"alarm\": \"on_problem\",\r\n                \"ch1\": \"on_problem\",\r\n                \"ch2\": \"none\",\r\n                \"state\": \"on_problem\"\r\n            }\r\n        ]\r\n    },\r\n    \"preferences\": {\r\n        \"GTM\": {\r\n            \"timeZoneId\": 31,\r\n            \"gmtAdjustment\": \"GMT+01:00\",\r\n            \"useDaylightTime\": 1,\r\n            \"value\": 1,\r\n            \"description\": \"(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna\"\r\n        },\r\n        \"DST\": {\r\n            \"id\": 2,\r\n            \"code\": \"CET\",\r\n            \"description\": \"Central European Time (Frankfurt, Paris)\"\r\n        },\r\n        \"adminEmail\": \"emailadmin@gmail.com\",\r\n        \"undefined\": {\r\n            \"id\": 0,\r\n            \"code\": \"GMT\",\r\n            \"description\": \"Standard GMT\"\r\n        }\r\n    }\r\n}"},"url":"http://192.168.1.117:8080/config","urlObject":{"protocol":"http","port":"8080","path":["config"],"host":["192","168","1","117"],"query":[],"variable":[]}},"response":[],"_postman_id":"a599dfcb-3416-4f54-b7c3-f9cbe80484a0"},{"name":"Get config file from aurora","id":"dd2a1c5a-8c40-4c74-a2f4-5435677e4ab9","request":{"method":"GET","header":[],"url":"http://192.168.1.11:8080/config","urlObject":{"protocol":"http","port":"8080","path":["config"],"host":["192","168","1","11"],"query":[],"variable":[]}},"response":[{"id":"943bb8a5-31d7-43f6-bcf2-2d62cb5d08d4","name":"Get config file from aurora","originalRequest":{"method":"GET","header":[],"url":"http://192.168.1.11:8080/config"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"10000"},{"key":"Access-Control-Allow-Methods","value":"PUT,POST,GET,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"857"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"server\": {\n        \"hostname\": \"invertercentraline\",\n        \"isStatic\": true,\n        \"address\": \"192.168.1.11\",\n        \"gatway\": \"192.168.1.1\",\n        \"netMask\": \"255.255.255.0\",\n        \"dns1\": \"85.37.17.12\",\n        \"dns2\": \"8.8.8.8\"\n    },\n    \"serverSMTP\": {\n        \"server\": \"smtp.gmail.com\",\n        \"port\": 465,\n        \"login\": \"account@gmail.com\",\n        \"password\": \"yourpasswd\",\n        \"from\": \"emailfrom@gmail.com\"\n    },\n    \"emailNotification\": {\n        \"isNotificationEnabled\": true,\n        \"subject\": \"Notifica inverter\",\n        \"messageProblem\": \"Un problema è stato rilevato sull'inverter:\",\n        \"messageNoProblem\": \"E' stato ripristinato lo stato del tuo inverter:\",\n        \"emailList\": [\n            {\n                \"email\": \"emailtosend@gmail.com\",\n                \"name\": \"Renzo Mischianti\",\n                \"alarm\": \"on_problem\",\n                \"ch1\": \"none\",\n                \"ch2\": \"none\",\n                \"state\": \"on_problem\"\n            }\n        ]\n    },\n    \"preferences\": {\n        \"GTM\": {\n            \"timeZoneId\": 31,\n            \"gmtAdjustment\": \"GMT+01:00\",\n            \"useDaylightTime\": 1,\n            \"value\": 1,\n            \"description\": \"(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna\"\n        }\n    }\n}"}],"_postman_id":"dd2a1c5a-8c40-4c74-a2f4-5435677e4ab9"},{"name":"Get production data","id":"f4662d54-2198-49f4-a92d-df7477cec52a","request":{"method":"GET","header":[],"url":"http://192.168.1.11:8080/production?day=20181020&type=power","urlObject":{"protocol":"http","port":"8080","path":["production"],"host":["192","168","1","11"],"query":[{"key":"day","value":"20181020"},{"key":"type","value":"power"}],"variable":[]}},"response":[{"id":"eb4a18ba-6248-43ea-9bff-e586e399d1f2","name":"Get production data","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://192.168.1.11:8080/production?day=20181130&type=power","protocol":"http","host":["192","168","1","11"],"port":"8080","path":["production"],"query":[{"key":"day","value":"20181130"},{"key":"type","value":"power"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"10000"},{"key":"Access-Control-Allow-Methods","value":"PUT,POST,GET,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"382"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"lastUpdate\": \"30/11/2018 16:25:49\",\n    \"data\": [\n        {\n            \"h\": \"1520\",\n            \"val\": 76.6\n        },\n        {\n            \"h\": \"1525\",\n            \"val\": 87.3\n        },\n        {\n            \"h\": \"1530\",\n            \"val\": 92.2\n        },\n        {\n            \"h\": \"1535\",\n            \"val\": 113.8\n        },\n        {\n            \"h\": \"1540\",\n            \"val\": 112.3\n        },\n        {\n            \"h\": \"1545\",\n            \"val\": 135.3\n        },\n        {\n            \"h\": \"1550\",\n            \"val\": 122.1\n        },\n        {\n            \"h\": \"1555\",\n            \"val\": 87.3\n        },\n        {\n            \"h\": \"1600\",\n            \"val\": 60.9\n        },\n        {\n            \"h\": \"1605\",\n            \"val\": 48.2\n        },\n        {\n            \"h\": \"1610\",\n            \"val\": 44.7\n        },\n        {\n            \"h\": \"1615\",\n            \"val\": 54\n        },\n        {\n            \"h\": \"1620\",\n            \"val\": 27.5\n        },\n        {\n            \"h\": \"1625\",\n            \"val\": 7.2\n        }\n    ]\n}"}],"_postman_id":"f4662d54-2198-49f4-a92d-df7477cec52a"},{"name":"Get stats for month","id":"21b2a75b-3dc7-41c7-891f-71b403870db8","request":{"method":"GET","header":[],"url":"http://192.168.1.11:8080/monthly?month=201810","urlObject":{"protocol":"http","port":"8080","path":["monthly"],"host":["192","168","1","11"],"query":[{"key":"month","value":"201810"}],"variable":[]}},"response":[],"_postman_id":"21b2a75b-3dc7-41c7-891f-71b403870db8"},{"name":"Inverter state","id":"36f1ea75-aa5a-4a8b-91ee-9c7990ee7a77","request":{"method":"GET","header":[],"url":"http://192.168.1.11:8080/inverterState","description":"","urlObject":{"protocol":"http","port":"8080","path":["inverterState"],"host":["192","168","1","11"],"query":[],"variable":[]}},"response":[{"id":"ced056e0-81fe-4322-8315-4d47108418f2","name":"Inverter state","originalRequest":{"method":"GET","header":[],"url":"http://192.168.1.11:8080/inverterState"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"10000"},{"key":"Access-Control-Allow-Methods","value":"PUT,POST,GET,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"222"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"lastUpdate\": \"01/12/2018 17:06:08\",\n    \"alarmStateParam\": 0,\n    \"alarmState\": \"No Alarm\",\n    \"channel1StateParam\": 2,\n    \"channel1State\": \"MPPT\",\n    \"channel2StateParam\": 7,\n    \"channel2State\": \"Input Low\",\n    \"inverterStateParam\": 2,\n    \"inverterState\": \"Run\"\n}"}],"_postman_id":"36f1ea75-aa5a-4a8b-91ee-9c7990ee7a77"},{"name":"Inverter day with problem occurs","id":"02973df2-522f-491b-a059-33cc417a2c10","request":{"method":"GET","header":[],"url":"http://192.168.1.11:8080/inverterDayWithProblem","urlObject":{"protocol":"http","port":"8080","path":["inverterDayWithProblem"],"host":["192","168","1","11"],"query":[],"variable":[]}},"response":[],"_postman_id":"02973df2-522f-491b-a059-33cc417a2c10"},{"name":"Inverter day state","id":"12ad1434-85ca-42b1-a370-78350ae7d801","request":{"method":"GET","header":[],"url":"http://192.168.1.11:8080/inverterDayState?day=20181023","urlObject":{"protocol":"http","port":"8080","path":["inverterDayState"],"host":["192","168","1","11"],"query":[{"key":"day","value":"20181023"}],"variable":[]}},"response":[],"_postman_id":"12ad1434-85ca-42b1-a370-78350ae7d801"},{"name":"Production total","id":"1110a99d-a21a-4ced-9d59-c40325876b5c","request":{"method":"GET","header":[],"url":"http://192.168.1.11:8080/productionTotal","urlObject":{"protocol":"http","port":"8080","path":["productionTotal"],"host":["192","168","1","11"],"query":[],"variable":[]}},"response":[{"id":"dd12f01a-765e-491b-9c2b-50768ed06412","name":"Production total","originalRequest":{"method":"GET","header":[],"url":"http://192.168.1.11:8080/productionTotal"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Max-Age","value":"10000"},{"key":"Access-Control-Allow-Methods","value":"PUT,POST,GET,OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Content-Length","value":"183"},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"lastUpdate\": \"01/12/2018 17:05:07\",\n    \"energyLifetime\": 20213214,\n    \"energyYearly\": 3142014,\n    \"energyMonthly\": 6150,\n    \"energyWeekly\": 26081,\n    \"energyDaily\": 6151,\n    \"W\": \"201848\",\n    \"M\": \"201812\",\n    \"Y\": \"2018\"\n}"}],"_postman_id":"1110a99d-a21a-4ced-9d59-c40325876b5c"},{"name":"Historical data","id":"9ed1a53f-f314-48ee-bab9-53fee67d957e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"192.168.1.15:8080/historical?frequence=years&year=2018","urlObject":{"port":"8080","path":["historical"],"host":["192","168","1","15"],"query":[{"key":"frequence","value":"years"},{"key":"year","value":"2018"}],"variable":[]}},"response":[],"_postman_id":"9ed1a53f-f314-48ee-bab9-53fee67d957e"},{"name":"Server state","id":"ab0ba22a-f795-4a17-9909-25154b96040e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"192.168.1.15:8080/serverState","urlObject":{"port":"8080","path":["serverState"],"host":["192","168","1","15"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab0ba22a-f795-4a17-9909-25154b96040e"},{"name":"Battery state","id":"4fbbda01-0644-4b1d-b36f-6c2f0e45f5cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://192.168.1.15:8080/battery?day=20200121","urlObject":{"protocol":"http","port":"8080","path":["battery"],"host":["192","168","1","15"],"query":[{"key":"day","value":"20200121"}],"variable":[]}},"response":[],"_postman_id":"4fbbda01-0644-4b1d-b36f-6c2f0e45f5cf"},{"name":"Reset","id":"64c82d40-4c36-4325-a05b-56ce57046855","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"192.168.1.11:8080/reset","urlObject":{"port":"8080","path":["reset"],"host":["192","168","1","11"],"query":[],"variable":[]}},"response":[],"_postman_id":"64c82d40-4c36-4325-a05b-56ce57046855"}]}