Salut
Ci dessous le log
cordialement
[2023-08-18 06:47:28][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'Fri, 18 Aug 2023 06:47:55 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-08-18 06:47:28][INFO] : HTTP Request: GET https://192.168.0.70/inventory.json "HTTP/1.1 200 OK"
[2023-08-18 06:47:28][DEBUG] : receive_response_body.started request=<Request [b'GET']>
[2023-08-18 06:47:28][DEBUG] : receive_response_body.complete
[2023-08-18 06:47:28][DEBUG] : response_closed.started
[2023-08-18 06:47:28][DEBUG] : response_closed.complete
[2023-08-18 06:47:28][INFO] : Send to jeedom : [{'type': 'PCU', 'devices': [{'part_num': '800-01736-r02', 'installed': '1670094034', 'serial_num': '482236085960', 'device_status': ['envoy.global.ok'], 'last_rpt_date': '1692340970', 'admin_state': 2, 'dev_type': 1, 'created_date': '1670094034', 'img_load_date': '1613405093', 'img_pnum_running': '520-00082-r01-v04.27.04', 'ptpn': '540-00135-r01-v04.27.10', 'chaneid': 1627390225, 'device_control': [{'gficlearset': False}], 'producing': True, 'communicating': True, 'provisioned': True, 'operating': True}, {'part_num': '800-01736-r02', 'installed': '1670094034', 'serial_num': '482236085940', 'device_status': ['envoy.global.ok'], 'last_rpt_date': '1692341030', 'admin_state': 2, 'dev_type': 1, 'created_date': '1670094034', 'img_load_date': '1613405093', 'img_pnum_running': '520-00082-r01-v04.27.04', 'ptpn': '540-00135-r01-v04.27.10', 'chaneid': 1627390481, 'device_control': [{'gficlearset': False}], 'producing': True, 'communicating': True, 'provisioned': True, 'operating': True}, {'part_num': '800-01736-r02', 'installed': '1670094035', 'serial_num': '482236085744', 'device_status': ['envoy.global.ok'], 'last_rpt_date': '1692341061', 'admin_state': 2, 'dev_type': 1, 'created_date': '1670094035', 'img_load_date': '1613405093', 'img_pnum_running': '520-00082-r01-v04.27.04', 'ptpn': '540-00135-r01-v04.27.10', 'chaneid': 1627390737, 'device_control': [{'gficlearset': False}], 'producing': True, 'communicating': True, 'provisioned': True, 'operating': True}, {'part_num': '800-01736-r02', 'installed': '1670094035', 'serial_num': '482236085917', 'device_status': ['envoy.global.ok'], 'last_rpt_date': '1692341090', 'admin_state': 2, 'dev_type': 1, 'created_date': '1670094035', 'img_load_date': '1613405093', 'img_pnum_running': '520-00082-r01-v04.27.04', 'ptpn': '540-00135-r01-v04.27.10', 'chaneid': 1627390993, 'device_control': [{'gficlearset': False}], 'producing': True, 'communicating': True, 'provisioned': True, 'operating': True}]}, {'type': 'ACB', 'devices': []}, {'type': 'NSRB', 'devices': [{'part_num': '800-00598-r04', 'installed': '1670088923', 'serial_num': '122232095000', 'device_status': ['envoy.global.ok'], 'last_rpt_date': '1692341120', 'admin_state': 1, 'dev_type': 12, 'created_date': '1670088923', 'img_load_date': '1522376696', 'img_pnum_running': '520-00086-r01-v02.12.07', 'ptpn': '540-00139-r01-v02.12.00', 'chaneid': 1811939601, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': True, 'operating': True, 'relay': 'closed', 'reason_code': -1, 'reason': 'ok', 'line-count': 1, 'line1-connected': True, 'line2-connected': False, 'line3-connected': False}]}, {'type': 'ESUB', 'devices': []}]
[2023-08-18 06:47:28][DEBUG] : Attente de 5s
[2023-08-18 06:47:28][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2023-08-18 06:47:28][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=wPOBA1ZSV7978gH64XBIsNsAiMuhcqS7xHOmMCNT6RlZ42LrEsUZyNEfxV8UpDeM HTTP/1.1" 200 0
[2023-08-18 06:47:33][INFO] : Recuperation mesures
[2023-08-18 06:47:33][DEBUG] : close.started
[2023-08-18 06:47:33][DEBUG] : close.complete
[2023-08-18 06:47:33][DEBUG] : connect_tcp.started host='192.168.0.70' port=443 local_address=None timeout=5.0 socket_options=None
[2023-08-18 06:47:33][DEBUG] : connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0xffffba0907b8>
[2023-08-18 06:47:33][DEBUG] : start_tls.started ssl_context=<ssl.SSLContext object at 0xffffb984a048> server_hostname='192.168.0.70' timeout=5.0
[2023-08-18 06:47:33][DEBUG] : start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0xffffb98500b8>
[2023-08-18 06:47:33][DEBUG] : send_request_headers.started request=<Request [b'GET']>
[2023-08-18 06:47:33][DEBUG] : send_request_headers.complete
[2023-08-18 06:47:33][DEBUG] : send_request_body.started request=<Request [b'GET']>
[2023-08-18 06:47:33][DEBUG] : send_request_body.complete
[2023-08-18 06:47:33][DEBUG] : receive_response_headers.started request=<Request [b'GET']>
[2023-08-18 06:47:33][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'Fri, 18 Aug 2023 06:48:00 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-08-18 06:47:33][INFO] : HTTP Request: GET https://192.168.0.70/production.json?details=1 "HTTP/1.1 200 OK"
[2023-08-18 06:47:33][DEBUG] : receive_response_body.started request=<Request [b'GET']>
[2023-08-18 06:47:33][DEBUG] : receive_response_body.complete
[2023-08-18 06:47:33][DEBUG] : response_closed.started
[2023-08-18 06:47:33][DEBUG] : response_closed.complete
[2023-08-18 06:47:33][INFO] : Send to jeedom : {'production': [{'type': 'inverters', 'activeCount': 4, 'readingTime': 1692341120, 'wNow': 121, 'whLifetime': 1157093}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'production', 'readingTime': 1692341280, 'wNow': 144.421, 'whLifetime': 1162068.902, 'varhLeadLifetime': 1150.104, 'varhLagLifetime': 452708.759, 'vahLifetime': 1483759.221, 'rmsCurrent': 0.885, 'rmsVoltage': 235.402, 'reactPwr': 65.066, 'apprntPwr': 207.29, 'pwrFactor': 0.66, 'whToday': 123.902, 'whLastSevenDays': 36030.902, 'vahToday': 645.221, 'varhLeadToday': 0.104, 'varhLagToday': 572.759, 'lines': [{'wNow': 144.421, 'whLifetime': 1162068.902, 'varhLeadLifetime': 1150.104, 'varhLagLifetime': 452708.759, 'vahLifetime': 1483759.221, 'rmsCurrent': 0.885, 'rmsVoltage': 235.402, 'reactPwr': 65.066, 'apprntPwr': 207.29, 'pwrFactor': 0.66, 'whToday': 123.902, 'whLastSevenDays': 36030.902, 'vahToday': 645.221, 'varhLeadToday': 0.104, 'varhLagToday': 572.759}]}], 'consumption': [{'type': 'eim', 'activeCount': 1, 'measurementType': 'total-consumption', 'readingTime': 1692341280, 'wNow': 457.658, 'whLifetime': 5745511.504, 'varhLeadLifetime': 3939022.152, 'varhLagLifetime': -452422.44, 'vahLifetime': 7011552.459, 'rmsCurrent': 4.438, 'rmsVoltage': 235.322, 'reactPwr': -640.414, 'apprntPwr': 1044.398, 'pwrFactor': 0.44, 'whToday': 2722.504, 'whLastSevenDays': 29.504, 'vahToday': 6774.459, 'varhLeadToday': 5839.152, 'varhLagToday': 0.0, 'lines': [{'wNow': 457.658, 'whLifetime': 5745511.504, 'varhLeadLifetime': 3939022.152, 'varhLagLifetime': -452422.44, 'vahLifetime': 7011552.459, 'rmsCurrent': 4.438, 'rmsVoltage': 235.322, 'reactPwr': -640.414, 'apprntPwr': 1044.398, 'pwrFactor': 0.44, 'whToday': 2722.504, 'whLastSevenDays': 29.504, 'vahToday': 6774.459, 'varhLeadToday': 5839.152, 'varhLagToday': 0.0}]}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'net-consumption', 'readingTime': 1692341280, 'wNow': 313.236, 'whLifetime': 4583757.572, 'varhLeadLifetime': 3940172.256, 'varhLagLifetime': 286.319, 'vahLifetime': 7011552.459, 'rmsCurrent': 3.553, 'rmsVoltage': 235.322, 'reactPwr': -705.48, 'apprntPwr': 836.093, 'pwrFactor': 0.37, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0, 'lines': [{'wNow': 313.236, 'whLifetime': 4583757.572, 'varhLeadLifetime': 3940172.256, 'varhLagLifetime': 286.319, 'vahLifetime': 7011552.459, 'rmsCurrent': 3.553, 'rmsVoltage': 235.322, 'reactPwr': -705.48, 'apprntPwr': 836.093, 'pwrFactor': 0.37, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0}]}], 'storage': [{'type': 'acb', 'activeCount': 0, 'readingTime': 0, 'wNow': 0, 'whNow': 0, 'state': 'idle'}]}
[2023-08-18 06:47:33][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2023-08-18 06:47:34][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=wPOBA1ZSV7978gH64XBIsNsAiMuhcqS7xHOmMCNT6RlZ42LrEsUZyNEfxV8UpDeM HTTP/1.1" 200 0
[2023-08-18 06:47:34][DEBUG] : send_request_headers.started request=<Request [b'GET']>
[2023-08-18 06:47:34][DEBUG] : send_request_headers.complete
[2023-08-18 06:47:34][DEBUG] : send_request_body.started request=<Request [b'GET']>
[2023-08-18 06:47:34][DEBUG] : send_request_body.complete
[2023-08-18 06:47:34][DEBUG] : receive_response_headers.started request=<Request [b'GET']>
[2023-08-18 06:47:34][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'Fri, 18 Aug 2023 06:48:02 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'603'), (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-08-18 06:47:34][INFO] : HTTP Request: GET https://192.168.0.70/api/v1/production/inverters "HTTP/1.1 200 OK"
[2023-08-18 06:47:34][DEBUG] : receive_response_body.started request=<Request [b'GET']>
[2023-08-18 06:47:34][DEBUG] : receive_response_body.complete
[2023-08-18 06:47:34][DEBUG] : response_closed.started
[2023-08-18 06:47:34][DEBUG] : response_closed.complete
[2023-08-18 06:47:35][DEBUG] : Recuperation mesures onduleurs2
[2023-08-18 06:47:35][INFO] : Send to jeedom : [{'serialNumber': '482236085960', 'lastReportDate': 1692340968, 'devType': 1, 'lastReportWatts': 30, 'maxReportWatts': 255}, {'serialNumber': '482236085940', 'lastReportDate': 1692341028, 'devType': 1, 'lastReportWatts': 31, 'maxReportWatts': 259}, {'serialNumber': '482236085744', 'lastReportDate': 1692341059, 'devType': 1, 'lastReportWatts': 30, 'maxReportWatts': 296}, {'serialNumber': '482236085917', 'lastReportDate': 1692341089, 'devType': 1, 'lastReportWatts': 30, 'maxReportWatts': 296}]
[2023-08-18 06:47:35][DEBUG] : Recuperation index
[2023-08-18 06:47:35][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2023-08-18 06:47:35][DEBUG] : send_request_headers.started request=<Request [b'GET']>
[2023-08-18 06:47:35][DEBUG] : send_request_headers.complete
[2023-08-18 06:47:35][DEBUG] : send_request_body.started request=<Request [b'GET']>
[2023-08-18 06:47:35][DEBUG] : send_request_body.complete
[2023-08-18 06:47:35][DEBUG] : receive_response_headers.started request=<Request [b'GET']>
[2023-08-18 06:47:35][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=wPOBA1ZSV7978gH64XBIsNsAiMuhcqS7xHOmMCNT6RlZ42LrEsUZyNEfxV8UpDeM HTTP/1.1" 200 0
[2023-08-18 06:47:35][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'Fri, 18 Aug 2023 06:48:02 GMT'), (b'Content-Length', b'4843'), (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-08-18 06:47:35][INFO] : HTTP Request: GET https://192.168.0.70/ivp/meters/readings "HTTP/1.1 200 OK"
[2023-08-18 06:47:35][DEBUG] : receive_response_body.started request=<Request [b'GET']>
[2023-08-18 06:47:35][DEBUG] : receive_response_body.complete
[2023-08-18 06:47:35][DEBUG] : response_closed.started
[2023-08-18 06:47:35][DEBUG] : response_closed.complete
[2023-08-18 06:47:35][INFO] : Send to jeedom : [{'eid': 704643328, 'timestamp': 1692341281, 'actEnergyDlvd': 1162068.946, 'actEnergyRcvd': 16375.349, 'apparentEnergy': 1483759.284, 'reactEnergyLagg': 452708.78, 'reactEnergyLead': 1150.104, 'instantaneousDemand': 144.725, 'activePower': 144.725, 'apparentPower': 206.796, 'reactivePower': 64.935, 'pwrFactor': 0.765, 'voltage': 235.439, 'current': 0.857, 'freq': 50.0, 'channels': [{'eid': 1778385169, 'timestamp': 1692341281, 'actEnergyDlvd': 1162068.946, 'actEnergyRcvd': 16375.349, 'apparentEnergy': 1483759.284, 'reactEnergyLagg': 452708.78, 'reactEnergyLead': 1150.104, 'instantaneousDemand': 144.725, 'activePower': 144.725, 'apparentPower': 206.796, 'reactivePower': 64.935, 'pwrFactor': 0.765, 'voltage': 235.439, 'current': 0.857, 'freq': 50.0}, {'eid': 1778385170, 'timestamp': 1692341281, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 7624.359, 'apparentEnergy': 1107.763, 'reactEnergyLagg': 474.271, 'reactEnergyLead': 0.063, 'instantaneousDemand': -0.042, 'activePower': -0.042, 'apparentPower': 0.187, 'reactivePower': -0.0, 'pwrFactor': 0.0, 'voltage': 2.659, 'current': 0.07, 'freq': 50.0}, {'eid': 1778385171, 'timestamp': 1692341281, 'actEnergyDlvd': 0.001, 'actEnergyRcvd': 15677.968, 'apparentEnergy': 3477.516, 'reactEnergyLagg': 475.422, 'reactEnergyLead': 0.389, 'instantaneousDemand': -0.231, 'activePower': -0.231, 'apparentPower': 0.575, 'reactivePower': -0.0, 'pwrFactor': 0.0, 'voltage': 4.203, 'current': 0.137, 'freq': 50.0}]}, {'eid': 704643584, 'timestamp': 1692341281, 'actEnergyDlvd': 4729021.416, 'actEnergyRcvd': 145421.233, 'apparentEnergy': 7011552.714, 'reactEnergyLagg': 286.319, 'reactEnergyLead': 3940172.472, 'instantaneousDemand': 311.231, 'activePower': 311.231, 'apparentPower': 835.38, 'reactivePower': -706.869, 'pwrFactor': 0.386, 'voltage': 235.366, 'current': 3.543, 'freq': 50.0, 'channels': [{'eid': 1778385425, 'timestamp': 1692341281, 'actEnergyDlvd': 4729021.416, 'actEnergyRcvd': 145421.233, 'apparentEnergy': 7011552.714, 'reactEnergyLagg': 286.319, 'reactEnergyLead': 3940172.472, 'instantaneousDemand': 311.231, 'activePower': 311.231, 'apparentPower': 835.38, 'reactivePower': -706.869, 'pwrFactor': 0.386, 'voltage': 235.366, 'current': 3.543, 'freq': 50.0}, {'eid': 1778385426, 'timestamp': 1692341281, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 5089.918, 'apparentEnergy': 32.953, 'reactEnergyLagg': 440.1, 'reactEnergyLead': 0.33, 'instantaneousDemand': 0.0, 'activePower': 0.0, 'apparentPower': 0.0, 'reactivePower': 0.0, 'pwrFactor': 0.0, 'voltage': 3.804, 'current': 0.0, 'freq': 50.0}, {'eid': 1778385427, 'timestamp': 1692341281, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 11526.799, 'apparentEnergy': 16.782, 'reactEnergyLagg': 446.429, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.0, 'activePower': -0.0, 'apparentPower': -0.0, 'reactivePower': 0.0, 'pwrFactor': -1.0, 'voltage': 0.861, 'current': -0.0, 'freq': 50.0}]}]
[2023-08-18 06:47:35][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2023-08-18 06:47:35][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=wPOBA1ZSV7978gH64XBIsNsAiMuhcqS7xHOmMCNT6RlZ42LrEsUZyNEfxV8UpDeM HTTP/1.1" 200 0
[2023-08-18 06:47:50][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False
[2023-08-18 06:47:50][INFO] : Test Token
[2023-08-18 06:47:50][DEBUG] : connect_tcp.started host='192.168.0.70' port=443 local_address=None timeout=5.0 socket_options=None
[2023-08-18 06:47:50][DEBUG] : connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0xffffba0a06a0>
[2023-08-18 06:47:50][DEBUG] : start_tls.started ssl_context=<ssl.SSLContext object at 0xffffba103e18> server_hostname='192.168.0.70' timeout=5.0
[2023-08-18 06:47:50][DEBUG] : start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0xffffba0a0ac8>
[2023-08-18 06:47:50][DEBUG] : send_request_headers.started request=<Request [b'GET']>
[2023-08-18 06:47:50][DEBUG] : send_request_headers.complete
[2023-08-18 06:47:50][DEBUG] : send_request_body.started request=<Request [b'GET']>
[2023-08-18 06:47:50][DEBUG] : send_request_body.complete
[2023-08-18 06:47:50][DEBUG] : receive_response_headers.started request=<Request [b'GET']>
[2023-08-18 06:47:50][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'Fri, 18 Aug 2023 06:48:17 GMT'), (b'Content-Type', b'application/octet-stream'), (b'Content-Length', b'37'), (b'Connection', b'keep-alive'), (b'Set-Cookie', b'sessionId=6jPS4esFdDwYpX4gcX95RMRb0qosjc4G; 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-08-18 06:47:50][INFO] : HTTP Request: GET https://192.168.0.70/auth/check_jwt "HTTP/1.1 200 OK"
[2023-08-18 06:47:50][DEBUG] : receive_response_body.started request=<Request [b'GET']>
[2023-08-18 06:47:50][DEBUG] : receive_response_body.complete
[2023-08-18 06:47:50][DEBUG] : response_closed.started
[2023-08-18 06:47:50][DEBUG] : response_closed.complete
[2023-08-18 06:47:50][INFO] : Recuperation mesures
[2023-08-18 06:47:50][DEBUG] : send_request_headers.started request=<Request [b'GET']>
[2023-08-18 06:47:50][DEBUG] : send_request_headers.complete
[2023-08-18 06:47:50][DEBUG] : send_request_body.started request=<Request [b'GET']>
[2023-08-18 06:47:50][DEBUG] : send_request_body.complete
[2023-08-18 06:47:50][DEBUG] : receive_response_headers.started request=<Request [b'GET']>
[2023-08-18 06:47:50][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'Fri, 18 Aug 2023 06:48:17 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-08-18 06:47:50][INFO] : HTTP Request: GET https://192.168.0.70/production.json?details=1 "HTTP/1.1 200 OK"
[2023-08-18 06:47:50][DEBUG] : receive_response_body.started request=<Request [b'GET']>
[2023-08-18 06:47:50][DEBUG] : receive_response_body.complete
[2023-08-18 06:47:50][DEBUG] : response_closed.started
[2023-08-18 06:47:50][DEBUG] : response_closed.complete
[2023-08-18 06:47:50][INFO] : Send to jeedom : {'production': [{'type': 'inverters', 'activeCount': 4, 'readingTime': 1692341120, 'wNow': 121, 'whLifetime': 1157093}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'production', 'readingTime': 1692341297, 'wNow': 144.638, 'whLifetime': 1162069.588, 'varhLeadLifetime': 1150.104, 'varhLagLifetime': 452709.071, 'vahLifetime': 1483760.211, 'rmsCurrent': 0.847, 'rmsVoltage': 235.317, 'reactPwr': 64.879, 'apprntPwr': 204.385, 'pwrFactor': 0.78, 'whToday': 124.588, 'whLastSevenDays': 36031.588, 'vahToday': 646.211, 'varhLeadToday': 0.104, 'varhLagToday': 573.071, 'lines': [{'wNow': 144.638, 'whLifetime': 1162069.588, 'varhLeadLifetime': 1150.104, 'varhLagLifetime': 452709.071, 'vahLifetime': 1483760.211, 'rmsCurrent': 0.847, 'rmsVoltage': 235.317, 'reactPwr': 64.879, 'apprntPwr': 204.385, 'pwrFactor': 0.78, 'whToday': 124.588, 'whLastSevenDays': 36031.588, 'vahToday': 646.211, 'varhLeadToday': 0.104, 'varhLagToday': 573.071}]}], 'consumption': [{'type': 'eim', 'activeCount': 1, 'measurementType': 'total-consumption', 'readingTime': 1692341297, 'wNow': 515.23, 'whLifetime': 5745513.695, 'varhLeadLifetime': 3939025.521, 'varhLagLifetime': -452422.751, 'vahLifetime': 7011556.478, 'rmsCurrent': 4.543, 'rmsVoltage': 235.449, 'reactPwr': -646.696, 'apprntPwr': 1069.616, 'pwrFactor': 0.48, 'whToday': 2724.695, 'whLastSevenDays': 31.695, 'vahToday': 6778.478, 'varhLeadToday': 5842.521, 'varhLagToday': 0.0, 'lines': [{'wNow': 515.23, 'whLifetime': 5745513.695, 'varhLeadLifetime': 3939025.521, 'varhLagLifetime': -452422.751, 'vahLifetime': 7011556.478, 'rmsCurrent': 4.543, 'rmsVoltage': 235.449, 'reactPwr': -646.696, 'apprntPwr': 1069.616, 'pwrFactor': 0.48, 'whToday': 2724.695, 'whLastSevenDays': 31.695, 'vahToday': 6778.478, 'varhLeadToday': 5842.521, 'varhLagToday': 0.0}]}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'net-consumption', 'readingTime': 1692341297, 'wNow': 370.591, 'whLifetime': 4583759.077, 'varhLeadLifetime': 3940175.625, 'varhLagLifetime': 286.319, 'vahLifetime': 7011556.478, 'rmsCurrent': 3.696, 'rmsVoltage': 235.449, 'reactPwr': -711.576, 'apprntPwr': 870.107, 'pwrFactor': 0.43, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0, 'lines': [{'wNow': 370.591, 'whLifetime': 4583759.077, 'varhLeadLifetime': 3940175.625, 'varhLagLifetime': 286.319, 'vahLifetime': 7011556.478, 'rmsCurrent': 3.696, 'rmsVoltage': 235.449, 'reactPwr': -711.576, 'apprntPwr': 870.107, 'pwrFactor': 0.43, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0}]}], 'storage': [{'type': 'acb', 'activeCount': 0, 'readingTime': 0, 'wNow': 0, 'whNow': 0, 'state': 'idle'}]}
[2023-08-18 06:47:50][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2023-08-18 06:47:50][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=wPOBA1ZSV7978gH64XBIsNsAiMuhcqS7xHOmMCNT6RlZ42LrEsUZyNEfxV8UpDeM HTTP/1.1" 200 0
[2023-08-18 06:47:51][DEBUG] : send_request_headers.started request=<Request [b'GET']>
[2023-08-18 06:47:51][DEBUG] : send_request_headers.complete
[2023-08-18 06:47:51][DEBUG] : send_request_body.started request=<Request [b'GET']>
[2023-08-18 06:47:51][DEBUG] : send_request_body.complete
[2023-08-18 06:47:51][DEBUG] : receive_response_headers.started request=<Request [b'GET']>
[2023-08-18 06:47:51][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'Fri, 18 Aug 2023 06:48:18 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'603'), (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-08-18 06:47:51][INFO] : HTTP Request: GET https://192.168.0.70/api/v1/production/inverters "HTTP/1.1 200 OK"
[2023-08-18 06:47:51][DEBUG] : receive_response_body.started request=<Request [b'GET']>
[2023-08-18 06:47:51][DEBUG] : receive_response_body.complete
[2023-08-18 06:47:51][DEBUG] : response_closed.started
[2023-08-18 06:47:51][DEBUG] : response_closed.complete
[2023-08-18 06:47:51][DEBUG] : Recuperation mesures onduleurs
[2023-08-18 06:47:51][INFO] : Send to jeedom : [{'serialNumber': '482236085960', 'lastReportDate': 1692340968, 'devType': 1, 'lastReportWatts': 30, 'maxReportWatts': 255}, {'serialNumber': '482236085940', 'lastReportDate': 1692341028, 'devType': 1, 'lastReportWatts': 31, 'maxReportWatts': 259}, {'serialNumber': '482236085744', 'lastReportDate': 1692341059, 'devType': 1, 'lastReportWatts': 30, 'maxReportWatts': 296}, {'serialNumber': '482236085917', 'lastReportDate': 1692341089, 'devType': 1, 'lastReportWatts': 30, 'maxReportWatts': 296}]
[2023-08-18 06:47:51][DEBUG] : Recuperation index
[2023-08-18 06:47:51][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2023-08-18 06:47:51][DEBUG] : send_request_headers.started request=<Request [b'GET']>
[2023-08-18 06:47:51][DEBUG] : send_request_headers.complete
[2023-08-18 06:47:51][DEBUG] : send_request_body.started request=<Request [b'GET']>
[2023-08-18 06:47:51][DEBUG] : send_request_body.complete
[2023-08-18 06:47:51][DEBUG] : receive_response_headers.started request=<Request [b'GET']>
[2023-08-18 06:47:51][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=wPOBA1ZSV7978gH64XBIsNsAiMuhcqS7xHOmMCNT6RlZ42LrEsUZyNEfxV8UpDeM HTTP/1.1" 200 0
[2023-08-18 06:47:51][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'Fri, 18 Aug 2023 06:48:18 GMT'), (b'Content-Length', b'4842'), (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-08-18 06:47:51][INFO] : HTTP Request: GET https://192.168.0.70/ivp/meters/readings "HTTP/1.1 200 OK"
[2023-08-18 06:47:51][DEBUG] : receive_response_body.started request=<Request [b'GET']>
[2023-08-18 06:47:51][DEBUG] : receive_response_body.complete
[2023-08-18 06:47:51][DEBUG] : response_closed.started
[2023-08-18 06:47:51][DEBUG] : response_closed.complete
[2023-08-18 06:47:51][INFO] : Send to jeedom : [{'eid': 704643328, 'timestamp': 1692341298, 'actEnergyDlvd': 1162069.627, 'actEnergyRcvd': 16375.349, 'apparentEnergy': 1483760.273, 'reactEnergyLagg': 452709.089, 'reactEnergyLead': 1150.104, 'instantaneousDemand': 143.189, 'activePower': 143.189, 'apparentPower': 208.225, 'reactivePower': 64.274, 'pwrFactor': 0.741, 'voltage': 235.412, 'current': 0.904, 'freq': 50.0, 'channels': [{'eid': 1778385169, 'timestamp': 1692341298, 'actEnergyDlvd': 1162069.627, 'actEnergyRcvd': 16375.349, 'apparentEnergy': 1483760.273, 'reactEnergyLagg': 452709.089, 'reactEnergyLead': 1150.104, 'instantaneousDemand': 143.189, 'activePower': 143.189, 'apparentPower': 208.225, 'reactivePower': 64.274, 'pwrFactor': 0.741, 'voltage': 235.412, 'current': 0.904, 'freq': 50.0}, {'eid': 1778385170, 'timestamp': 1692341298, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 7624.365, 'apparentEnergy': 1107.765, 'reactEnergyLagg': 474.271, 'reactEnergyLead': 0.063, 'instantaneousDemand': -0.043, 'activePower': -0.043, 'apparentPower': 0.183, 'reactivePower': -0.0, 'pwrFactor': 0.0, 'voltage': 2.658, 'current': 0.068, 'freq': 50.0}, {'eid': 1778385171, 'timestamp': 1692341298, 'actEnergyDlvd': 0.001, 'actEnergyRcvd': 15677.981, 'apparentEnergy': 3477.519, 'reactEnergyLagg': 475.422, 'reactEnergyLead': 0.389, 'instantaneousDemand': -0.244, 'activePower': -0.244, 'apparentPower': 0.562, 'reactivePower': -0.0, 'pwrFactor': 0.0, 'voltage': 4.203, 'current': 0.133, 'freq': 50.0}]}, {'eid': 704643584, 'timestamp': 1692341298, 'actEnergyDlvd': 4729022.91, 'actEnergyRcvd': 145421.233, 'apparentEnergy': 7011556.712, 'reactEnergyLagg': 286.319, 'reactEnergyLead': 3940175.824, 'instantaneousDemand': 336.578, 'activePower': 336.578, 'apparentPower': 858.967, 'reactivePower': -707.542, 'pwrFactor': 0.368, 'voltage': 235.547, 'current': 3.695, 'freq': 50.062, 'channels': [{'eid': 1778385425, 'timestamp': 1692341298, 'actEnergyDlvd': 4729022.91, 'actEnergyRcvd': 145421.233, 'apparentEnergy': 7011556.712, 'reactEnergyLagg': 286.319, 'reactEnergyLead': 3940175.824, 'instantaneousDemand': 336.578, 'activePower': 336.578, 'apparentPower': 858.967, 'reactivePower': -707.542, 'pwrFactor': 0.368, 'voltage': 235.547, 'current': 3.695, 'freq': 50.062}, {'eid': 1778385426, 'timestamp': 1692341298, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 5089.923, 'apparentEnergy': 32.953, 'reactEnergyLagg': 440.1, 'reactEnergyLead': 0.33, 'instantaneousDemand': 0.0, 'activePower': 0.0, 'apparentPower': 0.0, 'reactivePower': 0.0, 'pwrFactor': 0.0, 'voltage': 3.804, 'current': 0.0, 'freq': 50.062}, {'eid': 1778385427, 'timestamp': 1692341298, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 11526.808, 'apparentEnergy': 16.782, 'reactEnergyLagg': 446.429, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.0, 'activePower': -0.0, 'apparentPower': -0.0, 'reactivePower': 0.0, 'pwrFactor': 0.0, 'voltage': 0.861, 'current': -0.0, 'freq': 50.062}]}]
[2023-08-18 06:47:51][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2023-08-18 06:47:51][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=wPOBA1ZSV7978gH64XBIsNsAiMuhcqS7xHOmMCNT6RlZ42LrEsUZyNEfxV8UpDeM HTTP/1.1" 200 0
[2023-08-18 06:48:05][DEBUG] : Signal 15 caught, exiting...
[2023-08-18 06:48:05][DEBUG] : Shutdown
[2023-08-18 06:48:05][DEBUG] : Removing PID file /tmp/jeedom/enphasesecur/deamon.pid
[2023-08-18 06:48:05][INFO] : Send to jeedom : error arret
[2023-08-18 06:48:05][DEBUG] : Exit 0
[2023-08-18 06:48:09][INFO] : Start demond
[2023-08-18 06:48:09][INFO] : Log level : debug
[2023-08-18 06:48:09][DEBUG] : Socket port : 10592
[2023-08-18 06:48:09][DEBUG] : Socket host : localhost
[2023-08-18 06:48:09][DEBUG] : PID file : /tmp/jeedom/enphasesecur/deamon.pid
[2023-08-18 06:48:09][DEBUG] : Apikey : wPOBA1ZSV7978gH64XBIsNsAiMuhcqS7xHOmMCNT6RlZ42LrEsUZyNEfxV8UpDeM
[2023-08-18 06:48:09][DEBUG] : Device : auto
[2023-08-18 06:48:09][DEBUG] : Callback : http://127.0.0.1:80/plugins/enphasesecur/core/php/jeeenphasesecur.php
[2023-08-18 06:48:09][DEBUG] : Delais actualisation : 15
[2023-08-18 06:48:09][INFO] : Adresse IP Passerelle : 192.168.0.70
[2023-08-18 06:48:09][DEBUG] : User : *********
[2023-08-18 06:48:09][DEBUG] : Password : ************* %scream%enphase
[2023-08-18 06:48:09][DEBUG] : Numero de serie : 122239084064
[2023-08-18 06:48:09][INFO] : Writing PID 31525 to /tmp/jeedom/enphasesecur/deamon.pid
[2023-08-18 06:48:09][INFO] : Init request module v2.31.0
[2023-08-18 06:48:09][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2023-08-18 06:48:09][DEBUG] : http://127.0.0.1:80 "GET /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=wPOBA1ZSV7978gH64XBIsNsAiMuhcqS7xHOmMCNT6RlZ42LrEsUZyNEfxV8UpDeM HTTP/1.1" 200 2
log_daemon.txt (176,9 Ko)