[2024-06-14 09:20:50][INFO] : HTTP Request: GET https://192.168.0.111/production.json?details=1 "HTTP/1.1 200 OK" [2024-06-14 09:20:50][DEBUG] : receive_response_body.started request= [2024-06-14 09:20:50][DEBUG] : receive_response_body.complete [2024-06-14 09:20:50][DEBUG] : response_closed.started [2024-06-14 09:20:50][DEBUG] : response_closed.complete [2024-06-14 09:20:50][INFO] : Send to jeedom : {'production': [{'type': 'inverters', 'activeCount': 16, 'readingTime': 1718353123, 'wNow': 1839, 'whLifetime': 465357}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'production', 'readingTime': 1718353250, 'wNow': 1432.164, 'whLifetime': 1627369.183, 'varhLeadLifetime': 589319.87, 'varhLagLifetime': 133170.516, 'vahLifetime': 1889721.284, 'rmsCurrent': 6.628, 'rmsVoltage': 231.163, 'reactPwr': -509.447, 'apprntPwr': 1531.181, 'pwrFactor': 0.93, 'whToday': 4752.183, 'whLastSevenDays': 255476.183, 'vahToday': 6201.284, 'varhLeadToday': 1454.87, 'varhLagToday': 1610.516, 'lines': [{'wNow': 1432.164, 'whLifetime': 1627369.183, 'varhLeadLifetime': 589319.87, 'varhLagLifetime': 133170.516, 'vahLifetime': 1889721.284, 'rmsCurrent': 6.628, 'rmsVoltage': 231.163, 'reactPwr': -509.447, 'apprntPwr': 1531.181, 'pwrFactor': 0.93, 'whToday': 4752.183, 'whLastSevenDays': 255476.183, 'vahToday': 6201.284, 'varhLeadToday': 1454.87, 'varhLagToday': 1610.516}]}], 'consumption': [{'type': 'eim', 'activeCount': 1, 'measurementType': 'total-consumption', 'readingTime': 1718353250, 'wNow': 534.511, 'whLifetime': 1318985.61, 'varhLeadLifetime': -51781.143, 'varhLagLifetime': 189943.415, 'vahLifetime': 1855143.71, 'rmsCurrent': 2.655, 'rmsVoltage': 231.257, 'reactPwr': -471.455, 'apprntPwr': 613.875, 'pwrFactor': 0.87, 'whToday': 5284.61, 'whLastSevenDays': 48.61, 'vahToday': 9024.71, 'varhLeadToday': 4230.0, 'varhLagToday': 7.415, 'lines': [{'wNow': 534.511, 'whLifetime': 1318985.61, 'varhLeadLifetime': -51781.143, 'varhLagLifetime': 189943.415, 'vahLifetime': 1855143.71, 'rmsCurrent': 2.655, 'rmsVoltage': 231.257, 'reactPwr': -471.455, 'apprntPwr': 613.875, 'pwrFactor': 0.87, 'whToday': 5284.61, 'whLastSevenDays': 48.61, 'vahToday': 9024.71, 'varhLeadToday': 4230.0, 'varhLagToday': 7.415}]}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'net-consumption', 'readingTime': 1718353250, 'wNow': -897.653, 'whLifetime': -307505.321, 'varhLeadLifetime': 537538.727, 'varhLagLifetime': 323113.932, 'vahLifetime': 1855143.71, 'rmsCurrent': -3.974, 'rmsVoltage': 231.257, 'reactPwr': 37.992, 'apprntPwr': -918.941, 'pwrFactor': -1.0, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0, 'lines': [{'wNow': -897.653, 'whLifetime': -307505.321, 'varhLeadLifetime': 537538.727, 'varhLagLifetime': 323113.932, 'vahLifetime': 1855143.71, 'rmsCurrent': -3.974, 'rmsVoltage': 231.257, 'reactPwr': 37.992, 'apprntPwr': -918.941, 'pwrFactor': -1.0, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0}]}], 'storage': [{'type': 'acb', 'activeCount': 0, 'readingTime': 0, 'wNow': 0, 'whNow': 0, 'state': 'idle'}]} [2024-06-14 09:20:50][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2024-06-14 09:20:51][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=xxxxx HTTP/1.1" 200 0 [2024-06-14 09:20:51][DEBUG] : send_request_headers.started request= [2024-06-14 09:20:51][DEBUG] : send_request_headers.complete [2024-06-14 09:20:51][DEBUG] : send_request_body.started request= [2024-06-14 09:20:51][DEBUG] : send_request_body.complete [2024-06-14 09:20:51][DEBUG] : receive_response_headers.started request= [2024-06-14 09:20:53][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, 14 Jun 2024 08:20:53 GMT'), (b'Content-Type', b'application/json'), (b'Content-Length', b'2419'), (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')]) [2024-06-14 09:20:53][INFO] : HTTP Request: GET https://192.168.0.111/api/v1/production/inverters "HTTP/1.1 200 OK" [2024-06-14 09:20:53][DEBUG] : receive_response_body.started request= [2024-06-14 09:20:53][DEBUG] : receive_response_body.complete [2024-06-14 09:20:53][DEBUG] : response_closed.started [2024-06-14 09:20:53][DEBUG] : response_closed.complete [2024-06-14 09:20:53][DEBUG] : Recuperation mesures onduleurs [2024-06-14 09:20:53][INFO] : Send to jeedom : [{'serialNumber': '482345034526', 'lastReportDate': 1718352938, 'devType': 1, 'lastReportWatts': 111, 'maxReportWatts': 344}, {'serialNumber': '482345034559', 'lastReportDate': 1718352875, 'devType': 1, 'lastReportWatts': 117, 'maxReportWatts': 344}, {'serialNumber': '482345034659', 'lastReportDate': 1718352906, 'devType': 1, 'lastReportWatts': 118, 'maxReportWatts': 344}, {'serialNumber': '482345029650', 'lastReportDate': 1718352997, 'devType': 1, 'lastReportWatts': 115, 'maxReportWatts': 344}, {'serialNumber': '482345028332', 'lastReportDate': 1718352939, 'devType': 1, 'lastReportWatts': 117, 'maxReportWatts': 344}, {'serialNumber': '482345033431', 'lastReportDate': 1718352946, 'devType': 1, 'lastReportWatts': 116, 'maxReportWatts': 344}, {'serialNumber': '482345033530', 'lastReportDate': 1718352966, 'devType': 1, 'lastReportWatts': 116, 'maxReportWatts': 344}, {'serialNumber': '482345033962', 'lastReportDate': 1718352967, 'devType': 1, 'lastReportWatts': 115, 'maxReportWatts': 344}, {'serialNumber': '482345033995', 'lastReportDate': 1718352999, 'devType': 1, 'lastReportWatts': 115, 'maxReportWatts': 344}, {'serialNumber': '482345036951', 'lastReportDate': 1718353001, 'devType': 1, 'lastReportWatts': 110, 'maxReportWatts': 339}, {'serialNumber': '482345033477', 'lastReportDate': 1718353003, 'devType': 1, 'lastReportWatts': 113, 'maxReportWatts': 344}, {'serialNumber': '482345036930', 'lastReportDate': 1718353027, 'devType': 1, 'lastReportWatts': 116, 'maxReportWatts': 343}, {'serialNumber': '482345036941', 'lastReportDate': 1718353029, 'devType': 1, 'lastReportWatts': 117, 'maxReportWatts': 344}, {'serialNumber': '482345036950', 'lastReportDate': 1718353120, 'devType': 1, 'lastReportWatts': 113, 'maxReportWatts': 344}, {'serialNumber': '482345037246', 'lastReportDate': 1718353030, 'devType': 1, 'lastReportWatts': 118, 'maxReportWatts': 344}, {'serialNumber': '482345037168', 'lastReportDate': 1718352208, 'devType': 1, 'lastReportWatts': 145, 'maxReportWatts': 344}] [2024-06-14 09:20:53][DEBUG] : Recuperation index [2024-06-14 09:20:53][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2024-06-14 09:20:53][DEBUG] : send_request_headers.started request= [2024-06-14 09:20:53][DEBUG] : send_request_headers.complete [2024-06-14 09:20:53][DEBUG] : send_request_body.started request= [2024-06-14 09:20:53][DEBUG] : send_request_body.complete [2024-06-14 09:20:53][DEBUG] : receive_response_headers.started request= [2024-06-14 09:20:53][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=xxxxx HTTP/1.1" 200 0 [2024-06-14 09:20:54][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, 14 Jun 2024 08:20:54 GMT'), (b'Content-Length', b'4852'), (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')]) [2024-06-14 09:20:54][INFO] : HTTP Request: GET https://192.168.0.111/ivp/meters/readings "HTTP/1.1 200 OK" [2024-06-14 09:20:54][DEBUG] : receive_response_body.started request= [2024-06-14 09:20:54][DEBUG] : receive_response_body.complete [2024-06-14 09:20:54][DEBUG] : response_closed.started [2024-06-14 09:20:54][DEBUG] : response_closed.complete [2024-06-14 09:20:54][INFO] : Send to jeedom : [{'eid': 704643328, 'timestamp': 1718353254, 'actEnergyDlvd': 1627371.134, 'actEnergyRcvd': 554.374, 'apparentEnergy': 1889723.372, 'reactEnergyLagg': 133170.516, 'reactEnergyLead': 589320.565, 'instantaneousDemand': 1438.573, 'activePower': 1438.573, 'apparentPower': 1539.215, 'reactivePower': -512.747, 'pwrFactor': 0.929, 'voltage': 231.461, 'current': 6.653, 'freq': 50.062, 'channels': [{'eid': 1778385169, 'timestamp': 1718353254, 'actEnergyDlvd': 1627371.134, 'actEnergyRcvd': 554.374, 'apparentEnergy': 1889723.372, 'reactEnergyLagg': 133170.516, 'reactEnergyLead': 589320.565, 'instantaneousDemand': 1438.573, 'activePower': 1438.573, 'apparentPower': 1539.215, 'reactivePower': -512.747, 'pwrFactor': 0.929, 'voltage': 231.461, 'current': 6.653, 'freq': 50.062}, {'eid': 1778385170, 'timestamp': 1718353254, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 1836.058, 'apparentEnergy': 14.555, 'reactEnergyLagg': 90.716, 'reactEnergyLead': 0.0, 'instantaneousDemand': -0.0, 'activePower': -0.0, 'apparentPower': -0.0, 'reactivePower': -0.0, 'pwrFactor': -1.0, 'voltage': 6.13, 'current': 0.0, 'freq': 50.062}, {'eid': 1778385171, 'timestamp': 1718353254, 'actEnergyDlvd': 0.019, 'actEnergyRcvd': 3160.002, 'apparentEnergy': 1872.199, 'reactEnergyLagg': 90.666, 'reactEnergyLead': 2.104, 'instantaneousDemand': -0.652, 'activePower': -0.652, 'apparentPower': 1.507, 'reactivePower': 0.0, 'pwrFactor': 0.0, 'voltage': 7.14, 'current': 0.212, 'freq': 50.062}]}, {'eid': 704643584, 'timestamp': 1718353254, 'actEnergyDlvd': 556101.075, 'actEnergyRcvd': 864046.723, 'apparentEnergy': 1855144.942, 'reactEnergyLagg': 323113.984, 'reactEnergyLead': 537538.727, 'instantaneousDemand': -902.806, 'activePower': -902.806, 'apparentPower': 926.808, 'reactivePower': 41.568, 'pwrFactor': -0.976, 'voltage': 231.457, 'current': 4.005, 'freq': 50.062, 'channels': [{'eid': 1778385425, 'timestamp': 1718353254, 'actEnergyDlvd': 556101.075, 'actEnergyRcvd': 864046.723, 'apparentEnergy': 1855144.942, 'reactEnergyLagg': 323113.984, 'reactEnergyLead': 537538.727, 'instantaneousDemand': -902.806, 'activePower': -902.806, 'apparentPower': 926.808, 'reactivePower': 41.568, 'pwrFactor': -0.976, 'voltage': 231.457, 'current': 4.005, 'freq': 50.062}, {'eid': 1778385426, 'timestamp': 1718353254, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 1349.208, 'apparentEnergy': 227.797, 'reactEnergyLagg': 89.218, 'reactEnergyLead': 0.395, 'instantaneousDemand': -0.0, 'activePower': -0.0, 'apparentPower': 0.0, 'reactivePower': 0.0, 'pwrFactor': 0.0, 'voltage': 5.117, 'current': 0.0, 'freq': 50.062}, {'eid': 1778385427, 'timestamp': 1718353254, 'actEnergyDlvd': 0.0, 'actEnergyRcvd': 2399.977, 'apparentEnergy': 594.134, 'reactEnergyLagg': 89.544, 'reactEnergyLead': 0.175, 'instantaneousDemand': -0.11, 'activePower': -0.11, 'apparentPower': 0.473, 'reactivePower': -0.0, 'pwrFactor': 0.0, 'voltage': 1.934, 'current': 0.245, 'freq': 50.062}]}] [2024-06-14 09:20:54][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2024-06-14 09:20:54][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=xxxxx HTTP/1.1" 200 0 [2024-06-14 09:20:55][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False [2024-06-14 09:20:55][INFO] : Test Token [2024-06-14 09:20:55][DEBUG] : connect_tcp.started host='192.168.0.111' port=443 local_address=None timeout=5.0 socket_options=None [2024-06-14 09:20:55][DEBUG] : connect_tcp.complete return_value= [2024-06-14 09:20:55][DEBUG] : start_tls.started ssl_context= server_hostname='192.168.0.111' timeout=5.0 [2024-06-14 09:20:56][DEBUG] : start_tls.complete return_value= [2024-06-14 09:20:56][DEBUG] : send_request_headers.started request= [2024-06-14 09:20:56][DEBUG] : send_request_headers.complete [2024-06-14 09:20:56][DEBUG] : send_request_body.started request= [2024-06-14 09:20:56][DEBUG] : send_request_body.complete [2024-06-14 09:20:56][DEBUG] : receive_response_headers.started request= [2024-06-14 09:20:56][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, 14 Jun 2024 08:20:57 GMT'), (b'Content-Type', b'application/octet-stream'), (b'Content-Length', b'37'), (b'Connection', b'keep-alive'), (b'Set-Cookie', b'sessionId=gBSG08Ty4wYU5e1SacOkQJr6ao1dNv6p; 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')]) [2024-06-14 09:20:56][INFO] : HTTP Request: GET https://192.168.0.111/auth/check_jwt "HTTP/1.1 200 OK" [2024-06-14 09:20:56][DEBUG] : receive_response_body.started request= [2024-06-14 09:20:56][DEBUG] : receive_response_body.complete [2024-06-14 09:20:56][DEBUG] : response_closed.started [2024-06-14 09:20:56][DEBUG] : response_closed.complete [2024-06-14 09:20:56][INFO] : Recuperation mesures [2024-06-14 09:20:56][DEBUG] : send_request_headers.started request= [2024-06-14 09:20:56][DEBUG] : send_request_headers.complete [2024-06-14 09:20:56][DEBUG] : send_request_body.started request= [2024-06-14 09:20:56][DEBUG] : send_request_body.complete [2024-06-14 09:20:56][DEBUG] : receive_response_headers.started request= [2024-06-14 09:21:01][DEBUG] : receive_response_headers.failed exception=ReadTimeout(timeout('The read operation timed out')) [2024-06-14 09:21:01][DEBUG] : response_closed.started [2024-06-14 09:21:01][DEBUG] : response_closed.complete [2024-06-14 09:21:01][ERROR] : Erreur lors de la récupération des mesures attente de 10s pour recommmencer [2024-06-14 09:21:11][INFO] : Tentative de connexion:1 [2024-06-14 09:21:12][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False [2024-06-14 09:21:12][DEBUG] : Token Manuel, recuperation de jeedom [2024-06-14 09:21:12][INFO] : Test Token [2024-06-14 09:21:12][DEBUG] : connect_tcp.started host='192.168.0.111' port=443 local_address=None timeout=5.0 socket_options=None [2024-06-14 09:21:12][DEBUG] : connect_tcp.complete return_value= [2024-06-14 09:21:12][DEBUG] : start_tls.started ssl_context= server_hostname='192.168.0.111' timeout=5.0 [2024-06-14 09:21:14][DEBUG] : start_tls.complete return_value= [2024-06-14 09:21:14][DEBUG] : send_request_headers.started request= [2024-06-14 09:21:14][DEBUG] : send_request_headers.complete [2024-06-14 09:21:14][DEBUG] : send_request_body.started request= [2024-06-14 09:21:14][DEBUG] : send_request_body.complete [2024-06-14 09:21:14][DEBUG] : receive_response_headers.started request= [2024-06-14 09:21:19][DEBUG] : receive_response_headers.failed exception=ReadTimeout(timeout('The read operation timed out')) [2024-06-14 09:21:19][DEBUG] : response_closed.started [2024-06-14 09:21:19][DEBUG] : response_closed.complete [2024-06-14 09:21:19][INFO] : Erreur de vérification du jeton, attente de 60s pour recommmencer [2024-06-14 09:21:19][INFO] : Send to jeedom : error check [2024-06-14 09:21:19][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2024-06-14 09:21:19][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=xxxxx HTTP/1.1" 200 0 [2024-06-14 09:22:19][INFO] : Tentative de connexion:2 [2024-06-14 09:22:19][DEBUG] : Attente 120s avant reconnexion [2024-06-14 09:24:20][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False [2024-06-14 09:24:20][DEBUG] : Token Manuel, recuperation de jeedom [2024-06-14 09:24:20][INFO] : Test Token [2024-06-14 09:24:20][DEBUG] : connect_tcp.started host='192.168.0.111' port=443 local_address=None timeout=5.0 socket_options=None [2024-06-14 09:24:20][DEBUG] : connect_tcp.complete return_value= [2024-06-14 09:24:20][DEBUG] : start_tls.started ssl_context= server_hostname='192.168.0.111' timeout=5.0 [2024-06-14 09:24:25][DEBUG] : start_tls.failed exception=ConnectTimeout(timeout('_ssl.c:1039: The handshake operation timed out')) [2024-06-14 09:24:25][INFO] : Erreur de vérification du jeton, attente de 60s pour recommmencer [2024-06-14 09:24:25][INFO] : Send to jeedom : error check [2024-06-14 09:24:25][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2024-06-14 09:24:25][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=xxxxx HTTP/1.1" 200 0 [2024-06-14 09:25:25][INFO] : Renouvellement du token [2024-06-14 09:25:25][INFO] : Send to jeedom : error check bis [2024-06-14 09:25:25][ERROR] : Erreur de connexion NoneType: None [2024-06-14 09:25:25][ERROR] : Erreur de connexion [2024-06-14 09:25:25][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2024-06-14 09:25:25][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=xxxxx HTTP/1.1" 200 0 [2024-06-14 09:25:30][DEBUG] : Shutdown [2024-06-14 09:25:30][DEBUG] : Removing PID file /tmp/jeedom/enphasesecur/deamon.pid [2024-06-14 09:25:30][INFO] : Send to jeedom : error arret [2024-06-14 09:25:30][DEBUG] : Exit 0 [2024-06-14 09:30:18][INFO] : Start demond [2024-06-14 09:30:18][INFO] : Log level : debug [2024-06-14 09:30:18][DEBUG] : Socket port : 62835 [2024-06-14 09:30:18][DEBUG] : Socket host : localhost [2024-06-14 09:30:18][DEBUG] : PID file : /tmp/jeedom/enphasesecur/deamon.pid [2024-06-14 09:30:18][DEBUG] : Apikey : xxxxx [2024-06-14 09:30:18][DEBUG] : Device : auto [2024-06-14 09:30:18][DEBUG] : Callback : http://127.0.0.1:80/plugins/enphasesecur/core/php/jeeenphasesecur.php [2024-06-14 09:30:18][DEBUG] : Delais actualisation : 1 [2024-06-14 09:30:18][DEBUG] : Batterie? : non [2024-06-14 09:30:18][INFO] : Adresse IP Passerelle : 192.168.0.111 [2024-06-14 09:30:18][DEBUG] : Token: xxxxx [2024-06-14 09:30:18][INFO] : Writing PID 31864 to /tmp/jeedom/enphasesecur/deamon.pid [2024-06-14 09:30:18][INFO] : Init request module v2.31.0 [2024-06-14 09:30:18][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2024-06-14 09:30:18][DEBUG] : http://127.0.0.1:80 "GET /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=xxxxx HTTP/1.1" 200 2 [2024-06-14 09:30:19][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False [2024-06-14 09:30:19][DEBUG] : Token Manuel, recuperation de jeedom [2024-06-14 09:30:19][INFO] : Test Token [2024-06-14 09:30:19][DEBUG] : connect_tcp.started host='192.168.0.111' port=443 local_address=None timeout=5.0 socket_options=None [2024-06-14 09:30:19][DEBUG] : connect_tcp.complete return_value= [2024-06-14 09:30:19][DEBUG] : start_tls.started ssl_context= server_hostname='192.168.0.111' timeout=5.0 [2024-06-14 09:30:19][DEBUG] : start_tls.complete return_value= [2024-06-14 09:30:19][DEBUG] : send_request_headers.started request= [2024-06-14 09:30:19][DEBUG] : send_request_headers.complete [2024-06-14 09:30:19][DEBUG] : send_request_body.started request= [2024-06-14 09:30:19][DEBUG] : send_request_body.complete [2024-06-14 09:30:19][DEBUG] : receive_response_headers.started request= [2024-06-14 09:30:19][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, 14 Jun 2024 08:30:20 GMT'), (b'Content-Type', b'application/octet-stream'), (b'Content-Length', b'37'), (b'Connection', b'keep-alive'), (b'Set-Cookie', b'sessionId=gBSG08Ty4wYU5e1SacOkQJr6ao1dNv6p; 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')]) [2024-06-14 09:30:19][INFO] : HTTP Request: GET https://192.168.0.111/auth/check_jwt "HTTP/1.1 200 OK" [2024-06-14 09:30:19][DEBUG] : receive_response_body.started request= [2024-06-14 09:30:19][DEBUG] : receive_response_body.complete [2024-06-14 09:30:19][DEBUG] : response_closed.started [2024-06-14 09:30:19][DEBUG] : response_closed.complete [2024-06-14 09:30:19][DEBUG] : Recuperation Inventaire [2024-06-14 09:30:19][DEBUG] : send_request_headers.started request= [2024-06-14 09:30:19][DEBUG] : send_request_headers.complete [2024-06-14 09:30:19][DEBUG] : send_request_body.started request= [2024-06-14 09:30:19][DEBUG] : send_request_body.complete [2024-06-14 09:30:19][DEBUG] : receive_response_headers.started request= [2024-06-14 09:30:19][DEBUG] : receive_response_headers.complete return_value=(b'HTTP/1.1', 502, b'Bad Gateway', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Fri, 14 Jun 2024 08:30:20 GMT'), (b'Content-Type', b'text/html'), (b'Content-Length', b'163'), (b'Connection', b'keep-alive')]) [2024-06-14 09:30:19][INFO] : HTTP Request: GET https://192.168.0.111/inventory.json "HTTP/1.1 502 Bad Gateway" [2024-06-14 09:30:19][DEBUG] : receive_response_body.started request= [2024-06-14 09:30:19][DEBUG] : receive_response_body.complete [2024-06-14 09:30:19][DEBUG] : response_closed.started [2024-06-14 09:30:19][DEBUG] : response_closed.complete [2024-06-14 09:30:19][ERROR] : Erreur lors de la récupération de l'inventaire, attente de 10s pour recommmencer [2024-06-14 09:30:19][INFO] : Send to jeedom : error inv [2024-06-14 09:30:19][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2024-06-14 09:30:19][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=xxxxx HTTP/1.1" 200 0 [2024-06-14 09:30:29][INFO] : Tentative de connexion:1 [2024-06-14 09:30:30][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False [2024-06-14 09:30:30][DEBUG] : Token Manuel, recuperation de jeedom [2024-06-14 09:30:30][INFO] : Test Token [2024-06-14 09:30:30][DEBUG] : connect_tcp.started host='192.168.0.111' port=443 local_address=None timeout=5.0 socket_options=None [2024-06-14 09:30:30][DEBUG] : connect_tcp.failed exception=ConnectError(ConnectionRefusedError(111, 'Connection refused')) [2024-06-14 09:30:30][INFO] : Erreur de vérification du jeton, attente de 60s pour recommmencer [2024-06-14 09:30:30][INFO] : Send to jeedom : error check [2024-06-14 09:30:30][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2024-06-14 09:30:30][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=xxxxx HTTP/1.1" 200 0 [2024-06-14 09:31:30][INFO] : Tentative de connexion:2 [2024-06-14 09:31:30][DEBUG] : Attente 120s avant reconnexion [2024-06-14 09:33:31][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False [2024-06-14 09:33:31][DEBUG] : Token Manuel, recuperation de jeedom [2024-06-14 09:33:31][INFO] : Test Token [2024-06-14 09:33:31][DEBUG] : connect_tcp.started host='192.168.0.111' port=443 local_address=None timeout=5.0 socket_options=None [2024-06-14 09:33:31][DEBUG] : connect_tcp.complete return_value= [2024-06-14 09:33:31][DEBUG] : start_tls.started ssl_context= server_hostname='192.168.0.111' timeout=5.0 [2024-06-14 09:33:32][DEBUG] : start_tls.complete return_value= [2024-06-14 09:33:32][DEBUG] : send_request_headers.started request= [2024-06-14 09:33:32][DEBUG] : send_request_headers.complete [2024-06-14 09:33:32][DEBUG] : send_request_body.started request= [2024-06-14 09:33:32][DEBUG] : send_request_body.complete [2024-06-14 09:33:32][DEBUG] : receive_response_headers.started request= [2024-06-14 09:33: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, 14 Jun 2024 08:33:34 GMT'), (b'Content-Type', b'application/octet-stream'), (b'Content-Length', b'37'), (b'Connection', b'keep-alive'), (b'Set-Cookie', b'sessionId=CPMx6LrtSIuNWcD9tcyggBHBeef65Ew6; 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')]) [2024-06-14 09:33:33][INFO] : HTTP Request: GET https://192.168.0.111/auth/check_jwt "HTTP/1.1 200 OK" [2024-06-14 09:33:33][DEBUG] : receive_response_body.started request= [2024-06-14 09:33:33][DEBUG] : receive_response_body.complete [2024-06-14 09:33:33][DEBUG] : response_closed.started [2024-06-14 09:33:33][DEBUG] : response_closed.complete [2024-06-14 09:33:33][DEBUG] : Recuperation Inventaire [2024-06-14 09:33:33][DEBUG] : send_request_headers.started request= [2024-06-14 09:33:33][DEBUG] : send_request_headers.complete [2024-06-14 09:33:33][DEBUG] : send_request_body.started request= [2024-06-14 09:33:33][DEBUG] : send_request_body.complete [2024-06-14 09:33:33][DEBUG] : receive_response_headers.started request= [2024-06-14 09:33:38][DEBUG] : receive_response_headers.failed exception=ReadTimeout(timeout('The read operation timed out')) [2024-06-14 09:33:38][DEBUG] : response_closed.started [2024-06-14 09:33:38][DEBUG] : response_closed.complete [2024-06-14 09:33:38][ERROR] : Erreur lors de la récupération de l'inventaire, attente de 10s pour recommmencer [2024-06-14 09:33:38][INFO] : Send to jeedom : error inv [2024-06-14 09:33:38][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2024-06-14 09:33:38][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=xxxxx HTTP/1.1" 200 0 [2024-06-14 09:33:48][ERROR] : Erreur de connexion NoneType: None [2024-06-14 09:33:48][ERROR] : Erreur de connexion [2024-06-14 09:33:53][DEBUG] : Shutdown [2024-06-14 09:33:53][DEBUG] : Removing PID file /tmp/jeedom/enphasesecur/deamon.pid [2024-06-14 09:33:53][INFO] : Send to jeedom : error arret [2024-06-14 09:33:53][DEBUG] : Exit 0 [2024-06-14 09:35:15][INFO] : Start demond [2024-06-14 09:35:15][INFO] : Log level : debug [2024-06-14 09:35:15][DEBUG] : Socket port : 33773 [2024-06-14 09:35:15][DEBUG] : Socket host : localhost [2024-06-14 09:35:15][DEBUG] : PID file : /tmp/jeedom/enphasesecur/deamon.pid [2024-06-14 09:35:15][DEBUG] : Apikey : xxxxx [2024-06-14 09:35:15][DEBUG] : Device : auto [2024-06-14 09:35:15][DEBUG] : Callback : http://127.0.0.1:80/plugins/enphasesecur/core/php/jeeenphasesecur.php [2024-06-14 09:35:15][DEBUG] : Delais actualisation : 1 [2024-06-14 09:35:15][DEBUG] : Batterie? : non [2024-06-14 09:35:15][INFO] : Adresse IP Passerelle : 192.168.0.111 [2024-06-14 09:35:15][DEBUG] : Token: xxxxx [2024-06-14 09:35:15][INFO] : Writing PID 4654 to /tmp/jeedom/enphasesecur/deamon.pid [2024-06-14 09:35:15][INFO] : Init request module v2.31.0 [2024-06-14 09:35:15][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2024-06-14 09:35:15][DEBUG] : http://127.0.0.1:80 "GET /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=xxxxx HTTP/1.1" 200 2 [2024-06-14 09:35:16][DEBUG] : load_ssl_context verify=False cert=None trust_env=True http2=False [2024-06-14 09:35:16][DEBUG] : Token Manuel, recuperation de jeedom [2024-06-14 09:35:16][INFO] : Test Token [2024-06-14 09:35:16][DEBUG] : connect_tcp.started host='192.168.0.111' port=443 local_address=None timeout=5.0 socket_options=None [2024-06-14 09:35:16][DEBUG] : connect_tcp.complete return_value= [2024-06-14 09:35:16][DEBUG] : start_tls.started ssl_context= server_hostname='192.168.0.111' timeout=5.0 [2024-06-14 09:35:16][DEBUG] : start_tls.complete return_value= [2024-06-14 09:35:16][DEBUG] : send_request_headers.started request= [2024-06-14 09:35:16][DEBUG] : send_request_headers.complete [2024-06-14 09:35:16][DEBUG] : send_request_body.started request= [2024-06-14 09:35:16][DEBUG] : send_request_body.complete [2024-06-14 09:35:16][DEBUG] : receive_response_headers.started request= [2024-06-14 09:35: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'Fri, 14 Jun 2024 08:35:15 GMT'), (b'Content-Type', b'application/octet-stream'), (b'Content-Length', b'37'), (b'Connection', b'keep-alive'), (b'Set-Cookie', b'sessionId=CPMx6LrtSIuNWcD9tcyggBHBeef65Ew6; 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')]) [2024-06-14 09:35:16][INFO] : HTTP Request: GET https://192.168.0.111/auth/check_jwt "HTTP/1.1 200 OK" [2024-06-14 09:35:16][DEBUG] : receive_response_body.started request= [2024-06-14 09:35:16][DEBUG] : receive_response_body.complete [2024-06-14 09:35:16][DEBUG] : response_closed.started [2024-06-14 09:35:16][DEBUG] : response_closed.complete [2024-06-14 09:35:16][DEBUG] : Recuperation Inventaire [2024-06-14 09:35:16][DEBUG] : send_request_headers.started request= [2024-06-14 09:35:16][DEBUG] : send_request_headers.complete [2024-06-14 09:35:16][DEBUG] : send_request_body.started request= [2024-06-14 09:35:16][DEBUG] : send_request_body.complete [2024-06-14 09:35:16][DEBUG] : receive_response_headers.started request= [2024-06-14 09:35:17][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, 14 Jun 2024 08:35:16 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')]) [2024-06-14 09:35:17][INFO] : HTTP Request: GET https://192.168.0.111/inventory.json "HTTP/1.1 200 OK" [2024-06-14 09:35:17][DEBUG] : receive_response_body.started request= [2024-06-14 09:35:17][DEBUG] : receive_response_body.complete [2024-06-14 09:35:17][DEBUG] : response_closed.started [2024-06-14 09:35:17][DEBUG] : response_closed.complete [2024-06-14 09:35:17][INFO] : Send to jeedom : [{'type': 'PCU', 'devices': [{'part_num': '800-01395-r03', 'installed': '1713785068', 'serial_num': '482345034526', 'device_status': ['envoy.global.ok'], 'last_rpt_date': '1718354083', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785068', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627390225, 'device_control': [{'gficlearset': False}], 'producing': True, 'communicating': True, 'provisioned': True, 'operating': True}, {'part_num': '800-01395-r03', 'installed': '1713785068', 'serial_num': '482345034559', 'device_status': ['envoy.global.ok'], 'last_rpt_date': '1718354084', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785068', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627390481, 'device_control': [{'gficlearset': False}], 'producing': True, 'communicating': True, 'provisioned': True, 'operating': True}, {'part_num': '800-01395-r03', 'installed': '1713785069', 'serial_num': '482345034659', 'device_status': ['envoy.global.ok'], 'last_rpt_date': '1718354085', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785069', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627390737, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': True, 'operating': False}, {'part_num': '800-01395-r03', 'installed': '1713785069', 'serial_num': '482345029650', 'device_status': ['envoy.global.ok'], 'last_rpt_date': '1718354087', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785069', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627390993, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': True, 'operating': False}, {'part_num': '800-01395-r03', 'installed': '1713785070', 'serial_num': '482345028332', 'device_status': ['envoy.global.ok'], 'last_rpt_date': '1718354089', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785070', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627391249, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': True, 'operating': False}, {'part_num': '800-01395-r03', 'installed': '1713785070', 'serial_num': '482345033431', 'device_status': ['envoy.global.ok'], 'last_rpt_date': '1718354090', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785070', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627391505, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': True, 'operating': False}, {'part_num': '800-01395-r03', 'installed': '1713785070', 'serial_num': '482345033530', 'device_status': ['envoy.cond_flags.pcu_ctrl.pwrgenoffbycmd'], 'last_rpt_date': '1718354093', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785070', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627391761, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': True, 'operating': False}, {'part_num': '800-01395-r03', 'installed': '1713785071', 'serial_num': '482345033962', 'device_status': ['envoy.cond_flags.pcu_ctrl.pwrgenoffbycmd'], 'last_rpt_date': '1718354096', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785071', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627392017, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': True, 'operating': False}, {'part_num': '800-01395-r03', 'installed': '1713785072', 'serial_num': '482345033995', 'device_status': ['envoy.cond_flags.pcu_ctrl.pwrgenoffbycmd'], 'last_rpt_date': '1718354097', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785072', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627392273, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': False, 'operating': False}, {'part_num': '800-01395-r03', 'installed': '1713785072', 'serial_num': '482345036951', 'device_status': ['envoy.cond_flags.pcu_ctrl.pwrgenoffbycmd'], 'last_rpt_date': '1718354099', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785072', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627392529, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': False, 'operating': False}, {'part_num': '800-01395-r03', 'installed': '1713785072', 'serial_num': '482345033477', 'device_status': ['envoy.cond_flags.pcu_ctrl.pwrgenoffbycmd'], 'last_rpt_date': '1718354101', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785072', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627392785, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': False, 'operating': False}, {'part_num': '800-01395-r03', 'installed': '1713785072', 'serial_num': '482345036930', 'device_status': ['envoy.cond_flags.pcu_ctrl.pwrgenoffbycmd'], 'last_rpt_date': '1718354103', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785072', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627393041, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': False, 'operating': False}, {'part_num': '800-01395-r03', 'installed': '1713785073', 'serial_num': '482345036941', 'device_status': ['envoy.cond_flags.pcu_ctrl.pwrgenoffbycmd'], 'last_rpt_date': '1718354104', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785073', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627393297, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': False, 'operating': False}, {'part_num': '800-01395-r03', 'installed': '1713785073', 'serial_num': '482345036950', 'device_status': ['envoy.cond_flags.pcu_ctrl.pwrgenoffbycmd'], 'last_rpt_date': '1718354107', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785073', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627393553, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': False, 'operating': False}, {'part_num': '800-01395-r03', 'installed': '1713785073', 'serial_num': '482345037246', 'device_status': ['envoy.cond_flags.pcu_ctrl.pwrgenoffbycmd'], 'last_rpt_date': '1718354109', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785073', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627393809, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': False, 'operating': False}, {'part_num': '800-01395-r03', 'installed': '1713785075', 'serial_num': '482345037168', 'device_status': ['envoy.cond_flags.pcu_ctrl.pwrgenoffbycmd'], 'last_rpt_date': '1718354112', 'admin_state': 2, 'dev_type': 1, 'created_date': '1713785075', 'img_load_date': '0', 'img_pnum_running': '521-00005-r06-v08.05.02', 'ptpn': '549-00071-r01-v08.05.01', 'chaneid': 1627394065, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': False, 'operating': False}]}, {'type': 'ACB', 'devices': []}, {'type': 'NSRB', 'devices': [{'part_num': '800-00598-r04', 'installed': '1713785083', 'serial_num': '122327011836', 'device_status': ['envoy.global.ok'], 'last_rpt_date': '1718354114', 'admin_state': 2, 'dev_type': 12, 'created_date': '1713785083', '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': False, 'operating': True, 'relay': 'closed', 'reason_code': -1, 'reason': 'ok', 'line-count': 1, 'line1-connected': True, 'line2-connected': False, 'line3-connected': False}, {'part_num': '800-00598-r04', 'installed': '1713785083', 'serial_num': '122327012624', 'device_status': ['envoy.global.ok'], 'last_rpt_date': '1718354023', 'admin_state': 2, 'dev_type': 12, 'created_date': '1713785083', 'img_load_date': '1522376696', 'img_pnum_running': '520-00086-r01-v02.12.07', 'ptpn': 'undetermined', 'chaneid': 1811939857, 'device_control': [{'gficlearset': False}], 'producing': False, 'communicating': True, 'provisioned': False, 'operating': True, 'relay': 'closed', 'reason_code': -1, 'reason': 'ok', 'line-count': 1, 'line1-connected': False, 'line2-connected': False, 'line3-connected': False}]}, {'type': 'ESUB', 'devices': []}] [2024-06-14 09:35:17][DEBUG] : Attente de 5s [2024-06-14 09:35:17][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2024-06-14 09:35:20][DEBUG] : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=xxxx HTTP/1.1" 200 0 [2024-06-14 09:35:22][INFO] : Recuperation mesures [2024-06-14 09:35:22][DEBUG] : close.started [2024-06-14 09:35:22][DEBUG] : close.complete [2024-06-14 09:35:22][DEBUG] : connect_tcp.started host='192.168.0.111' port=443 local_address=None timeout=5.0 socket_options=None [2024-06-14 09:35:22][DEBUG] : connect_tcp.complete return_value= [2024-06-14 09:35:22][DEBUG] : start_tls.started ssl_context= server_hostname='192.168.0.111' timeout=5.0 [2024-06-14 09:35:22][DEBUG] : start_tls.complete return_value= [2024-06-14 09:35:22][DEBUG] : send_request_headers.started request= [2024-06-14 09:35:22][DEBUG] : send_request_headers.complete [2024-06-14 09:35:22][DEBUG] : send_request_body.started request= [2024-06-14 09:35:22][DEBUG] : send_request_body.complete [2024-06-14 09:35:22][DEBUG] : receive_response_headers.started request= [2024-06-14 09:35:23][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, 14 Jun 2024 08:35:23 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')]) [2024-06-14 09:35:23][INFO] : HTTP Request: GET https://192.168.0.111/production.json?details=1 "HTTP/1.1 200 OK" [2024-06-14 09:35:23][DEBUG] : receive_response_body.started request= [2024-06-14 09:35:23][DEBUG] : receive_response_body.complete [2024-06-14 09:35:23][DEBUG] : response_closed.started [2024-06-14 09:35:23][DEBUG] : response_closed.complete [2024-06-14 09:35:23][INFO] : Send to jeedom : {'production': [{'type': 'inverters', 'activeCount': 16, 'readingTime': 1718354122, 'wNow': 71, 'whLifetime': 465385}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'production', 'readingTime': 1718354123, 'wNow': 857.266, 'whLifetime': 1627424.369, 'varhLeadLifetime': 589338.38, 'varhLagLifetime': 133198.608, 'vahLifetime': 1889807.915, 'rmsCurrent': 3.881, 'rmsVoltage': 228.917, 'reactPwr': -179.233, 'apprntPwr': 882.026, 'pwrFactor': 0.97, 'whToday': 1627424.369, 'whLastSevenDays': 1627424.369, 'vahToday': 1889807.915, 'varhLeadToday': 589338.38, 'varhLagToday': 133198.608, 'lines': [{'wNow': 857.266, 'whLifetime': 1627424.369, 'varhLeadLifetime': 589338.38, 'varhLagLifetime': 133198.608, 'vahLifetime': 1889807.915, 'rmsCurrent': 3.881, 'rmsVoltage': 228.917, 'reactPwr': -179.233, 'apprntPwr': 882.026, 'pwrFactor': 0.97, 'whToday': 1627424.369, 'whLastSevenDays': 1627424.369, 'vahToday': 1889807.915, 'varhLeadToday': 589338.38, 'varhLagToday': 133198.608}]}], 'consumption': [{'type': 'eim', 'activeCount': 1, 'measurementType': 'total-consumption', 'readingTime': 1718354123, 'wNow': 500.356, 'whLifetime': 1319077.126, 'varhLeadLifetime': -51709.527, 'varhLagLifetime': 189915.759, 'vahLifetime': 1855296.984, 'rmsCurrent': 1.326, 'rmsVoltage': 228.838, 'reactPwr': -574.256, 'apprntPwr': 303.508, 'pwrFactor': 1.0, 'whToday': 1319077.126, 'whLastSevenDays': 1319077.126, 'vahToday': 1855296.984, 'varhLeadToday': 0.0, 'varhLagToday': 189915.759, 'lines': [{'wNow': 500.356, 'whLifetime': 1319077.126, 'varhLeadLifetime': -51709.527, 'varhLagLifetime': 189915.759, 'vahLifetime': 1855296.984, 'rmsCurrent': 1.326, 'rmsVoltage': 228.838, 'reactPwr': -574.256, 'apprntPwr': 303.508, 'pwrFactor': 1.0, 'whToday': 1319077.126, 'whLastSevenDays': 1319077.126, 'vahToday': 1855296.984, 'varhLeadToday': 0.0, 'varhLagToday': 189915.759}]}, {'type': 'eim', 'activeCount': 1, 'measurementType': 'net-consumption', 'readingTime': 1718354123, 'wNow': -356.91, 'whLifetime': -307468.991, 'varhLeadLifetime': 537628.852, 'varhLagLifetime': 323114.367, 'vahLifetime': 1855296.984, 'rmsCurrent': -2.555, 'rmsVoltage': 228.838, 'reactPwr': -395.023, 'apprntPwr': -584.638, 'pwrFactor': -1.0, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0, 'lines': [{'wNow': -356.91, 'whLifetime': -307468.991, 'varhLeadLifetime': 537628.852, 'varhLagLifetime': 323114.367, 'vahLifetime': 1855296.984, 'rmsCurrent': -2.555, 'rmsVoltage': 228.838, 'reactPwr': -395.023, 'apprntPwr': -584.638, 'pwrFactor': -1.0, 'whToday': 0, 'whLastSevenDays': 0, 'vahToday': 0, 'varhLeadToday': 0, 'varhLagToday': 0}]}], 'storage': [{'type': 'acb', 'activeCount': 0, 'readingTime': 0, 'wNow': 0, 'whNow': 0, 'state': 'idle'}]}