[2023-10-29 16:48:01][INFO] : Send to jeedom : [{'eid': 704643328, 'timestamp': 1698594542, 'actEnergyDlvd': 24260.239, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35411.221, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.353, 'instantaneousDemand': 103.047, 'activePower': 103.047, 'apparentPower': 122.82, 'reactivePower': -7.287, 'pwrFactor': 0.864, 'voltage': 237.155, 'current': 0.516, 'freq': 50.0, 'channels': [{'eid': 1778385169, 'timestamp': 1698594542, 'actEnergyDlvd': 24260.239, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35411.221, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.353, 'instantaneousDemand': 103.047, 'activePower': 103.047, 'apparentPower': 122.82, 'reactivePower': -7.287, 'pwrFactor': 0.864, 'voltage': 237.155, 'current': 0.516, 'freq': 50.0}, {'eid': 1778385170, 'timestamp': 1698594542, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 66.131, 'apparentEnergy': 1.536, 'reactEnergyLagg': 9.412, 'reactEnergyLead': 0.0, 'instantaneousDemand': 0.0, 'activePower': 0.0, 'apparentPower': -0.0, 'reactivePower': -0.0, 'pwrFactor': 0.0, 'voltage': 8.468, 'current': 0.0, 'freq': 50.0}, {'eid': 1778385171, 'timestamp': 1698594542, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 189.314, 'apparentEnergy': 26.526, 'reactEnergyLagg': 9.319, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.044, 'activePower': -0.044, 'apparentPower': 0.225, 'reactivePower': 0.0, 'pwrFactor': 0.0, 'voltage': 1.882, 'current': 0.119, 'freq': 50.0}]}, {'eid': 704643584, 'timestamp': 1698594542, 'actEnergyDlvd': 34728.221, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73186.164, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40218.066, 'instantaneousDemand': 111.713, 'activePower': 111.713, 'apparentPower': 409.145, 'reactivePower': -341.366, 'pwrFactor': 0.297, 'voltage': 237.705, 'current': 1.726, 'freq': 50.0, 'channels': [{'eid': 1778385425, 'timestamp': 1698594542, 'actEnergyDlvd': 34728.221, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73186.164, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40218.066, 'instantaneousDemand': 111.713, 'activePower': 111.713, 'apparentPower': 409.145, 'reactivePower': -341.366, 'pwrFactor': 0.297, 'voltage': 237.705, 'current': 1.726, 'freq': 50.0}, {'eid': 1778385426, 'timestamp': 1698594542, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 343.238, 'apparentEnergy': 87.994, 'reactEnergyLagg': 8.929, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.36, 'activePower': -0.36, 'apparentPower': 0.735, 'reactivePower': 0.096, 'pwrFactor': -1.0, 'voltage': 7.18, 'current': 0.104, 'freq': 50.0}, {'eid': 1778385427, 'timestamp': 1698594542, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 469.435, 'apparentEnergy': 107.191, 'reactEnergyLagg': 8.915, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.515, 'activePower': -0.515, 'apparentPower': 0.884, 'reactivePower': 0.0, 'pwrFactor': -1.0, 'voltage': 6.534, 'current': 0.134, 'freq': 50.0}]}] [2023-10-29 16:48:01][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:48:01][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:48:01][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:49:01][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False [2023-10-29 16:49:01][INFO] : Test Token [2023-10-29 16:49:01][DEBUG] : connect_tcp.started host='@IP@IP@IP@' port=443 local_address=None timeout=5.0 socket_options=None [2023-10-29 16:49:01][DEBUG] : connect_tcp.complete return_value= [2023-10-29 16:49:01][DEBUG] : start_tls.started ssl_context= server_hostname='@IP@IP@IP@' timeout=5.0 [2023-10-29 16:49:01][DEBUG] : start_tls.complete return_value= [2023-10-29 16:49:01][DEBUG] : send_request_headers.started request= [2023-10-29 16:49:01][DEBUG] : send_request_headers.complete [2023-10-29 16:49:01][DEBUG] : send_request_body.started request= [2023-10-29 16:49:01][DEBUG] : send_request_body.complete [2023-10-29 16:49:01][DEBUG] : receive_response_headers.started request= [2023-10-29 16:49:01][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:50:04 GMT'), (b'Content-Type', b'application/octet-stream'), (b'Content-Length', b'37'), (b'Connection', b'keep-alive'), (b'Set-Cookie', b'sessionId=UnVSsPqWcaiq9i1RAgDzT9hPW0YaKpY6; Secure; HttpOnly; path=/'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:49:01][INFO] : HTTP Request: GET https://@IP@IP@IP@/auth/check_jwt "HTTP/1.1 200 OK" [2023-10-29 16:49:01][DEBUG] : receive_response_body.started request= [2023-10-29 16:49:01][DEBUG] : receive_response_body.complete [2023-10-29 16:49:01][DEBUG] : response_closed.started [2023-10-29 16:49:01][DEBUG] : response_closed.complete [2023-10-29 16:49:01][INFO] : Recuperation mesures [2023-10-29 16:49:01][DEBUG] : send_request_headers.started request= [2023-10-29 16:49:01][DEBUG] : send_request_headers.complete [2023-10-29 16:49:01][DEBUG] : send_request_body.started request= [2023-10-29 16:49:01][DEBUG] : send_request_body.complete [2023-10-29 16:49:01][DEBUG] : receive_response_headers.started request= [2023-10-29 16:49:01][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:50:04 GMT'), (b'Content-Type', b'application/json'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Pragma', b'no-cache'), (b'Expires', b'1'), (b'Cache-Control', b'no-cache'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:49:01][INFO] : HTTP Request: GET https://@IP@IP@IP@/production.json?details=1 "HTTP/1.1 200 OK" [2023-10-29 16:49:01][DEBUG] : receive_response_body.started request= [2023-10-29 16:49:01][DEBUG] : receive_response_body.complete [2023-10-29 16:49:01][DEBUG] : response_closed.started [2023-10-29 16:49:01][DEBUG] : response_closed.complete [2023-10-29 16:49:01][INFO] : Send to jeedom : {'production': [{'type': 'inverters', 'activeCount': 7, 'readingTime': 1698594336, 'wNow': 141, 'whLifetime': 25041}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'production', 'readingTime': 1698594604, 'wNow': 98.108, 'whLifetime': 24261.921, 'varhLeadLifetime': 6692.474, 'varhLagLifetime': 9314.361, 'vahLifetime': 35413.23, 'rmsCurrent': 0.5, 'rmsVoltage': 237.192, 'reactPwr': -6.095, 'apprntPwr': 118.414, 'pwrFactor': 0.81, 'whToday': 4477.921, 'whLastSevenDays': 19784.921, 'vahToday': 5812.23, 'varhLeadToday': 1242.474, 'varhLagToday': 1028.361, 'lines': [{'wNow': 98.108, 'whLifetime': 24261.921, 'varhLeadLifetime': 6692.474, 'varhLagLifetime': 9314.361, 'vahLifetime': 35413.23, 'rmsCurrent': 0.5, 'rmsVoltage': 237.192, 'reactPwr': -6.095, 'apprntPwr': 118.414, 'pwrFactor': 0.81, 'whToday': 4477.921, 'whLastSevenDays': 19784.921, 'vahToday': 5812.23, 'varhLeadToday': 1242.474, 'varhLagToday': 1028.361}]}], 'consumption': [{'type': 'eim', 'activeCount': 1, 'measurementType': 'total-consumption', 'readingTime': 1698594604, 'wNow': 223.352, 'whLifetime': 49006.406, 'varhLeadLifetime': 46916.226, 'varhLagLifetime': 10995.544, 'vahLifetime': 73193.026, 'rmsCurrent': 2.244, 'rmsVoltage': 237.339, 'reactPwr': -336.098, 'apprntPwr': 532.539, 'pwrFactor': 0.42, 'whToday': 7486.406, 'whLastSevenDays': 41504.406, 'vahToday': 9054.026, 'varhLeadToday': 6505.226, 'varhLagToday': 1165.544, 'lines': [{'wNow': 223.352, 'whLifetime': 49006.406, 'varhLeadLifetime': 46916.226, 'varhLagLifetime': 10995.544, 'vahLifetime': 73193.026, 'rmsCurrent': 2.244, 'rmsVoltage': 237.339, 'reactPwr': -336.098, 'apprntPwr': 532.539, 'pwrFactor': 0.42, 'whToday': 7486.406, 'whLastSevenDays': 41504.406, 'vahToday': 9054.026, 'varhLeadToday': 6505.226, 'varhLagToday': 1165.544}]}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'net-consumption', 'readingTime': 1698594604, 'wNow': 125.245, 'whLifetime': 34730.238, 'varhLeadLifetime': 40223.752, 'varhLagLifetime': 1681.183, 'vahLifetime': 73193.026, 'rmsCurrent': 1.744, 'rmsVoltage': 237.487, 'reactPwr': -342.193, 'apprntPwr': 413.986, 'pwrFactor': 0.31, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0, 'lines': [{'wNow': 125.245, 'whLifetime': 34730.238, 'varhLeadLifetime': 40223.752, 'varhLagLifetime': 1681.183, 'vahLifetime': 73193.026, 'rmsCurrent': 1.744, 'rmsVoltage': 237.487, 'reactPwr': -342.193, 'apprntPwr': 413.986, 'pwrFactor': 0.31, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0}]}], 'storage': [{'type': 'acb', 'activeCount': 0, 'readingTime': 0, 'wNow': 0, 'whNow': 0, 'state': 'idle'}]} [2023-10-29 16:49:01][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:49:02][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:49:02][DEBUG] : send_request_headers.started request= [2023-10-29 16:49:02][DEBUG] : send_request_headers.complete [2023-10-29 16:49:02][DEBUG] : send_request_body.started request= [2023-10-29 16:49:02][DEBUG] : send_request_body.complete [2023-10-29 16:49:02][DEBUG] : receive_response_headers.started request= [2023-10-29 16:49:02][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:50:05 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'1053'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:49:02][INFO] : HTTP Request: GET https://@IP@IP@IP@/api/v1/production/inverters "HTTP/1.1 200 OK" [2023-10-29 16:49:02][DEBUG] : receive_response_body.started request= [2023-10-29 16:49:02][DEBUG] : receive_response_body.complete [2023-10-29 16:49:02][DEBUG] : response_closed.started [2023-10-29 16:49:02][DEBUG] : response_closed.complete [2023-10-29 16:49:02][DEBUG] : Recuperation mesures onduleurs [2023-10-29 16:49:02][INFO] : Send to jeedom : [{'serialNumber': '122302018959', 'lastReportDate': 1698594320, 'devType': 1, 'lastReportWatts': 21, 'maxReportWatts': 251}, {'serialNumber': '122302009196', 'lastReportDate': 1698594325, 'devType': 1, 'lastReportWatts': 20, 'maxReportWatts': 253}, {'serialNumber': '122302008361', 'lastReportDate': 1698594324, 'devType': 1, 'lastReportWatts': 20, 'maxReportWatts': 251}, {'serialNumber': '122302018389', 'lastReportDate': 1698594327, 'devType': 1, 'lastReportWatts': 20, 'maxReportWatts': 250}, {'serialNumber': '122302009193', 'lastReportDate': 1698594331, 'devType': 1, 'lastReportWatts': 19, 'maxReportWatts': 249}, {'serialNumber': '122302017745', 'lastReportDate': 1698594332, 'devType': 1, 'lastReportWatts': 21, 'maxReportWatts': 253}, {'serialNumber': '122302013213', 'lastReportDate': 1698594333, 'devType': 1, 'lastReportWatts': 20, 'maxReportWatts': 251}] [2023-10-29 16:49:02][DEBUG] : Recuperation index [2023-10-29 16:49:02][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:49:02][DEBUG] : send_request_headers.started request= [2023-10-29 16:49:02][DEBUG] : send_request_headers.complete [2023-10-29 16:49:02][DEBUG] : send_request_body.started request= [2023-10-29 16:49:02][DEBUG] : send_request_body.complete [2023-10-29 16:49:02][DEBUG] : receive_response_headers.started request= [2023-10-29 16:49:02][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:50:05 GMT'), (b'Content-Length', b'4789'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:49:02][INFO] : HTTP Request: GET https://@IP@IP@IP@/ivp/meters/readings "HTTP/1.1 200 OK" [2023-10-29 16:49:02][DEBUG] : receive_response_body.started request= [2023-10-29 16:49:02][DEBUG] : receive_response_body.complete [2023-10-29 16:49:02][DEBUG] : response_closed.started [2023-10-29 16:49:02][DEBUG] : response_closed.complete [2023-10-29 16:49:02][INFO] : Send to jeedom : [{'eid': 704643328, 'timestamp': 1698594604, 'actEnergyDlvd': 24261.951, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35413.266, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.476, 'instantaneousDemand': 97.73, 'activePower': 97.73, 'apparentPower': 118.122, 'reactivePower': -6.318, 'pwrFactor': 0.81, 'voltage': 237.205, 'current': 0.497, 'freq': 50.0, 'channels': [{'eid': 1778385169, 'timestamp': 1698594604, 'actEnergyDlvd': 24261.951, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35413.266, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.476, 'instantaneousDemand': 97.73, 'activePower': 97.73, 'apparentPower': 118.122, 'reactivePower': -6.318, 'pwrFactor': 0.81, 'voltage': 237.205, 'current': 0.497, 'freq': 50.0}, {'eid': 1778385170, 'timestamp': 1698594604, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 66.139, 'apparentEnergy': 1.536, 'reactEnergyLagg': 9.414, 'reactEnergyLead': 0.0, 'instantaneousDemand': 0.0, 'activePower': 0.0, 'apparentPower': -0.0, 'reactivePower': -0.0, 'pwrFactor': -1.0, 'voltage': 8.468, 'current': 0.0, 'freq': 50.0}, {'eid': 1778385171, 'timestamp': 1698594604, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 189.34, 'apparentEnergy': 26.53, 'reactEnergyLagg': 9.321, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.055, 'activePower': -0.055, 'apparentPower': 0.226, 'reactivePower': 0.016, 'pwrFactor': 0.0, 'voltage': 1.882, 'current': 0.118, 'freq': 50.0}]}, {'eid': 704643584, 'timestamp': 1698594604, 'actEnergyDlvd': 34730.277, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73193.153, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40223.856, 'instantaneousDemand': 125.832, 'activePower': 125.832, 'apparentPower': 414.458, 'reactivePower': -342.058, 'pwrFactor': 0.293, 'voltage': 237.516, 'current': 1.741, 'freq': 50.0, 'channels': [{'eid': 1778385425, 'timestamp': 1698594604, 'actEnergyDlvd': 34730.277, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73193.153, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40223.856, 'instantaneousDemand': 125.832, 'activePower': 125.832, 'apparentPower': 414.458, 'reactivePower': -342.058, 'pwrFactor': 0.293, 'voltage': 237.516, 'current': 1.741, 'freq': 50.0}, {'eid': 1778385426, 'timestamp': 1698594604, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 343.286, 'apparentEnergy': 88.006, 'reactEnergyLagg': 8.93, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.264, 'activePower': -0.264, 'apparentPower': 0.716, 'reactivePower': -0.0, 'pwrFactor': -1.0, 'voltage': 7.18, 'current': 0.101, 'freq': 50.0}, {'eid': 1778385427, 'timestamp': 1698594604, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 469.5, 'apparentEnergy': 107.206, 'reactEnergyLagg': 8.917, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.491, 'activePower': -0.491, 'apparentPower': 0.879, 'reactivePower': 0.0, 'pwrFactor': -1.0, 'voltage': 6.534, 'current': 0.134, 'freq': 50.0}]}] [2023-10-29 16:49:02][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:49:02][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:49:02][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:50:02][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False [2023-10-29 16:50:02][INFO] : Test Token [2023-10-29 16:50:02][DEBUG] : connect_tcp.started host='@IP@IP@IP@' port=443 local_address=None timeout=5.0 socket_options=None [2023-10-29 16:50:02][DEBUG] : connect_tcp.complete return_value= [2023-10-29 16:50:02][DEBUG] : start_tls.started ssl_context= server_hostname='@IP@IP@IP@' timeout=5.0 [2023-10-29 16:50:03][DEBUG] : start_tls.complete return_value= [2023-10-29 16:50:03][DEBUG] : send_request_headers.started request= [2023-10-29 16:50:03][DEBUG] : send_request_headers.complete [2023-10-29 16:50:03][DEBUG] : send_request_body.started request= [2023-10-29 16:50:03][DEBUG] : send_request_body.complete [2023-10-29 16:50:03][DEBUG] : receive_response_headers.started request= [2023-10-29 16:50:03][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:51:05 GMT'), (b'Content-Type', b'application/octet-stream'), (b'Content-Length', b'37'), (b'Connection', b'keep-alive'), (b'Set-Cookie', b'sessionId=UnVSsPqWcaiq9i1RAgDzT9hPW0YaKpY6; Secure; HttpOnly; path=/'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:50:03][INFO] : HTTP Request: GET https://@IP@IP@IP@/auth/check_jwt "HTTP/1.1 200 OK" [2023-10-29 16:50:03][DEBUG] : receive_response_body.started request= [2023-10-29 16:50:03][DEBUG] : receive_response_body.complete [2023-10-29 16:50:03][DEBUG] : response_closed.started [2023-10-29 16:50:03][DEBUG] : response_closed.complete [2023-10-29 16:50:03][INFO] : Recuperation mesures [2023-10-29 16:50:03][DEBUG] : send_request_headers.started request= [2023-10-29 16:50:03][DEBUG] : send_request_headers.complete [2023-10-29 16:50:03][DEBUG] : send_request_body.started request= [2023-10-29 16:50:03][DEBUG] : send_request_body.complete [2023-10-29 16:50:03][DEBUG] : receive_response_headers.started request= [2023-10-29 16:50:03][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:51:06 GMT'), (b'Content-Type', b'application/json'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Pragma', b'no-cache'), (b'Expires', b'1'), (b'Cache-Control', b'no-cache'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:50:03][INFO] : HTTP Request: GET https://@IP@IP@IP@/production.json?details=1 "HTTP/1.1 200 OK" [2023-10-29 16:50:03][DEBUG] : receive_response_body.started request= [2023-10-29 16:50:03][DEBUG] : receive_response_body.complete [2023-10-29 16:50:03][DEBUG] : response_closed.started [2023-10-29 16:50:03][DEBUG] : response_closed.complete [2023-10-29 16:50:03][INFO] : Send to jeedom : {'production': [{'type': 'inverters', 'activeCount': 7, 'readingTime': 1698594636, 'wNow': 115, 'whLifetime': 25050}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'production', 'readingTime': 1698594666, 'wNow': 95.238, 'whLifetime': 24263.595, 'varhLeadLifetime': 6692.578, 'varhLagLifetime': 9314.361, 'vahLifetime': 35415.252, 'rmsCurrent': 0.486, 'rmsVoltage': 236.953, 'reactPwr': -4.937, 'apprntPwr': 115.156, 'pwrFactor': 0.81, 'whToday': 4479.595, 'whLastSevenDays': 19786.595, 'vahToday': 5814.252, 'varhLeadToday': 1242.578, 'varhLagToday': 1028.361, 'lines': [{'wNow': 95.238, 'whLifetime': 24263.595, 'varhLeadLifetime': 6692.578, 'varhLagLifetime': 9314.361, 'vahLifetime': 35415.252, 'rmsCurrent': 0.486, 'rmsVoltage': 236.953, 'reactPwr': -4.937, 'apprntPwr': 115.156, 'pwrFactor': 0.81, 'whToday': 4479.595, 'whLastSevenDays': 19786.595, 'vahToday': 5814.252, 'varhLeadToday': 1242.578, 'varhLagToday': 1028.361}]}], 'consumption': [{'type': 'eim', 'activeCount': 1, 'measurementType': 'total-consumption', 'readingTime': 1698594666, 'wNow': 221.173, 'whLifetime': 49010.206, 'varhLeadLifetime': 46922.298, 'varhLagLifetime': 10995.544, 'vahLifetime': 73200.215, 'rmsCurrent': 2.234, 'rmsVoltage': 237.097, 'reactPwr': -338.962, 'apprntPwr': 529.769, 'pwrFactor': 0.42, 'whToday': 7490.206, 'whLastSevenDays': 41508.206, 'vahToday': 9061.215, 'varhLeadToday': 6511.298, 'varhLagToday': 1165.544, 'lines': [{'wNow': 221.173, 'whLifetime': 49010.206, 'varhLeadLifetime': 46922.298, 'varhLagLifetime': 10995.544, 'vahLifetime': 73200.215, 'rmsCurrent': 2.234, 'rmsVoltage': 237.097, 'reactPwr': -338.962, 'apprntPwr': 529.769, 'pwrFactor': 0.42, 'whToday': 7490.206, 'whLastSevenDays': 41508.206, 'vahToday': 9061.215, 'varhLeadToday': 6511.298, 'varhLagToday': 1165.544}]}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'net-consumption', 'readingTime': 1698594666, 'wNow': 125.935, 'whLifetime': 34732.365, 'varhLeadLifetime': 40229.72, 'varhLagLifetime': 1681.183, 'vahLifetime': 73200.215, 'rmsCurrent': 1.748, 'rmsVoltage': 237.242, 'reactPwr': -343.899, 'apprntPwr': 414.587, 'pwrFactor': 0.32, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0, 'lines': [{'wNow': 125.935, 'whLifetime': 34732.365, 'varhLeadLifetime': 40229.72, 'varhLagLifetime': 1681.183, 'vahLifetime': 73200.215, 'rmsCurrent': 1.748, 'rmsVoltage': 237.242, 'reactPwr': -343.899, 'apprntPwr': 414.587, 'pwrFactor': 0.32, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0}]}], 'storage': [{'type': 'acb', 'activeCount': 0, 'readingTime': 0, 'wNow': 0, 'whNow': 0, 'state': 'idle'}]} [2023-10-29 16:50:03][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:50:04][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:50:04][DEBUG] : send_request_headers.started request= [2023-10-29 16:50:04][DEBUG] : send_request_headers.complete [2023-10-29 16:50:04][DEBUG] : send_request_body.started request= [2023-10-29 16:50:04][DEBUG] : send_request_body.complete [2023-10-29 16:50:04][DEBUG] : receive_response_headers.started request= [2023-10-29 16:50:04][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:51:07 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'1053'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:50:04][INFO] : HTTP Request: GET https://@IP@IP@IP@/api/v1/production/inverters "HTTP/1.1 200 OK" [2023-10-29 16:50:04][DEBUG] : receive_response_body.started request= [2023-10-29 16:50:04][DEBUG] : receive_response_body.complete [2023-10-29 16:50:04][DEBUG] : response_closed.started [2023-10-29 16:50:04][DEBUG] : response_closed.complete [2023-10-29 16:50:04][DEBUG] : Recuperation mesures onduleurs [2023-10-29 16:50:04][INFO] : Send to jeedom : [{'serialNumber': '122302018959', 'lastReportDate': 1698594622, 'devType': 1, 'lastReportWatts': 17, 'maxReportWatts': 251}, {'serialNumber': '122302009196', 'lastReportDate': 1698594624, 'devType': 1, 'lastReportWatts': 17, 'maxReportWatts': 253}, {'serialNumber': '122302008361', 'lastReportDate': 1698594627, 'devType': 1, 'lastReportWatts': 16, 'maxReportWatts': 251}, {'serialNumber': '122302018389', 'lastReportDate': 1698594628, 'devType': 1, 'lastReportWatts': 16, 'maxReportWatts': 250}, {'serialNumber': '122302009193', 'lastReportDate': 1698594630, 'devType': 1, 'lastReportWatts': 15, 'maxReportWatts': 249}, {'serialNumber': '122302017745', 'lastReportDate': 1698594633, 'devType': 1, 'lastReportWatts': 18, 'maxReportWatts': 253}, {'serialNumber': '122302013213', 'lastReportDate': 1698594635, 'devType': 1, 'lastReportWatts': 16, 'maxReportWatts': 251}] [2023-10-29 16:50:04][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:50:04][DEBUG] : Recuperation index [2023-10-29 16:50:04][DEBUG] : send_request_headers.started request= [2023-10-29 16:50:04][DEBUG] : send_request_headers.complete [2023-10-29 16:50:04][DEBUG] : send_request_body.started request= [2023-10-29 16:50:04][DEBUG] : send_request_body.complete [2023-10-29 16:50:04][DEBUG] : receive_response_headers.started request= [2023-10-29 16:50:04][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:51:07 GMT'), (b'Content-Length', b'4788'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:50:05][INFO] : HTTP Request: GET https://@IP@IP@IP@/ivp/meters/readings "HTTP/1.1 200 OK" [2023-10-29 16:50:05][DEBUG] : receive_response_body.started request= [2023-10-29 16:50:05][DEBUG] : receive_response_body.complete [2023-10-29 16:50:05][DEBUG] : response_closed.started [2023-10-29 16:50:05][DEBUG] : response_closed.complete [2023-10-29 16:50:05][INFO] : Send to jeedom : [{'eid': 704643328, 'timestamp': 1698594667, 'actEnergyDlvd': 24263.62, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35415.284, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.578, 'instantaneousDemand': 94.09, 'activePower': 94.09, 'apparentPower': 115.044, 'reactivePower': -4.98, 'pwrFactor': 0.81, 'voltage': 236.96, 'current': 0.488, 'freq': 50.0, 'channels': [{'eid': 1778385169, 'timestamp': 1698594667, 'actEnergyDlvd': 24263.62, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35415.284, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.578, 'instantaneousDemand': 94.09, 'activePower': 94.09, 'apparentPower': 115.044, 'reactivePower': -4.98, 'pwrFactor': 0.81, 'voltage': 236.96, 'current': 0.488, 'freq': 50.0}, {'eid': 1778385170, 'timestamp': 1698594667, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 66.148, 'apparentEnergy': 1.536, 'reactEnergyLagg': 9.415, 'reactEnergyLead': 0.0, 'instantaneousDemand': 0.0, 'activePower': 0.0, 'apparentPower': -0.0, 'reactivePower': -0.0, 'pwrFactor': -1.0, 'voltage': 8.468, 'current': 0.0, 'freq': 50.0}, {'eid': 1778385171, 'timestamp': 1698594667, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 189.367, 'apparentEnergy': 26.534, 'reactEnergyLagg': 9.322, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.059, 'activePower': -0.059, 'apparentPower': 0.222, 'reactivePower': 0.0, 'pwrFactor': 0.0, 'voltage': 1.882, 'current': 0.118, 'freq': 50.0}]}, {'eid': 704643584, 'timestamp': 1698594667, 'actEnergyDlvd': 34732.403, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73200.332, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40229.816, 'instantaneousDemand': 129.993, 'activePower': 129.993, 'apparentPower': 416.384, 'reactivePower': -343.519, 'pwrFactor': 0.316, 'voltage': 237.248, 'current': 1.762, 'freq': 50.062, 'channels': [{'eid': 1778385425, 'timestamp': 1698594667, 'actEnergyDlvd': 34732.403, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73200.332, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40229.816, 'instantaneousDemand': 129.993, 'activePower': 129.993, 'apparentPower': 416.384, 'reactivePower': -343.519, 'pwrFactor': 0.316, 'voltage': 237.248, 'current': 1.762, 'freq': 50.062}, {'eid': 1778385426, 'timestamp': 1698594667, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 343.334, 'apparentEnergy': 88.019, 'reactEnergyLagg': 8.931, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.31, 'activePower': -0.31, 'apparentPower': 0.713, 'reactivePower': -0.0, 'pwrFactor': 0.0, 'voltage': 7.18, 'current': 0.099, 'freq': 50.062}, {'eid': 1778385427, 'timestamp': 1698594667, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 469.566, 'apparentEnergy': 107.221, 'reactEnergyLagg': 8.918, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.524, 'activePower': -0.524, 'apparentPower': 0.876, 'reactivePower': 0.0, 'pwrFactor': -1.0, 'voltage': 6.534, 'current': 0.134, 'freq': 50.062}]}] [2023-10-29 16:50:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:50:05][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:50:05][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:51:05][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False [2023-10-29 16:51:05][INFO] : Test Token [2023-10-29 16:51:05][DEBUG] : connect_tcp.started host='@IP@IP@IP@' port=443 local_address=None timeout=5.0 socket_options=None [2023-10-29 16:51:05][DEBUG] : connect_tcp.complete return_value= [2023-10-29 16:51:05][DEBUG] : start_tls.started ssl_context= server_hostname='@IP@IP@IP@' timeout=5.0 [2023-10-29 16:51:05][DEBUG] : start_tls.complete return_value= [2023-10-29 16:51:05][DEBUG] : send_request_headers.started request= [2023-10-29 16:51:05][DEBUG] : send_request_headers.complete [2023-10-29 16:51:05][DEBUG] : send_request_body.started request= [2023-10-29 16:51:05][DEBUG] : send_request_body.complete [2023-10-29 16:51:05][DEBUG] : receive_response_headers.started request= [2023-10-29 16:51:05][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:52:08 GMT'), (b'Content-Type', b'application/octet-stream'), (b'Content-Length', b'37'), (b'Connection', b'keep-alive'), (b'Set-Cookie', b'sessionId=UnVSsPqWcaiq9i1RAgDzT9hPW0YaKpY6; Secure; HttpOnly; path=/'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:51:05][INFO] : HTTP Request: GET https://@IP@IP@IP@/auth/check_jwt "HTTP/1.1 200 OK" [2023-10-29 16:51:05][DEBUG] : receive_response_body.started request= [2023-10-29 16:51:05][DEBUG] : receive_response_body.complete [2023-10-29 16:51:05][DEBUG] : response_closed.started [2023-10-29 16:51:05][DEBUG] : response_closed.complete [2023-10-29 16:51:05][INFO] : Recuperation mesures [2023-10-29 16:51:05][DEBUG] : send_request_headers.started request= [2023-10-29 16:51:05][DEBUG] : send_request_headers.complete [2023-10-29 16:51:05][DEBUG] : send_request_body.started request= [2023-10-29 16:51:05][DEBUG] : send_request_body.complete [2023-10-29 16:51:05][DEBUG] : receive_response_headers.started request= [2023-10-29 16:51:06][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:52:08 GMT'), (b'Content-Type', b'application/json'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Pragma', b'no-cache'), (b'Expires', b'1'), (b'Cache-Control', b'no-cache'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:51:06][INFO] : HTTP Request: GET https://@IP@IP@IP@/production.json?details=1 "HTTP/1.1 200 OK" [2023-10-29 16:51:06][DEBUG] : receive_response_body.started request= [2023-10-29 16:51:06][DEBUG] : receive_response_body.complete [2023-10-29 16:51:06][DEBUG] : response_closed.started [2023-10-29 16:51:06][DEBUG] : response_closed.complete [2023-10-29 16:51:06][INFO] : Send to jeedom : {'production': [{'type': 'inverters', 'activeCount': 7, 'readingTime': 1698594636, 'wNow': 115, 'whLifetime': 25050}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'production', 'readingTime': 1698594728, 'wNow': 89.487, 'whLifetime': 24265.188, 'varhLeadLifetime': 6692.661, 'varhLagLifetime': 9314.361, 'vahLifetime': 35417.207, 'rmsCurrent': 0.468, 'rmsVoltage': 237.317, 'reactPwr': -4.535, 'apprntPwr': 111.444, 'pwrFactor': 0.8, 'whToday': 4481.188, 'whLastSevenDays': 19788.188, 'vahToday': 5816.207, 'varhLeadToday': 1242.661, 'varhLagToday': 1028.361, 'lines': [{'wNow': 89.487, 'whLifetime': 24265.188, 'varhLeadLifetime': 6692.661, 'varhLagLifetime': 9314.361, 'vahLifetime': 35417.207, 'rmsCurrent': 0.468, 'rmsVoltage': 237.317, 'reactPwr': -4.535, 'apprntPwr': 111.444, 'pwrFactor': 0.8, 'whToday': 4481.188, 'whLastSevenDays': 19788.188, 'vahToday': 5816.207, 'varhLeadToday': 1242.661, 'varhLagToday': 1028.361}]}], 'consumption': [{'type': 'eim', 'activeCount': 1, 'measurementType': 'total-consumption', 'readingTime': 1698594728, 'wNow': 246.392, 'whLifetime': 49014.255, 'varhLeadLifetime': 46928.438, 'varhLagLifetime': 10995.544, 'vahLifetime': 73207.564, 'rmsCurrent': 2.308, 'rmsVoltage': 237.472, 'reactPwr': -348.158, 'apprntPwr': 548.154, 'pwrFactor': 0.45, 'whToday': 7494.255, 'whLastSevenDays': 41512.255, 'vahToday': 9068.564, 'varhLeadToday': 6517.438, 'varhLagToday': 1165.544, 'lines': [{'wNow': 246.392, 'whLifetime': 49014.255, 'varhLeadLifetime': 46928.438, 'varhLagLifetime': 10995.544, 'vahLifetime': 73207.564, 'rmsCurrent': 2.308, 'rmsVoltage': 237.472, 'reactPwr': -348.158, 'apprntPwr': 548.154, 'pwrFactor': 0.45, 'whToday': 7494.255, 'whLastSevenDays': 41512.255, 'vahToday': 9068.564, 'varhLeadToday': 6517.438, 'varhLagToday': 1165.544}]}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'net-consumption', 'readingTime': 1698594728, 'wNow': 156.904, 'whLifetime': 34734.821, 'varhLeadLifetime': 40235.777, 'varhLagLifetime': 1681.183, 'vahLifetime': 73207.564, 'rmsCurrent': 1.84, 'rmsVoltage': 237.628, 'reactPwr': -352.693, 'apprntPwr': 435.317, 'pwrFactor': 0.33, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0, 'lines': [{'wNow': 156.904, 'whLifetime': 34734.821, 'varhLeadLifetime': 40235.777, 'varhLagLifetime': 1681.183, 'vahLifetime': 73207.564, 'rmsCurrent': 1.84, 'rmsVoltage': 237.628, 'reactPwr': -352.693, 'apprntPwr': 435.317, 'pwrFactor': 0.33, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0}]}], 'storage': [{'type': 'acb', 'activeCount': 0, 'readingTime': 0, 'wNow': 0, 'whNow': 0, 'state': 'idle'}]} [2023-10-29 16:51:06][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:51:06][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:51:07][DEBUG] : send_request_headers.started request= [2023-10-29 16:51:07][DEBUG] : send_request_headers.complete [2023-10-29 16:51:07][DEBUG] : send_request_body.started request= [2023-10-29 16:51:07][DEBUG] : send_request_body.complete [2023-10-29 16:51:07][DEBUG] : receive_response_headers.started request= [2023-10-29 16:51:07][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:52:09 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'1053'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:51:07][INFO] : HTTP Request: GET https://@IP@IP@IP@/api/v1/production/inverters "HTTP/1.1 200 OK" [2023-10-29 16:51:07][DEBUG] : receive_response_body.started request= [2023-10-29 16:51:07][DEBUG] : receive_response_body.complete [2023-10-29 16:51:07][DEBUG] : response_closed.started [2023-10-29 16:51:07][DEBUG] : response_closed.complete [2023-10-29 16:51:07][DEBUG] : Recuperation mesures onduleurs [2023-10-29 16:51:07][INFO] : Send to jeedom : [{'serialNumber': '122302018959', 'lastReportDate': 1698594622, 'devType': 1, 'lastReportWatts': 17, 'maxReportWatts': 251}, {'serialNumber': '122302009196', 'lastReportDate': 1698594624, 'devType': 1, 'lastReportWatts': 17, 'maxReportWatts': 253}, {'serialNumber': '122302008361', 'lastReportDate': 1698594627, 'devType': 1, 'lastReportWatts': 16, 'maxReportWatts': 251}, {'serialNumber': '122302018389', 'lastReportDate': 1698594628, 'devType': 1, 'lastReportWatts': 16, 'maxReportWatts': 250}, {'serialNumber': '122302009193', 'lastReportDate': 1698594630, 'devType': 1, 'lastReportWatts': 15, 'maxReportWatts': 249}, {'serialNumber': '122302017745', 'lastReportDate': 1698594633, 'devType': 1, 'lastReportWatts': 18, 'maxReportWatts': 253}, {'serialNumber': '122302013213', 'lastReportDate': 1698594635, 'devType': 1, 'lastReportWatts': 16, 'maxReportWatts': 251}] [2023-10-29 16:51:07][DEBUG] : Recuperation index [2023-10-29 16:51:07][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:51:07][DEBUG] : send_request_headers.started request= [2023-10-29 16:51:07][DEBUG] : send_request_headers.complete [2023-10-29 16:51:07][DEBUG] : send_request_body.started request= [2023-10-29 16:51:07][DEBUG] : send_request_body.complete [2023-10-29 16:51:07][DEBUG] : receive_response_headers.started request= [2023-10-29 16:51:07][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:52:09 GMT'), (b'Content-Length', b'4787'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:51:07][INFO] : HTTP Request: GET https://@IP@IP@IP@/ivp/meters/readings "HTTP/1.1 200 OK" [2023-10-29 16:51:07][DEBUG] : receive_response_body.started request= [2023-10-29 16:51:07][DEBUG] : receive_response_body.complete [2023-10-29 16:51:07][DEBUG] : response_closed.started [2023-10-29 16:51:07][DEBUG] : response_closed.complete [2023-10-29 16:51:07][INFO] : Send to jeedom : [{'eid': 704643328, 'timestamp': 1698594729, 'actEnergyDlvd': 24265.214, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35417.238, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.662, 'instantaneousDemand': 89.672, 'activePower': 89.672, 'apparentPower': 111.225, 'reactivePower': -4.026, 'pwrFactor': 0.81, 'voltage': 237.271, 'current': 0.468, 'freq': 50.0, 'channels': [{'eid': 1778385169, 'timestamp': 1698594729, 'actEnergyDlvd': 24265.214, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35417.238, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.662, 'instantaneousDemand': 89.672, 'activePower': 89.672, 'apparentPower': 111.225, 'reactivePower': -4.026, 'pwrFactor': 0.81, 'voltage': 237.271, 'current': 0.468, 'freq': 50.0}, {'eid': 1778385170, 'timestamp': 1698594729, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 66.158, 'apparentEnergy': 1.536, 'reactEnergyLagg': 9.417, 'reactEnergyLead': 0.0, 'instantaneousDemand': 0.0, 'activePower': 0.0, 'apparentPower': -0.0, 'reactivePower': -0.0, 'pwrFactor': 0.0, 'voltage': 8.468, 'current': 0.0, 'freq': 50.0}, {'eid': 1778385171, 'timestamp': 1698594729, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 189.394, 'apparentEnergy': 26.538, 'reactEnergyLagg': 9.324, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.053, 'activePower': -0.053, 'apparentPower': 0.223, 'reactivePower': 0.0, 'pwrFactor': 0.0, 'voltage': 1.882, 'current': 0.12, 'freq': 50.0}]}, {'eid': 704643584, 'timestamp': 1698594729, 'actEnergyDlvd': 34734.86, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73207.682, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40235.875, 'instantaneousDemand': 153.889, 'activePower': 153.889, 'apparentPower': 433.836, 'reactivePower': -353.419, 'pwrFactor': 0.308, 'voltage': 237.582, 'current': 1.803, 'freq': 50.0, 'channels': [{'eid': 1778385425, 'timestamp': 1698594729, 'actEnergyDlvd': 34734.86, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73207.682, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40235.875, 'instantaneousDemand': 153.889, 'activePower': 153.889, 'apparentPower': 433.836, 'reactivePower': -353.419, 'pwrFactor': 0.308, 'voltage': 237.582, 'current': 1.803, 'freq': 50.0}, {'eid': 1778385426, 'timestamp': 1698594729, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 343.383, 'apparentEnergy': 88.031, 'reactEnergyLagg': 8.932, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.281, 'activePower': -0.281, 'apparentPower': 0.708, 'reactivePower': -0.0, 'pwrFactor': 0.0, 'voltage': 7.18, 'current': 0.099, 'freq': 50.0}, {'eid': 1778385427, 'timestamp': 1698594729, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 469.633, 'apparentEnergy': 107.236, 'reactEnergyLagg': 8.919, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.614, 'activePower': -0.614, 'apparentPower': 0.873, 'reactivePower': 0.0, 'pwrFactor': -1.0, 'voltage': 6.534, 'current': 0.133, 'freq': 50.0}]}] [2023-10-29 16:51:07][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:51:07][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:51:07][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:52:07][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False [2023-10-29 16:52:07][INFO] : Test Token [2023-10-29 16:52:07][DEBUG] : connect_tcp.started host='@IP@IP@IP@' port=443 local_address=None timeout=5.0 socket_options=None [2023-10-29 16:52:07][DEBUG] : connect_tcp.complete return_value= [2023-10-29 16:52:07][DEBUG] : start_tls.started ssl_context= server_hostname='@IP@IP@IP@' timeout=5.0 [2023-10-29 16:52:07][DEBUG] : start_tls.complete return_value= [2023-10-29 16:52:07][DEBUG] : send_request_headers.started request= [2023-10-29 16:52:07][DEBUG] : send_request_headers.complete [2023-10-29 16:52:07][DEBUG] : send_request_body.started request= [2023-10-29 16:52:07][DEBUG] : send_request_body.complete [2023-10-29 16:52:07][DEBUG] : receive_response_headers.started request= [2023-10-29 16:52:07][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:53:10 GMT'), (b'Content-Type', b'application/octet-stream'), (b'Content-Length', b'37'), (b'Connection', b'keep-alive'), (b'Set-Cookie', b'sessionId=UnVSsPqWcaiq9i1RAgDzT9hPW0YaKpY6; Secure; HttpOnly; path=/'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:52:07][INFO] : HTTP Request: GET https://@IP@IP@IP@/auth/check_jwt "HTTP/1.1 200 OK" [2023-10-29 16:52:07][DEBUG] : receive_response_body.started request= [2023-10-29 16:52:07][DEBUG] : receive_response_body.complete [2023-10-29 16:52:07][DEBUG] : response_closed.started [2023-10-29 16:52:07][DEBUG] : response_closed.complete [2023-10-29 16:52:07][INFO] : Recuperation mesures [2023-10-29 16:52:07][DEBUG] : send_request_headers.started request= [2023-10-29 16:52:07][DEBUG] : send_request_headers.complete [2023-10-29 16:52:07][DEBUG] : send_request_body.started request= [2023-10-29 16:52:07][DEBUG] : send_request_body.complete [2023-10-29 16:52:07][DEBUG] : receive_response_headers.started request= [2023-10-29 16:52:07][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:53:10 GMT'), (b'Content-Type', b'application/json'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Pragma', b'no-cache'), (b'Expires', b'1'), (b'Cache-Control', b'no-cache'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:52:07][INFO] : HTTP Request: GET https://@IP@IP@IP@/production.json?details=1 "HTTP/1.1 200 OK" [2023-10-29 16:52:07][DEBUG] : receive_response_body.started request= [2023-10-29 16:52:07][DEBUG] : receive_response_body.complete [2023-10-29 16:52:07][DEBUG] : response_closed.started [2023-10-29 16:52:07][DEBUG] : response_closed.complete [2023-10-29 16:52:07][INFO] : Send to jeedom : {'production': [{'type': 'inverters', 'activeCount': 7, 'readingTime': 1698594636, 'wNow': 115, 'whLifetime': 25050}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'production', 'readingTime': 1698594790, 'wNow': 87.569, 'whLifetime': 24266.702, 'varhLeadLifetime': 6692.729, 'varhLagLifetime': 9314.361, 'vahLifetime': 35419.082, 'rmsCurrent': 0.453, 'rmsVoltage': 237.134, 'reactPwr': -3.593, 'apprntPwr': 107.878, 'pwrFactor': 0.79, 'whToday': 4482.702, 'whLastSevenDays': 19789.702, 'vahToday': 5818.082, 'varhLeadToday': 1242.729, 'varhLagToday': 1028.361, 'lines': [{'wNow': 87.569, 'whLifetime': 24266.702, 'varhLeadLifetime': 6692.729, 'varhLagLifetime': 9314.361, 'vahLifetime': 35419.082, 'rmsCurrent': 0.453, 'rmsVoltage': 237.134, 'reactPwr': -3.593, 'apprntPwr': 107.878, 'pwrFactor': 0.79, 'whToday': 4482.702, 'whLastSevenDays': 19789.702, 'vahToday': 5818.082, 'varhLeadToday': 1242.729, 'varhLagToday': 1028.361}]}], 'consumption': [{'type': 'eim', 'activeCount': 1, 'measurementType': 'total-consumption', 'readingTime': 1698594790, 'wNow': 225.515, 'whLifetime': 49018.091, 'varhLeadLifetime': 46934.441, 'varhLagLifetime': 10995.544, 'vahLifetime': 73214.743, 'rmsCurrent': 2.218, 'rmsVoltage': 237.399, 'reactPwr': -341.731, 'apprntPwr': 526.644, 'pwrFactor': 0.43, 'whToday': 7498.091, 'whLastSevenDays': 41516.091, 'vahToday': 9075.743, 'varhLeadToday': 6523.441, 'varhLagToday': 1165.544, 'lines': [{'wNow': 225.515, 'whLifetime': 49018.091, 'varhLeadLifetime': 46934.441, 'varhLagLifetime': 10995.544, 'vahLifetime': 73214.743, 'rmsCurrent': 2.218, 'rmsVoltage': 237.399, 'reactPwr': -341.731, 'apprntPwr': 526.644, 'pwrFactor': 0.43, 'whToday': 7498.091, 'whLastSevenDays': 41516.091, 'vahToday': 9075.743, 'varhLeadToday': 6523.441, 'varhLagToday': 1165.544}]}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'net-consumption', 'readingTime': 1698594790, 'wNow': 137.947, 'whLifetime': 34737.143, 'varhLeadLifetime': 40241.712, 'varhLagLifetime': 1681.183, 'vahLifetime': 73214.743, 'rmsCurrent': 1.766, 'rmsVoltage': 237.665, 'reactPwr': -345.323, 'apprntPwr': 419.761, 'pwrFactor': 0.32, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0, 'lines': [{'wNow': 137.947, 'whLifetime': 34737.143, 'varhLeadLifetime': 40241.712, 'varhLagLifetime': 1681.183, 'vahLifetime': 73214.743, 'rmsCurrent': 1.766, 'rmsVoltage': 237.665, 'reactPwr': -345.323, 'apprntPwr': 419.761, 'pwrFactor': 0.32, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0}]}], 'storage': [{'type': 'acb', 'activeCount': 0, 'readingTime': 0, 'wNow': 0, 'whNow': 0, 'state': 'idle'}]} [2023-10-29 16:52:07][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:52:08][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:52:08][DEBUG] : send_request_headers.started request= [2023-10-29 16:52:08][DEBUG] : send_request_headers.complete [2023-10-29 16:52:08][DEBUG] : send_request_body.started request= [2023-10-29 16:52:08][DEBUG] : send_request_body.complete [2023-10-29 16:52:08][DEBUG] : receive_response_headers.started request= [2023-10-29 16:52:08][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:53:11 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'1053'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:52:08][INFO] : HTTP Request: GET https://@IP@IP@IP@/api/v1/production/inverters "HTTP/1.1 200 OK" [2023-10-29 16:52:08][DEBUG] : receive_response_body.started request= [2023-10-29 16:52:08][DEBUG] : receive_response_body.complete [2023-10-29 16:52:08][DEBUG] : response_closed.started [2023-10-29 16:52:08][DEBUG] : response_closed.complete [2023-10-29 16:52:08][DEBUG] : Recuperation mesures onduleurs [2023-10-29 16:52:08][INFO] : Send to jeedom : [{'serialNumber': '122302018959', 'lastReportDate': 1698594622, 'devType': 1, 'lastReportWatts': 17, 'maxReportWatts': 251}, {'serialNumber': '122302009196', 'lastReportDate': 1698594624, 'devType': 1, 'lastReportWatts': 17, 'maxReportWatts': 253}, {'serialNumber': '122302008361', 'lastReportDate': 1698594627, 'devType': 1, 'lastReportWatts': 16, 'maxReportWatts': 251}, {'serialNumber': '122302018389', 'lastReportDate': 1698594628, 'devType': 1, 'lastReportWatts': 16, 'maxReportWatts': 250}, {'serialNumber': '122302009193', 'lastReportDate': 1698594630, 'devType': 1, 'lastReportWatts': 15, 'maxReportWatts': 249}, {'serialNumber': '122302017745', 'lastReportDate': 1698594633, 'devType': 1, 'lastReportWatts': 18, 'maxReportWatts': 253}, {'serialNumber': '122302013213', 'lastReportDate': 1698594635, 'devType': 1, 'lastReportWatts': 16, 'maxReportWatts': 251}] [2023-10-29 16:52:08][DEBUG] : Recuperation index [2023-10-29 16:52:08][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:52:08][DEBUG] : send_request_headers.started request= [2023-10-29 16:52:08][DEBUG] : send_request_headers.complete [2023-10-29 16:52:08][DEBUG] : send_request_body.started request= [2023-10-29 16:52:08][DEBUG] : send_request_body.complete [2023-10-29 16:52:08][DEBUG] : receive_response_headers.started request= [2023-10-29 16:52:08][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:53:11 GMT'), (b'Content-Length', b'4787'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:52:08][INFO] : HTTP Request: GET https://@IP@IP@IP@/ivp/meters/readings "HTTP/1.1 200 OK" [2023-10-29 16:52:08][DEBUG] : receive_response_body.started request= [2023-10-29 16:52:08][DEBUG] : receive_response_body.complete [2023-10-29 16:52:08][DEBUG] : response_closed.started [2023-10-29 16:52:08][DEBUG] : response_closed.complete [2023-10-29 16:52:08][INFO] : Send to jeedom : [{'eid': 704643328, 'timestamp': 1698594791, 'actEnergyDlvd': 24266.729, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35419.116, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.731, 'instantaneousDemand': 86.287, 'activePower': 86.287, 'apparentPower': 107.649, 'reactivePower': -3.842, 'pwrFactor': 0.75, 'voltage': 237.397, 'current': 0.453, 'freq': 50.0, 'channels': [{'eid': 1778385169, 'timestamp': 1698594791, 'actEnergyDlvd': 24266.729, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35419.116, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.731, 'instantaneousDemand': 86.287, 'activePower': 86.287, 'apparentPower': 107.649, 'reactivePower': -3.842, 'pwrFactor': 0.75, 'voltage': 237.397, 'current': 0.453, 'freq': 50.0}, {'eid': 1778385170, 'timestamp': 1698594791, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 66.167, 'apparentEnergy': 1.538, 'reactEnergyLagg': 9.418, 'reactEnergyLead': 0.0, 'instantaneousDemand': 0.0, 'activePower': 0.0, 'apparentPower': -0.0, 'reactivePower': -0.0, 'pwrFactor': 0.0, 'voltage': 8.468, 'current': 0.0, 'freq': 50.0}, {'eid': 1778385171, 'timestamp': 1698594791, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 189.42, 'apparentEnergy': 26.542, 'reactEnergyLagg': 9.325, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.055, 'activePower': -0.055, 'apparentPower': 0.222, 'reactivePower': 0.0, 'pwrFactor': 0.0, 'voltage': 1.882, 'current': 0.12, 'freq': 50.0}]}, {'eid': 704643584, 'timestamp': 1698594791, 'actEnergyDlvd': 34737.187, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73214.872, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40241.818, 'instantaneousDemand': 140.21, 'activePower': 140.21, 'apparentPower': 421.427, 'reactivePower': -346.642, 'pwrFactor': 0.346, 'voltage': 237.933, 'current': 1.774, 'freq': 50.0, 'channels': [{'eid': 1778385425, 'timestamp': 1698594791, 'actEnergyDlvd': 34737.187, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73214.872, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40241.818, 'instantaneousDemand': 140.21, 'activePower': 140.21, 'apparentPower': 421.427, 'reactivePower': -346.642, 'pwrFactor': 0.346, 'voltage': 237.933, 'current': 1.774, 'freq': 50.0}, {'eid': 1778385426, 'timestamp': 1698594791, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 343.431, 'apparentEnergy': 88.043, 'reactEnergyLagg': 8.934, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.305, 'activePower': -0.305, 'apparentPower': 0.727, 'reactivePower': -0.0, 'pwrFactor': 0.0, 'voltage': 7.18, 'current': 0.103, 'freq': 50.0}, {'eid': 1778385427, 'timestamp': 1698594791, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 469.698, 'apparentEnergy': 107.251, 'reactEnergyLagg': 8.92, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.521, 'activePower': -0.521, 'apparentPower': 0.886, 'reactivePower': 0.0, 'pwrFactor': -1.0, 'voltage': 6.534, 'current': 0.136, 'freq': 50.0}]}] [2023-10-29 16:52:08][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:52:09][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:52:09][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:53:09][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False [2023-10-29 16:53:09][INFO] : Test Token [2023-10-29 16:53:09][DEBUG] : connect_tcp.started host='@IP@IP@IP@' port=443 local_address=None timeout=5.0 socket_options=None [2023-10-29 16:53:09][DEBUG] : connect_tcp.complete return_value= [2023-10-29 16:53:09][DEBUG] : start_tls.started ssl_context= server_hostname='@IP@IP@IP@' timeout=5.0 [2023-10-29 16:53:09][DEBUG] : start_tls.complete return_value= [2023-10-29 16:53:09][DEBUG] : send_request_headers.started request= [2023-10-29 16:53:09][DEBUG] : send_request_headers.complete [2023-10-29 16:53:09][DEBUG] : send_request_body.started request= [2023-10-29 16:53:09][DEBUG] : send_request_body.complete [2023-10-29 16:53:09][DEBUG] : receive_response_headers.started request= [2023-10-29 16:53:09][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:54:11 GMT'), (b'Content-Type', b'application/octet-stream'), (b'Content-Length', b'37'), (b'Connection', b'keep-alive'), (b'Set-Cookie', b'sessionId=UnVSsPqWcaiq9i1RAgDzT9hPW0YaKpY6; Secure; HttpOnly; path=/'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:53:09][INFO] : HTTP Request: GET https://@IP@IP@IP@/auth/check_jwt "HTTP/1.1 200 OK" [2023-10-29 16:53:09][DEBUG] : receive_response_body.started request= [2023-10-29 16:53:09][DEBUG] : receive_response_body.complete [2023-10-29 16:53:09][DEBUG] : response_closed.started [2023-10-29 16:53:09][DEBUG] : response_closed.complete [2023-10-29 16:53:09][INFO] : Recuperation mesures [2023-10-29 16:53:09][DEBUG] : send_request_headers.started request= [2023-10-29 16:53:09][DEBUG] : send_request_headers.complete [2023-10-29 16:53:09][DEBUG] : send_request_body.started request= [2023-10-29 16:53:09][DEBUG] : send_request_body.complete [2023-10-29 16:53:09][DEBUG] : receive_response_headers.started request= [2023-10-29 16:53:09][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:54:12 GMT'), (b'Content-Type', b'application/json'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Pragma', b'no-cache'), (b'Expires', b'1'), (b'Cache-Control', b'no-cache'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:53:09][INFO] : HTTP Request: GET https://@IP@IP@IP@/production.json?details=1 "HTTP/1.1 200 OK" [2023-10-29 16:53:09][DEBUG] : receive_response_body.started request= [2023-10-29 16:53:09][DEBUG] : receive_response_body.complete [2023-10-29 16:53:09][DEBUG] : response_closed.started [2023-10-29 16:53:09][DEBUG] : response_closed.complete [2023-10-29 16:53:09][INFO] : Send to jeedom : {'production': [{'type': 'inverters', 'activeCount': 7, 'readingTime': 1698594636, 'wNow': 115, 'whLifetime': 25050}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'production', 'readingTime': 1698594852, 'wNow': 82.041, 'whLifetime': 24268.152, 'varhLeadLifetime': 6692.779, 'varhLagLifetime': 9314.361, 'vahLifetime': 35420.9, 'rmsCurrent': 0.442, 'rmsVoltage': 236.783, 'reactPwr': -2.17, 'apprntPwr': 104.635, 'pwrFactor': 0.79, 'whToday': 4484.152, 'whLastSevenDays': 19791.152, 'vahToday': 5819.9, 'varhLeadToday': 1242.779, 'varhLagToday': 1028.361, 'lines': [{'wNow': 82.041, 'whLifetime': 24268.152, 'varhLeadLifetime': 6692.779, 'varhLagLifetime': 9314.361, 'vahLifetime': 35420.9, 'rmsCurrent': 0.442, 'rmsVoltage': 236.783, 'reactPwr': -2.17, 'apprntPwr': 104.635, 'pwrFactor': 0.79, 'whToday': 4484.152, 'whLastSevenDays': 19791.152, 'vahToday': 5819.9, 'varhLeadToday': 1242.779, 'varhLagToday': 1028.361}]}], 'consumption': [{'type': 'eim', 'activeCount': 1, 'measurementType': 'total-consumption', 'readingTime': 1698594852, 'wNow': 216.385, 'whLifetime': 49021.903, 'varhLeadLifetime': 46940.416, 'varhLagLifetime': 10995.544, 'vahLifetime': 73221.937, 'rmsCurrent': 2.208, 'rmsVoltage': 237.075, 'reactPwr': -344.253, 'apprntPwr': 523.35, 'pwrFactor': 0.41, 'whToday': 7501.903, 'whLastSevenDays': 41519.903, 'vahToday': 9082.937, 'varhLeadToday': 6529.416, 'varhLagToday': 1165.544, 'lines': [{'wNow': 216.385, 'whLifetime': 49021.903, 'varhLeadLifetime': 46940.416, 'varhLagLifetime': 10995.544, 'vahLifetime': 73221.937, 'rmsCurrent': 2.208, 'rmsVoltage': 237.075, 'reactPwr': -344.253, 'apprntPwr': 523.35, 'pwrFactor': 0.41, 'whToday': 7501.903, 'whLastSevenDays': 41519.903, 'vahToday': 9082.937, 'varhLeadToday': 6529.416, 'varhLagToday': 1165.544}]}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'net-consumption', 'readingTime': 1698594852, 'wNow': 134.344, 'whLifetime': 34739.505, 'varhLeadLifetime': 40247.637, 'varhLagLifetime': 1681.183, 'vahLifetime': 73221.937, 'rmsCurrent': 1.766, 'rmsVoltage': 237.366, 'reactPwr': -346.423, 'apprntPwr': 418.916, 'pwrFactor': 0.33, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0, 'lines': [{'wNow': 134.344, 'whLifetime': 34739.505, 'varhLeadLifetime': 40247.637, 'varhLagLifetime': 1681.183, 'vahLifetime': 73221.937, 'rmsCurrent': 1.766, 'rmsVoltage': 237.366, 'reactPwr': -346.423, 'apprntPwr': 418.916, 'pwrFactor': 0.33, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0}]}], 'storage': [{'type': 'acb', 'activeCount': 0, 'readingTime': 0, 'wNow': 0, 'whNow': 0, 'state': 'idle'}]} [2023-10-29 16:53:09][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:53:10][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:53:10][DEBUG] : send_request_headers.started request= [2023-10-29 16:53:10][DEBUG] : send_request_headers.complete [2023-10-29 16:53:10][DEBUG] : send_request_body.started request= [2023-10-29 16:53:10][DEBUG] : send_request_body.complete [2023-10-29 16:53:10][DEBUG] : receive_response_headers.started request= [2023-10-29 16:53:10][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:54:13 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'1053'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:53:10][INFO] : HTTP Request: GET https://@IP@IP@IP@/api/v1/production/inverters "HTTP/1.1 200 OK" [2023-10-29 16:53:10][DEBUG] : receive_response_body.started request= [2023-10-29 16:53:10][DEBUG] : receive_response_body.complete [2023-10-29 16:53:10][DEBUG] : response_closed.started [2023-10-29 16:53:10][DEBUG] : response_closed.complete [2023-10-29 16:53:10][DEBUG] : Recuperation mesures onduleurs [2023-10-29 16:53:10][INFO] : Send to jeedom : [{'serialNumber': '122302018959', 'lastReportDate': 1698594622, 'devType': 1, 'lastReportWatts': 17, 'maxReportWatts': 251}, {'serialNumber': '122302009196', 'lastReportDate': 1698594624, 'devType': 1, 'lastReportWatts': 17, 'maxReportWatts': 253}, {'serialNumber': '122302008361', 'lastReportDate': 1698594627, 'devType': 1, 'lastReportWatts': 16, 'maxReportWatts': 251}, {'serialNumber': '122302018389', 'lastReportDate': 1698594628, 'devType': 1, 'lastReportWatts': 16, 'maxReportWatts': 250}, {'serialNumber': '122302009193', 'lastReportDate': 1698594630, 'devType': 1, 'lastReportWatts': 15, 'maxReportWatts': 249}, {'serialNumber': '122302017745', 'lastReportDate': 1698594633, 'devType': 1, 'lastReportWatts': 18, 'maxReportWatts': 253}, {'serialNumber': '122302013213', 'lastReportDate': 1698594635, 'devType': 1, 'lastReportWatts': 16, 'maxReportWatts': 251}] [2023-10-29 16:53:10][DEBUG] : Recuperation index [2023-10-29 16:53:10][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:53:10][DEBUG] : send_request_headers.started request= [2023-10-29 16:53:10][DEBUG] : send_request_headers.complete [2023-10-29 16:53:10][DEBUG] : send_request_body.started request= [2023-10-29 16:53:10][DEBUG] : send_request_body.complete [2023-10-29 16:53:10][DEBUG] : receive_response_headers.started request= [2023-10-29 16:53:10][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:54:13 GMT'), (b'Content-Length', b'4789'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:53:10][INFO] : HTTP Request: GET https://@IP@IP@IP@/ivp/meters/readings "HTTP/1.1 200 OK" [2023-10-29 16:53:10][DEBUG] : receive_response_body.started request= [2023-10-29 16:53:10][DEBUG] : receive_response_body.complete [2023-10-29 16:53:10][DEBUG] : response_closed.started [2023-10-29 16:53:10][DEBUG] : response_closed.complete [2023-10-29 16:53:10][INFO] : Send to jeedom : [{'eid': 704643328, 'timestamp': 1698594853, 'actEnergyDlvd': 24268.178, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35420.932, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.78, 'instantaneousDemand': 82.382, 'activePower': 82.382, 'apparentPower': 104.58, 'reactivePower': -2.272, 'pwrFactor': 0.857, 'voltage': 236.768, 'current': 0.44, 'freq': 50.0, 'channels': [{'eid': 1778385169, 'timestamp': 1698594853, 'actEnergyDlvd': 24268.178, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35420.932, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.78, 'instantaneousDemand': 82.382, 'activePower': 82.382, 'apparentPower': 104.58, 'reactivePower': -2.272, 'pwrFactor': 0.857, 'voltage': 236.768, 'current': 0.44, 'freq': 50.0}, {'eid': 1778385170, 'timestamp': 1698594853, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 66.176, 'apparentEnergy': 1.538, 'reactEnergyLagg': 9.419, 'reactEnergyLead': 0.0, 'instantaneousDemand': 0.0, 'activePower': 0.0, 'apparentPower': -0.0, 'reactivePower': -0.0, 'pwrFactor': -1.0, 'voltage': 8.468, 'current': 0.0, 'freq': 50.0}, {'eid': 1778385171, 'timestamp': 1698594853, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 189.446, 'apparentEnergy': 26.546, 'reactEnergyLagg': 9.326, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.052, 'activePower': -0.052, 'apparentPower': 0.225, 'reactivePower': 0.0, 'pwrFactor': 0.0, 'voltage': 1.882, 'current': 0.12, 'freq': 50.0}]}, {'eid': 704643584, 'timestamp': 1698594853, 'actEnergyDlvd': 34739.545, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73222.064, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40247.743, 'instantaneousDemand': 132.953, 'activePower': 132.953, 'apparentPower': 418.76, 'reactivePower': -345.966, 'pwrFactor': 0.31, 'voltage': 237.361, 'current': 1.762, 'freq': 50.0, 'channels': [{'eid': 1778385425, 'timestamp': 1698594853, 'actEnergyDlvd': 34739.545, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73222.064, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40247.743, 'instantaneousDemand': 132.953, 'activePower': 132.953, 'apparentPower': 418.76, 'reactivePower': -345.966, 'pwrFactor': 0.31, 'voltage': 237.361, 'current': 1.762, 'freq': 50.0}, {'eid': 1778385426, 'timestamp': 1698594853, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 343.479, 'apparentEnergy': 88.056, 'reactEnergyLagg': 8.935, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.294, 'activePower': -0.294, 'apparentPower': 0.737, 'reactivePower': -0.0, 'pwrFactor': -1.0, 'voltage': 7.18, 'current': 0.101, 'freq': 50.0}, {'eid': 1778385427, 'timestamp': 1698594853, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 469.764, 'apparentEnergy': 107.266, 'reactEnergyLagg': 8.922, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.523, 'activePower': -0.523, 'apparentPower': 0.871, 'reactivePower': 0.0, 'pwrFactor': -1.0, 'voltage': 6.534, 'current': 0.134, 'freq': 50.0}]}] [2023-10-29 16:53:10][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:53:10][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:53:10][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:54:10][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False [2023-10-29 16:54:10][INFO] : Test Token [2023-10-29 16:54:10][DEBUG] : connect_tcp.started host='@IP@IP@IP@' port=443 local_address=None timeout=5.0 socket_options=None [2023-10-29 16:54:10][DEBUG] : connect_tcp.complete return_value= [2023-10-29 16:54:10][DEBUG] : start_tls.started ssl_context= server_hostname='@IP@IP@IP@' timeout=5.0 [2023-10-29 16:54:10][DEBUG] : start_tls.complete return_value= [2023-10-29 16:54:10][DEBUG] : send_request_headers.started request= [2023-10-29 16:54:10][DEBUG] : send_request_headers.complete [2023-10-29 16:54:10][DEBUG] : send_request_body.started request= [2023-10-29 16:54:10][DEBUG] : send_request_body.complete [2023-10-29 16:54:10][DEBUG] : receive_response_headers.started request= [2023-10-29 16:54:10][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:55:13 GMT'), (b'Content-Type', b'application/octet-stream'), (b'Content-Length', b'37'), (b'Connection', b'keep-alive'), (b'Set-Cookie', b'sessionId=UnVSsPqWcaiq9i1RAgDzT9hPW0YaKpY6; Secure; HttpOnly; path=/'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:54:10][INFO] : HTTP Request: GET https://@IP@IP@IP@/auth/check_jwt "HTTP/1.1 200 OK" [2023-10-29 16:54:10][DEBUG] : receive_response_body.started request= [2023-10-29 16:54:10][DEBUG] : receive_response_body.complete [2023-10-29 16:54:10][DEBUG] : response_closed.started [2023-10-29 16:54:10][DEBUG] : response_closed.complete [2023-10-29 16:54:10][INFO] : Recuperation mesures [2023-10-29 16:54:10][DEBUG] : send_request_headers.started request= [2023-10-29 16:54:10][DEBUG] : send_request_headers.complete [2023-10-29 16:54:10][DEBUG] : send_request_body.started request= [2023-10-29 16:54:10][DEBUG] : send_request_body.complete [2023-10-29 16:54:10][DEBUG] : receive_response_headers.started request= [2023-10-29 16:54:11][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:55:14 GMT'), (b'Content-Type', b'application/json'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Pragma', b'no-cache'), (b'Expires', b'1'), (b'Cache-Control', b'no-cache'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:54:11][INFO] : HTTP Request: GET https://@IP@IP@IP@/production.json?details=1 "HTTP/1.1 200 OK" [2023-10-29 16:54:11][DEBUG] : receive_response_body.started request= [2023-10-29 16:54:11][DEBUG] : receive_response_body.complete [2023-10-29 16:54:11][DEBUG] : response_closed.started [2023-10-29 16:54:11][DEBUG] : response_closed.complete [2023-10-29 16:54:11][INFO] : Send to jeedom : {'production': [{'type': 'inverters', 'activeCount': 7, 'readingTime': 1698594636, 'wNow': 115, 'whLifetime': 25050}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'production', 'readingTime': 1698594913, 'wNow': 79.025, 'whLifetime': 24269.533, 'varhLeadLifetime': 6692.812, 'varhLagLifetime': 9314.361, 'vahLifetime': 35422.656, 'rmsCurrent': 0.43, 'rmsVoltage': 237.047, 'reactPwr': -0.943, 'apprntPwr': 101.625, 'pwrFactor': 0.73, 'whToday': 4485.533, 'whLastSevenDays': 19784.533, 'vahToday': 5821.656, 'varhLeadToday': 1242.812, 'varhLagToday': 1028.361, 'lines': [{'wNow': 79.025, 'whLifetime': 24269.533, 'varhLeadLifetime': 6692.812, 'varhLagLifetime': 9314.361, 'vahLifetime': 35422.656, 'rmsCurrent': 0.43, 'rmsVoltage': 237.047, 'reactPwr': -0.943, 'apprntPwr': 101.625, 'pwrFactor': 0.73, 'whToday': 4485.533, 'whLastSevenDays': 19784.533, 'vahToday': 5821.656, 'varhLeadToday': 1242.812, 'varhLagToday': 1028.361}]}], 'consumption': [{'type': 'eim', 'activeCount': 1, 'measurementType': 'total-consumption', 'readingTime': 1698594913, 'wNow': 226.661, 'whLifetime': 49025.672, 'varhLeadLifetime': 46946.364, 'varhLagLifetime': 10995.544, 'vahLifetime': 73229.117, 'rmsCurrent': 2.218, 'rmsVoltage': 237.201, 'reactPwr': -346.459, 'apprntPwr': 526.018, 'pwrFactor': 0.43, 'whToday': 7505.672, 'whLastSevenDays': 41505.672, 'vahToday': 9090.117, 'varhLeadToday': 6535.364, 'varhLagToday': 1165.544, 'lines': [{'wNow': 226.661, 'whLifetime': 49025.672, 'varhLeadLifetime': 46946.364, 'varhLagLifetime': 10995.544, 'vahLifetime': 73229.117, 'rmsCurrent': 2.218, 'rmsVoltage': 237.201, 'reactPwr': -346.459, 'apprntPwr': 526.018, 'pwrFactor': 0.43, 'whToday': 7505.672, 'whLastSevenDays': 41505.672, 'vahToday': 9090.117, 'varhLeadToday': 6535.364, 'varhLagToday': 1165.544}]}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'net-consumption', 'readingTime': 1698594913, 'wNow': 147.636, 'whLifetime': 34741.892, 'varhLeadLifetime': 40253.552, 'varhLagLifetime': 1681.183, 'vahLifetime': 73229.117, 'rmsCurrent': 1.788, 'rmsVoltage': 237.354, 'reactPwr': -347.402, 'apprntPwr': 424.206, 'pwrFactor': 0.34, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0, 'lines': [{'wNow': 147.636, 'whLifetime': 34741.892, 'varhLeadLifetime': 40253.552, 'varhLagLifetime': 1681.183, 'vahLifetime': 73229.117, 'rmsCurrent': 1.788, 'rmsVoltage': 237.354, 'reactPwr': -347.402, 'apprntPwr': 424.206, 'pwrFactor': 0.34, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0}]}], 'storage': [{'type': 'acb', 'activeCount': 0, 'readingTime': 0, 'wNow': 0, 'whNow': 0, 'state': 'idle'}]} [2023-10-29 16:54:11][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:54:11][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:54:12][DEBUG] : send_request_headers.started request= [2023-10-29 16:54:12][DEBUG] : send_request_headers.complete [2023-10-29 16:54:12][DEBUG] : send_request_body.started request= [2023-10-29 16:54:12][DEBUG] : send_request_body.complete [2023-10-29 16:54:12][DEBUG] : receive_response_headers.started request= [2023-10-29 16:54:12][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:55:15 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'1053'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:54:12][INFO] : HTTP Request: GET https://@IP@IP@IP@/api/v1/production/inverters "HTTP/1.1 200 OK" [2023-10-29 16:54:12][DEBUG] : receive_response_body.started request= [2023-10-29 16:54:12][DEBUG] : receive_response_body.complete [2023-10-29 16:54:12][DEBUG] : response_closed.started [2023-10-29 16:54:12][DEBUG] : response_closed.complete [2023-10-29 16:54:12][DEBUG] : Recuperation mesures onduleurs [2023-10-29 16:54:12][INFO] : Send to jeedom : [{'serialNumber': '122302018959', 'lastReportDate': 1698594622, 'devType': 1, 'lastReportWatts': 17, 'maxReportWatts': 251}, {'serialNumber': '122302009196', 'lastReportDate': 1698594624, 'devType': 1, 'lastReportWatts': 17, 'maxReportWatts': 253}, {'serialNumber': '122302008361', 'lastReportDate': 1698594627, 'devType': 1, 'lastReportWatts': 16, 'maxReportWatts': 251}, {'serialNumber': '122302018389', 'lastReportDate': 1698594628, 'devType': 1, 'lastReportWatts': 16, 'maxReportWatts': 250}, {'serialNumber': '122302009193', 'lastReportDate': 1698594630, 'devType': 1, 'lastReportWatts': 15, 'maxReportWatts': 249}, {'serialNumber': '122302017745', 'lastReportDate': 1698594633, 'devType': 1, 'lastReportWatts': 18, 'maxReportWatts': 253}, {'serialNumber': '122302013213', 'lastReportDate': 1698594635, 'devType': 1, 'lastReportWatts': 16, 'maxReportWatts': 251}] [2023-10-29 16:54:12][DEBUG] : Recuperation index [2023-10-29 16:54:12][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:54:12][DEBUG] : send_request_headers.started request= [2023-10-29 16:54:12][DEBUG] : send_request_headers.complete [2023-10-29 16:54:12][DEBUG] : send_request_body.started request= [2023-10-29 16:54:12][DEBUG] : send_request_body.complete [2023-10-29 16:54:12][DEBUG] : receive_response_headers.started request= [2023-10-29 16:54:12][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:55:15 GMT'), (b'Content-Length', b'4789'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:54:12][INFO] : HTTP Request: GET https://@IP@IP@IP@/ivp/meters/readings "HTTP/1.1 200 OK" [2023-10-29 16:54:12][DEBUG] : receive_response_body.started request= [2023-10-29 16:54:12][DEBUG] : receive_response_body.complete [2023-10-29 16:54:12][DEBUG] : response_closed.started [2023-10-29 16:54:12][DEBUG] : response_closed.complete [2023-10-29 16:54:12][INFO] : Send to jeedom : [{'eid': 704643328, 'timestamp': 1698594914, 'actEnergyDlvd': 24269.555, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35422.684, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.813, 'instantaneousDemand': 78.955, 'activePower': 78.955, 'apparentPower': 101.451, 'reactivePower': -1.766, 'pwrFactor': 0.737, 'voltage': 237.109, 'current': 0.428, 'freq': 50.0, 'channels': [{'eid': 1778385169, 'timestamp': 1698594914, 'actEnergyDlvd': 24269.555, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35422.684, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.813, 'instantaneousDemand': 78.955, 'activePower': 78.955, 'apparentPower': 101.451, 'reactivePower': -1.766, 'pwrFactor': 0.737, 'voltage': 237.109, 'current': 0.428, 'freq': 50.0}, {'eid': 1778385170, 'timestamp': 1698594914, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 66.186, 'apparentEnergy': 1.538, 'reactEnergyLagg': 9.42, 'reactEnergyLead': 0.0, 'instantaneousDemand': 0.0, 'activePower': 0.0, 'apparentPower': -0.0, 'reactivePower': -0.0, 'pwrFactor': -1.0, 'voltage': 8.468, 'current': 0.0, 'freq': 50.0}, {'eid': 1778385171, 'timestamp': 1698594914, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 189.473, 'apparentEnergy': 26.549, 'reactEnergyLagg': 9.327, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.043, 'activePower': -0.043, 'apparentPower': 0.222, 'reactivePower': 0.0, 'pwrFactor': 0.0, 'voltage': 1.882, 'current': 0.117, 'freq': 50.0}]}, {'eid': 704643584, 'timestamp': 1698594914, 'actEnergyDlvd': 34741.933, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73229.235, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40253.648, 'instantaneousDemand': 147.442, 'activePower': 147.442, 'apparentPower': 423.936, 'reactivePower': -347.281, 'pwrFactor': 0.338, 'voltage': 237.414, 'current': 1.787, 'freq': 50.0, 'channels': [{'eid': 1778385425, 'timestamp': 1698594914, 'actEnergyDlvd': 34741.933, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73229.235, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40253.648, 'instantaneousDemand': 147.442, 'activePower': 147.442, 'apparentPower': 423.936, 'reactivePower': -347.281, 'pwrFactor': 0.338, 'voltage': 237.414, 'current': 1.787, 'freq': 50.0}, {'eid': 1778385426, 'timestamp': 1698594914, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 343.526, 'apparentEnergy': 88.068, 'reactEnergyLagg': 8.936, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.365, 'activePower': -0.365, 'apparentPower': 0.721, 'reactivePower': -0.0, 'pwrFactor': -1.0, 'voltage': 7.18, 'current': 0.101, 'freq': 50.0}, {'eid': 1778385427, 'timestamp': 1698594914, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 469.829, 'apparentEnergy': 107.282, 'reactEnergyLagg': 8.923, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.589, 'activePower': -0.589, 'apparentPower': 0.883, 'reactivePower': 0.088, 'pwrFactor': -1.0, 'voltage': 6.534, 'current': 0.135, 'freq': 50.0}]}] [2023-10-29 16:54:12][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:54:12][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:54:12][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:55:12][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False [2023-10-29 16:55:12][INFO] : Test Token [2023-10-29 16:55:12][DEBUG] : connect_tcp.started host='@IP@IP@IP@' port=443 local_address=None timeout=5.0 socket_options=None [2023-10-29 16:55:12][DEBUG] : connect_tcp.complete return_value= [2023-10-29 16:55:12][DEBUG] : start_tls.started ssl_context= server_hostname='@IP@IP@IP@' timeout=5.0 [2023-10-29 16:55:12][DEBUG] : start_tls.complete return_value= [2023-10-29 16:55:12][DEBUG] : send_request_headers.started request= [2023-10-29 16:55:12][DEBUG] : send_request_headers.complete [2023-10-29 16:55:12][DEBUG] : send_request_body.started request= [2023-10-29 16:55:12][DEBUG] : send_request_body.complete [2023-10-29 16:55:12][DEBUG] : receive_response_headers.started request= [2023-10-29 16:55:12][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:56:15 GMT'), (b'Content-Type', b'application/octet-stream'), (b'Content-Length', b'37'), (b'Connection', b'keep-alive'), (b'Set-Cookie', b'sessionId=UnVSsPqWcaiq9i1RAgDzT9hPW0YaKpY6; Secure; HttpOnly; path=/'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:55:12][INFO] : HTTP Request: GET https://@IP@IP@IP@/auth/check_jwt "HTTP/1.1 200 OK" [2023-10-29 16:55:12][DEBUG] : receive_response_body.started request= [2023-10-29 16:55:12][DEBUG] : receive_response_body.complete [2023-10-29 16:55:12][DEBUG] : response_closed.started [2023-10-29 16:55:12][DEBUG] : response_closed.complete [2023-10-29 16:55:12][INFO] : Recuperation mesures [2023-10-29 16:55:12][DEBUG] : send_request_headers.started request= [2023-10-29 16:55:12][DEBUG] : send_request_headers.complete [2023-10-29 16:55:12][DEBUG] : send_request_body.started request= [2023-10-29 16:55:12][DEBUG] : send_request_body.complete [2023-10-29 16:55:12][DEBUG] : receive_response_headers.started request= [2023-10-29 16:55:12][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:56:15 GMT'), (b'Content-Type', b'application/json'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Pragma', b'no-cache'), (b'Expires', b'1'), (b'Cache-Control', b'no-cache'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:55:12][INFO] : HTTP Request: GET https://@IP@IP@IP@/production.json?details=1 "HTTP/1.1 200 OK" [2023-10-29 16:55:12][DEBUG] : receive_response_body.started request= [2023-10-29 16:55:12][DEBUG] : receive_response_body.complete [2023-10-29 16:55:12][DEBUG] : response_closed.started [2023-10-29 16:55:12][DEBUG] : response_closed.complete [2023-10-29 16:55:12][INFO] : Send to jeedom : {'production': [{'type': 'inverters', 'activeCount': 7, 'readingTime': 1698594942, 'wNow': 93, 'whLifetime': 25058}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'production', 'readingTime': 1698594975, 'wNow': 74.735, 'whLifetime': 24270.834, 'varhLeadLifetime': 6692.823, 'varhLagLifetime': 9314.361, 'vahLifetime': 35424.347, 'rmsCurrent': 0.415, 'rmsVoltage': 236.684, 'reactPwr': 0.0, 'apprntPwr': 98.006, 'pwrFactor': 0.72, 'whToday': 4486.834, 'whLastSevenDays': 19785.834, 'vahToday': 5823.347, 'varhLeadToday': 1242.823, 'varhLagToday': 1028.361, 'lines': [{'wNow': 74.735, 'whLifetime': 24270.834, 'varhLeadLifetime': 6692.823, 'varhLagLifetime': 9314.361, 'vahLifetime': 35424.347, 'rmsCurrent': 0.415, 'rmsVoltage': 236.684, 'reactPwr': 0.0, 'apprntPwr': 98.006, 'pwrFactor': 0.72, 'whToday': 4486.834, 'whLastSevenDays': 19785.834, 'vahToday': 5823.347, 'varhLeadToday': 1242.823, 'varhLagToday': 1028.361}]}], 'consumption': [{'type': 'eim', 'activeCount': 1, 'measurementType': 'total-consumption', 'readingTime': 1698594975, 'wNow': 220.783, 'whLifetime': 49029.423, 'varhLeadLifetime': 46952.277, 'varhLagLifetime': 10995.544, 'vahLifetime': 73236.305, 'rmsCurrent': 2.222, 'rmsVoltage': 236.828, 'reactPwr': -350.785, 'apprntPwr': 526.259, 'pwrFactor': 0.42, 'whToday': 7509.423, 'whLastSevenDays': 41509.423, 'vahToday': 9097.305, 'varhLeadToday': 6541.277, 'varhLagToday': 1165.544, 'lines': [{'wNow': 220.783, 'whLifetime': 49029.423, 'varhLeadLifetime': 46952.277, 'varhLagLifetime': 10995.544, 'vahLifetime': 73236.305, 'rmsCurrent': 2.222, 'rmsVoltage': 236.828, 'reactPwr': -350.785, 'apprntPwr': 526.259, 'pwrFactor': 0.42, 'whToday': 7509.423, 'whLastSevenDays': 41509.423, 'vahToday': 9097.305, 'varhLeadToday': 6541.277, 'varhLagToday': 1165.544}]}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'net-consumption', 'readingTime': 1698594975, 'wNow': 146.049, 'whLifetime': 34744.342, 'varhLeadLifetime': 40259.454, 'varhLagLifetime': 1681.183, 'vahLifetime': 73236.305, 'rmsCurrent': 1.808, 'rmsVoltage': 236.972, 'reactPwr': -350.785, 'apprntPwr': 427.981, 'pwrFactor': 0.36, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0, 'lines': [{'wNow': 146.049, 'whLifetime': 34744.342, 'varhLeadLifetime': 40259.454, 'varhLagLifetime': 1681.183, 'vahLifetime': 73236.305, 'rmsCurrent': 1.808, 'rmsVoltage': 236.972, 'reactPwr': -350.785, 'apprntPwr': 427.981, 'pwrFactor': 0.36, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0}]}], 'storage': [{'type': 'acb', 'activeCount': 0, 'readingTime': 0, 'wNow': 0, 'whNow': 0, 'state': 'idle'}]} [2023-10-29 16:55:12][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:55:13][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:55:13][DEBUG] : send_request_headers.started request= [2023-10-29 16:55:13][DEBUG] : send_request_headers.complete [2023-10-29 16:55:13][DEBUG] : send_request_body.started request= [2023-10-29 16:55:13][DEBUG] : send_request_body.complete [2023-10-29 16:55:13][DEBUG] : receive_response_headers.started request= [2023-10-29 16:55:13][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:56:16 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'1053'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:55:13][INFO] : HTTP Request: GET https://@IP@IP@IP@/api/v1/production/inverters "HTTP/1.1 200 OK" [2023-10-29 16:55:13][DEBUG] : receive_response_body.started request= [2023-10-29 16:55:13][DEBUG] : receive_response_body.complete [2023-10-29 16:55:13][DEBUG] : response_closed.started [2023-10-29 16:55:13][DEBUG] : response_closed.complete [2023-10-29 16:55:13][DEBUG] : Recuperation mesures onduleurs [2023-10-29 16:55:13][INFO] : Send to jeedom : [{'serialNumber': '122302018959', 'lastReportDate': 1698594924, 'devType': 1, 'lastReportWatts': 14, 'maxReportWatts': 251}, {'serialNumber': '122302009196', 'lastReportDate': 1698594926, 'devType': 1, 'lastReportWatts': 13, 'maxReportWatts': 253}, {'serialNumber': '122302008361', 'lastReportDate': 1698594927, 'devType': 1, 'lastReportWatts': 13, 'maxReportWatts': 251}, {'serialNumber': '122302018389', 'lastReportDate': 1698594931, 'devType': 1, 'lastReportWatts': 13, 'maxReportWatts': 250}, {'serialNumber': '122302009193', 'lastReportDate': 1698594932, 'devType': 1, 'lastReportWatts': 12, 'maxReportWatts': 249}, {'serialNumber': '122302017745', 'lastReportDate': 1698594934, 'devType': 1, 'lastReportWatts': 14, 'maxReportWatts': 253}, {'serialNumber': '122302013213', 'lastReportDate': 1698594938, 'devType': 1, 'lastReportWatts': 13, 'maxReportWatts': 251}] [2023-10-29 16:55:13][DEBUG] : Recuperation index [2023-10-29 16:55:13][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:55:13][DEBUG] : send_request_headers.started request= [2023-10-29 16:55:13][DEBUG] : send_request_headers.complete [2023-10-29 16:55:13][DEBUG] : send_request_body.started request= [2023-10-29 16:55:13][DEBUG] : send_request_body.complete [2023-10-29 16:55:13][DEBUG] : receive_response_headers.started request= [2023-10-29 16:55:13][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:56:16 GMT'), (b'Content-Length', b'4783'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:55:14][INFO] : HTTP Request: GET https://@IP@IP@IP@/ivp/meters/readings "HTTP/1.1 200 OK" [2023-10-29 16:55:14][DEBUG] : receive_response_body.started request= [2023-10-29 16:55:14][DEBUG] : receive_response_body.complete [2023-10-29 16:55:14][DEBUG] : response_closed.started [2023-10-29 16:55:14][DEBUG] : response_closed.complete [2023-10-29 16:55:14][INFO] : Send to jeedom : [{'eid': 704643328, 'timestamp': 1698594976, 'actEnergyDlvd': 24270.861, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35424.382, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.823, 'instantaneousDemand': 74.335, 'activePower': 74.335, 'apparentPower': 97.498, 'reactivePower': 0.0, 'pwrFactor': 0.75, 'voltage': 236.455, 'current': 0.412, 'freq': 50.0, 'channels': [{'eid': 1778385169, 'timestamp': 1698594976, 'actEnergyDlvd': 24270.861, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35424.382, 'reactEnergyLagg': 9314.361, 'reactEnergyLead': 6692.823, 'instantaneousDemand': 74.335, 'activePower': 74.335, 'apparentPower': 97.498, 'reactivePower': 0.0, 'pwrFactor': 0.75, 'voltage': 236.455, 'current': 0.412, 'freq': 50.0}, {'eid': 1778385170, 'timestamp': 1698594976, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 66.194, 'apparentEnergy': 1.538, 'reactEnergyLagg': 9.422, 'reactEnergyLead': 0.0, 'instantaneousDemand': 0.0, 'activePower': 0.0, 'apparentPower': -0.0, 'reactivePower': -0.0, 'pwrFactor': 0.0, 'voltage': 8.468, 'current': 0.0, 'freq': 50.0}, {'eid': 1778385171, 'timestamp': 1698594976, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 189.499, 'apparentEnergy': 26.553, 'reactEnergyLagg': 9.328, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.056, 'activePower': -0.056, 'apparentPower': 0.225, 'reactivePower': 0.0, 'pwrFactor': -1.0, 'voltage': 1.882, 'current': 0.12, 'freq': 50.0}]}, {'eid': 704643584, 'timestamp': 1698594976, 'actEnergyDlvd': 34744.395, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73236.459, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40259.58, 'instantaneousDemand': 146.087, 'activePower': 146.087, 'apparentPower': 428.297, 'reactivePower': -349.143, 'pwrFactor': 0.35, 'voltage': 236.753, 'current': 1.807, 'freq': 50.0, 'channels': [{'eid': 1778385425, 'timestamp': 1698594976, 'actEnergyDlvd': 34744.395, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73236.459, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40259.58, 'instantaneousDemand': 146.087, 'activePower': 146.087, 'apparentPower': 428.297, 'reactivePower': -349.143, 'pwrFactor': 0.35, 'voltage': 236.753, 'current': 1.807, 'freq': 50.0}, {'eid': 1778385426, 'timestamp': 1698594976, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 343.574, 'apparentEnergy': 88.08, 'reactEnergyLagg': 8.937, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.366, 'activePower': -0.366, 'apparentPower': 0.74, 'reactivePower': -0.0, 'pwrFactor': 0.0, 'voltage': 7.18, 'current': 0.105, 'freq': 50.0}, {'eid': 1778385427, 'timestamp': 1698594976, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 469.894, 'apparentEnergy': 107.296, 'reactEnergyLagg': 8.924, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.504, 'activePower': -0.504, 'apparentPower': 0.88, 'reactivePower': 0.0, 'pwrFactor': 0.0, 'voltage': 6.534, 'current': 0.136, 'freq': 50.0}]}] [2023-10-29 16:55:14][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:55:14][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:55:14][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:56:14][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False [2023-10-29 16:56:14][INFO] : Test Token [2023-10-29 16:56:14][DEBUG] : connect_tcp.started host='@IP@IP@IP@' port=443 local_address=None timeout=5.0 socket_options=None [2023-10-29 16:56:14][DEBUG] : connect_tcp.complete return_value= [2023-10-29 16:56:14][DEBUG] : start_tls.started ssl_context= server_hostname='@IP@IP@IP@' timeout=5.0 [2023-10-29 16:56:14][DEBUG] : start_tls.complete return_value= [2023-10-29 16:56:14][DEBUG] : send_request_headers.started request= [2023-10-29 16:56:14][DEBUG] : send_request_headers.complete [2023-10-29 16:56:14][DEBUG] : send_request_body.started request= [2023-10-29 16:56:14][DEBUG] : send_request_body.complete [2023-10-29 16:56:14][DEBUG] : receive_response_headers.started request= [2023-10-29 16:56:14][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:57:17 GMT'), (b'Content-Type', b'application/octet-stream'), (b'Content-Length', b'37'), (b'Connection', b'keep-alive'), (b'Set-Cookie', b'sessionId=UnVSsPqWcaiq9i1RAgDzT9hPW0YaKpY6; Secure; HttpOnly; path=/'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:56:14][INFO] : HTTP Request: GET https://@IP@IP@IP@/auth/check_jwt "HTTP/1.1 200 OK" [2023-10-29 16:56:14][DEBUG] : receive_response_body.started request= [2023-10-29 16:56:14][DEBUG] : receive_response_body.complete [2023-10-29 16:56:14][DEBUG] : response_closed.started [2023-10-29 16:56:14][DEBUG] : response_closed.complete [2023-10-29 16:56:14][INFO] : Recuperation mesures [2023-10-29 16:56:14][DEBUG] : send_request_headers.started request= [2023-10-29 16:56:14][DEBUG] : send_request_headers.complete [2023-10-29 16:56:14][DEBUG] : send_request_body.started request= [2023-10-29 16:56:14][DEBUG] : send_request_body.complete [2023-10-29 16:56:14][DEBUG] : receive_response_headers.started request= [2023-10-29 16:56:15][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:57:18 GMT'), (b'Content-Type', b'application/json'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Pragma', b'no-cache'), (b'Expires', b'1'), (b'Cache-Control', b'no-cache'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:56:15][INFO] : HTTP Request: GET https://@IP@IP@IP@/production.json?details=1 "HTTP/1.1 200 OK" [2023-10-29 16:56:15][DEBUG] : receive_response_body.started request= [2023-10-29 16:56:15][DEBUG] : receive_response_body.complete [2023-10-29 16:56:15][DEBUG] : response_closed.started [2023-10-29 16:56:15][DEBUG] : response_closed.complete [2023-10-29 16:56:15][INFO] : Send to jeedom : {'production': [{'type': 'inverters', 'activeCount': 7, 'readingTime': 1698594942, 'wNow': 93, 'whLifetime': 25058}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'production', 'readingTime': 1698595038, 'wNow': 69.824, 'whLifetime': 24272.083, 'varhLeadLifetime': 6692.823, 'varhLagLifetime': 9314.406, 'vahLifetime': 35426.01, 'rmsCurrent': 0.4, 'rmsVoltage': 237.045, 'reactPwr': 7.292, 'apprntPwr': 94.622, 'pwrFactor': 0.69, 'whToday': 4488.083, 'whLastSevenDays': 19787.083, 'vahToday': 5825.01, 'varhLeadToday': 1242.823, 'varhLagToday': 1028.406, 'lines': [{'wNow': 69.824, 'whLifetime': 24272.083, 'varhLeadLifetime': 6692.823, 'varhLagLifetime': 9314.406, 'vahLifetime': 35426.01, 'rmsCurrent': 0.4, 'rmsVoltage': 237.045, 'reactPwr': 7.292, 'apprntPwr': 94.622, 'pwrFactor': 0.69, 'whToday': 4488.083, 'whLastSevenDays': 19787.083, 'vahToday': 5825.01, 'varhLeadToday': 1242.823, 'varhLagToday': 1028.406}]}], 'consumption': [{'type': 'eim', 'activeCount': 1, 'measurementType': 'total-consumption', 'readingTime': 1698595038, 'wNow': 245.838, 'whLifetime': 49033.597, 'varhLeadLifetime': 46958.386, 'varhLagLifetime': 10995.589, 'vahLifetime': 73244.068, 'rmsCurrent': 2.322, 'rmsVoltage': 237.312, 'reactPwr': -364.902, 'apprntPwr': 550.945, 'pwrFactor': 0.45, 'whToday': 7513.597, 'whLastSevenDays': 41513.597, 'vahToday': 9105.068, 'varhLeadToday': 6547.386, 'varhLagToday': 1165.589, 'lines': [{'wNow': 245.838, 'whLifetime': 49033.597, 'varhLeadLifetime': 46958.386, 'varhLagLifetime': 10995.589, 'vahLifetime': 73244.068, 'rmsCurrent': 2.322, 'rmsVoltage': 237.312, 'reactPwr': -364.902, 'apprntPwr': 550.945, 'pwrFactor': 0.45, 'whToday': 7513.597, 'whLastSevenDays': 41513.597, 'vahToday': 9105.068, 'varhLeadToday': 6547.386, 'varhLagToday': 1165.589}]}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'net-consumption', 'readingTime': 1698595038, 'wNow': 176.013, 'whLifetime': 34747.268, 'varhLeadLifetime': 40265.563, 'varhLagLifetime': 1681.183, 'vahLifetime': 73244.068, 'rmsCurrent': 1.922, 'rmsVoltage': 237.578, 'reactPwr': -357.609, 'apprntPwr': 455.451, 'pwrFactor': 0.42, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0, 'lines': [{'wNow': 176.013, 'whLifetime': 34747.268, 'varhLeadLifetime': 40265.563, 'varhLagLifetime': 1681.183, 'vahLifetime': 73244.068, 'rmsCurrent': 1.922, 'rmsVoltage': 237.578, 'reactPwr': -357.609, 'apprntPwr': 455.451, 'pwrFactor': 0.42, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0}]}], 'storage': [{'type': 'acb', 'activeCount': 0, 'readingTime': 0, 'wNow': 0, 'whNow': 0, 'state': 'idle'}]} [2023-10-29 16:56:15][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:56:15][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:56:16][DEBUG] : send_request_headers.started request= [2023-10-29 16:56:16][DEBUG] : send_request_headers.complete [2023-10-29 16:56:16][DEBUG] : send_request_body.started request= [2023-10-29 16:56:16][DEBUG] : send_request_body.complete [2023-10-29 16:56:16][DEBUG] : receive_response_headers.started request= [2023-10-29 16:56:16][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:57:19 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'1053'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:56:16][INFO] : HTTP Request: GET https://@IP@IP@IP@/api/v1/production/inverters "HTTP/1.1 200 OK" [2023-10-29 16:56:16][DEBUG] : receive_response_body.started request= [2023-10-29 16:56:16][DEBUG] : receive_response_body.complete [2023-10-29 16:56:16][DEBUG] : response_closed.started [2023-10-29 16:56:16][DEBUG] : response_closed.complete [2023-10-29 16:56:16][DEBUG] : Recuperation mesures onduleurs [2023-10-29 16:56:16][INFO] : Send to jeedom : [{'serialNumber': '122302018959', 'lastReportDate': 1698594924, 'devType': 1, 'lastReportWatts': 14, 'maxReportWatts': 251}, {'serialNumber': '122302009196', 'lastReportDate': 1698594926, 'devType': 1, 'lastReportWatts': 13, 'maxReportWatts': 253}, {'serialNumber': '122302008361', 'lastReportDate': 1698594927, 'devType': 1, 'lastReportWatts': 13, 'maxReportWatts': 251}, {'serialNumber': '122302018389', 'lastReportDate': 1698594931, 'devType': 1, 'lastReportWatts': 13, 'maxReportWatts': 250}, {'serialNumber': '122302009193', 'lastReportDate': 1698594932, 'devType': 1, 'lastReportWatts': 12, 'maxReportWatts': 249}, {'serialNumber': '122302017745', 'lastReportDate': 1698594934, 'devType': 1, 'lastReportWatts': 14, 'maxReportWatts': 253}, {'serialNumber': '122302013213', 'lastReportDate': 1698594938, 'devType': 1, 'lastReportWatts': 13, 'maxReportWatts': 251}] [2023-10-29 16:56:16][DEBUG] : Recuperation index [2023-10-29 16:56:16][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:56:16][DEBUG] : send_request_headers.started request= [2023-10-29 16:56:16][DEBUG] : send_request_headers.complete [2023-10-29 16:56:16][DEBUG] : send_request_body.started request= [2023-10-29 16:56:16][DEBUG] : send_request_body.complete [2023-10-29 16:56:16][DEBUG] : receive_response_headers.started request= [2023-10-29 16:56:16][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Sun, 29 Oct 2023 15:57:19 GMT'), (b'Content-Length', b'4784'), (b'Connection', b'keep-alive'), (b'Strict-Transport-Security', b'max-age=63072000; includeSubdomains'), (b'X-Frame-Options', b'DENY'), (b'X-Content-Type-Options', b'nosniff')]) [2023-10-29 16:56:16][INFO] : HTTP Request: GET https://@IP@IP@IP@/ivp/meters/readings "HTTP/1.1 200 OK" [2023-10-29 16:56:16][DEBUG] : receive_response_body.started request= [2023-10-29 16:56:16][DEBUG] : receive_response_body.complete [2023-10-29 16:56:16][DEBUG] : response_closed.started [2023-10-29 16:56:16][DEBUG] : response_closed.complete [2023-10-29 16:56:16][INFO] : Send to jeedom : [{'eid': 704643328, 'timestamp': 1698595038, 'actEnergyDlvd': 24272.103, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35426.037, 'reactEnergyLagg': 9314.409, 'reactEnergyLead': 6692.823, 'instantaneousDemand': 70.352, 'activePower': 70.352, 'apparentPower': 95.056, 'reactivePower': 6.989, 'pwrFactor': 0.714, 'voltage': 237.046, 'current': 0.399, 'freq': 50.0, 'channels': [{'eid': 1778385169, 'timestamp': 1698595038, 'actEnergyDlvd': 24272.103, 'actEnergyRcvd': 19.054, 'apparentEnergy': 35426.037, 'reactEnergyLagg': 9314.409, 'reactEnergyLead': 6692.823, 'instantaneousDemand': 70.352, 'activePower': 70.352, 'apparentPower': 95.056, 'reactivePower': 6.989, 'pwrFactor': 0.714, 'voltage': 237.046, 'current': 0.399, 'freq': 50.0}, {'eid': 1778385170, 'timestamp': 1698595038, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 66.204, 'apparentEnergy': 1.538, 'reactEnergyLagg': 9.423, 'reactEnergyLead': 0.0, 'instantaneousDemand': 0.0, 'activePower': 0.0, 'apparentPower': -0.0, 'reactivePower': -0.0, 'pwrFactor': -1.0, 'voltage': 8.468, 'current': 0.0, 'freq': 50.0}, {'eid': 1778385171, 'timestamp': 1698595038, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 189.526, 'apparentEnergy': 26.557, 'reactEnergyLagg': 9.33, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.077, 'activePower': -0.077, 'apparentPower': 0.222, 'reactivePower': 0.0, 'pwrFactor': 0.0, 'voltage': 1.882, 'current': 0.118, 'freq': 50.0}]}, {'eid': 704643584, 'timestamp': 1698595038, 'actEnergyDlvd': 34747.32, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73244.196, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40265.663, 'instantaneousDemand': 181.347, 'activePower': 181.347, 'apparentPower': 458.683, 'reactivePower': -359.0, 'pwrFactor': 0.406, 'voltage': 237.573, 'current': 1.933, 'freq': 50.0, 'channels': [{'eid': 1778385425, 'timestamp': 1698595038, 'actEnergyDlvd': 34747.32, 'actEnergyRcvd': 9985.754, 'apparentEnergy': 73244.196, 'reactEnergyLagg': 1681.183, 'reactEnergyLead': 40265.663, 'instantaneousDemand': 181.347, 'activePower': 181.347, 'apparentPower': 458.683, 'reactivePower': -359.0, 'pwrFactor': 0.406, 'voltage': 237.573, 'current': 1.933, 'freq': 50.0}, {'eid': 1778385426, 'timestamp': 1698595038, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 343.622, 'apparentEnergy': 88.093, 'reactEnergyLagg': 8.939, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.344, 'activePower': -0.344, 'apparentPower': 0.721, 'reactivePower': -0.0, 'pwrFactor': 0.0, 'voltage': 7.18, 'current': 0.101, 'freq': 50.0}, {'eid': 1778385427, 'timestamp': 1698595038, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 469.96, 'apparentEnergy': 107.311, 'reactEnergyLagg': 8.925, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.517, 'activePower': -0.517, 'apparentPower': 0.885, 'reactivePower': 0.0, 'pwrFactor': -1.0, 'voltage': 6.534, 'current': 0.135, 'freq': 50.0}]}] [2023-10-29 16:56:16][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2023-10-29 16:56:16][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0 [2023-10-29 16:56:16][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=@APIKEY@APIKEY@APIKEY@ HTTP/1.1" 200 0