[2023-07-05 21:03:39]INFO : Start demond
[2023-07-05 21:03:39]INFO : Log level : debug
[2023-07-05 21:03:39]DEBUG : Socket port : 57970
[2023-07-05 21:03:39]DEBUG : Socket host : localhost
[2023-07-05 21:03:39]DEBUG : PID file : /tmp/jeedom/enphasesecur/deamon.pid
[2023-07-05 21:03:39]DEBUG : Apikey : ###########
[2023-07-05 21:03:39]DEBUG : Device : auto
[2023-07-05 21:03:39]DEBUG : Callback : http://127.0.0.1:80/plugins/enphasesecur/core/php/jeeenphasesecur.php
[2023-07-05 21:03:39]DEBUG : Delais actualisation : 60
[2023-07-05 21:03:39]INFO : Adresse IP Passerelle : 192.168.123.210
[2023-07-05 21:03:39]DEBUG : User : ########
[2023-07-05 21:03:39]DEBUG : Password : ############
[2023-07-05 21:03:39]DEBUG : Numero de serie : 122246006599
[2023-07-05 21:03:39]INFO : Writing PID 589481 to /tmp/jeedom/enphasesecur/deamon.pid
[2023-07-05 21:03:39]INFO : Init request module v2.31.0
[2023-07-05 21:03:39]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2023-07-05 21:03:39]DEBUG : http://127.0.0.1:80 « GET /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=########### HTTP/1.1 » 200 2
[2023-07-05 21:04:39]DEBUG : load_ssl_context verify=False cert=None trust_env=True http2=False
[2023-07-05 21:04:39]INFO : Recuperation token
[2023-07-05 21:04:39]DEBUG : Starting new HTTPS connection (1): enlighten.enphaseenergy.com:443
[2023-07-05 21:04:43]DEBUG : https://enlighten.enphaseenergy.com:443 « POST /login/login.json HTTP/1.1 » 200 None
[2023-07-05 21:04:43]DEBUG : Starting new HTTPS connection (1): entrez.enphaseenergy.com:443
[2023-07-05 21:04:44]DEBUG : https://entrez.enphaseenergy.com:443 « POST /tokens HTTP/1.1 » 200 None
[2023-07-05 21:04:44]DEBUG : eyJraWQiOiI3ZDEwMDA1ZC03ODk5LTRkMGQtYmNiNC0yNDRmOThlZTE1NmIiLCJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJhdWQiOiIxMjIyNDYwMDY1OTkiLCJpc3MiOiJFbnRyZXoiLCJlbnBoYXNlVXNlciI6Im93bmVyIiwiZXhwIjoxNzIwMTE5ODg0LCJpYXQiOjE2ODg1ODM4ODQsImp0aSI6IjAwNTE0MGM5LTY4YmMtNDIxYS1iMjgzLWRiNmQ0N2Y3ZmUzNiIsInVzZXJuYW1lIjoiYmVuamFtaW5fbWljaG90QG91dGxvb2suZnIifQ.1HzBdb8JoUsL5oMTDbynB7nIWI1R41FqQgnbdPmjklsWtFhHQ4yvAL-E9ovm_Zvkw_ISeAreJIr020J1Kx2aEw
[2023-07-05 21:04:44]INFO : Test Token
[2023-07-05 21:04:44]DEBUG : connect_tcp.started host=‹ 192.168.123.210 › port=443 local_address=None timeout=5.0 socket_options=None
[2023-07-05 21:04:44]DEBUG : connect_tcp.complete return_value=
[2023-07-05 21:04:44]DEBUG : start_tls.started ssl_context= server_hostname=‹ 192.168.123.210 › timeout=5.0
[2023-07-05 21:04:44]DEBUG : start_tls.complete return_value=
[2023-07-05 21:04:44]DEBUG : send_request_headers.started request=
[2023-07-05 21:04:44]DEBUG : send_request_headers.complete
[2023-07-05 21:04:44]DEBUG : send_request_body.started request=
[2023-07-05 21:04:44]DEBUG : send_request_body.complete
[2023-07-05 21:04:44]DEBUG : receive_response_headers.started request=
[2023-07-05 21:04:44]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’Wed, 05 Jul 2023 19:05:06 GMT’), (b’Content-Type’, b’application/octet-stream’), (b’Content-Length’, b’37’), (b’Connection’, b’keep-alive’), (b’Set-Cookie’, b’sessionId=SI97Kx9SZfNuY7QUfaEjQUxZhE6OlZ43; 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-07-05 21:04:44]INFO : HTTP Request: GET https://192.168.123.210/auth/check_jwt « HTTP/1.1 200 OK »
[2023-07-05 21:04:44]DEBUG : receive_response_body.started request=
[2023-07-05 21:04:44]DEBUG : receive_response_body.complete
[2023-07-05 21:04:44]DEBUG : response_closed.started
[2023-07-05 21:04:44]DEBUG : response_closed.complete
[2023-07-05 21:04:44]DEBUG : Recuperation Inventaire
[2023-07-05 21:04:44]DEBUG : send_request_headers.started request=
[2023-07-05 21:04:44]DEBUG : send_request_headers.complete
[2023-07-05 21:04:44]DEBUG : send_request_body.started request=
[2023-07-05 21:04:44]DEBUG : send_request_body.complete
[2023-07-05 21:04:44]DEBUG : receive_response_headers.started request=
[2023-07-05 21:04:45]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’Wed, 05 Jul 2023 19:05:07 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-07-05 21:04:45]INFO : HTTP Request: GET https://192.168.123.210/inventory.json « HTTP/1.1 200 OK »
[2023-07-05 21:04:45]DEBUG : receive_response_body.started request=
[2023-07-05 21:04:45]DEBUG : receive_response_body.complete
[2023-07-05 21:04:45]DEBUG : response_closed.started
[2023-07-05 21:04:45]DEBUG : response_closed.complete
[2023-07-05 21:04:45]INFO : Send to jeedom : [{‹ type ›: ‹ PCU ›, ‹ devices ›: [{‹ part_num ›: ‹ 800-00631-r02 ›, ‹ installed ›: ‹ 1676211103 ›, ‹ serial_num ›: ‹ 482235103742 ›, ‹ device_status ›: [‹ envoy.global.ok ›], ‹ last_rpt_date ›: ‹ 1688583832 ›, ‹ admin_state ›: 1, ‹ dev_type ›: 1, ‹ created_date ›: ‹ 1676211103 ›, ‹ img_load_date ›: ‹ 1686634531 ›, ‹ img_pnum_running ›: ‹ 520-00082-r01-v04.30.23 ›, ‹ ptpn ›: ‹ 540-00135-r01-v04.30.07 ›, ‹ chaneid ›: 1627390225, ‹ device_control ›: [{‹ gficlearset ›: False}], ‹ producing ›: True, ‹ communicating ›: True, ‹ provisioned ›: True, ‹ operating ›: True}, {‹ part_num ›: ‹ 800-00631-r02 ›, ‹ installed ›: ‹ 1676211107 ›, ‹ serial_num ›: ‹ 482235103534 ›, ‹ device_status ›: [‹ envoy.global.ok ›], ‹ last_rpt_date ›: ‹ 1688583742 ›, ‹ admin_state ›: 1, ‹ dev_type ›: 1, ‹ created_date ›: ‹ 1676211107 ›, ‹ img_load_date ›: ‹ 1686634531 ›, ‹ img_pnum_running ›: ‹ 520-00082-r01-v04.30.23 ›, ‹ ptpn ›: ‹ 540-00135-r01-v04.30.07 ›, ‹ chaneid ›: 1627390481, ‹ device_control ›: [{‹ gficlearset ›: False}], ‹ producing ›: True, ‹ communicating ›: True, ‹ provisioned ›: True, ‹ operating ›: True}, {‹ part_num ›: ‹ 800-00631-r02 ›, ‹ installed ›: ‹ 1676211111 ›, ‹ serial_num ›: ‹ 482235103744 ›, ‹ device_status ›: [‹ envoy.global.ok ›], ‹ last_rpt_date ›: ‹ 1688583081 ›, ‹ admin_state ›: 1, ‹ dev_type ›: 1, ‹ created_date ›: ‹ 1676211111 ›, ‹ img_load_date ›: ‹ 1686634531 ›, ‹ img_pnum_running ›: ‹ 520-00082-r01-v04.30.23 ›, ‹ ptpn ›: ‹ 540-00135-r01-v04.30.07 ›, ‹ chaneid ›: 1627390737, ‹ device_control ›: [{‹ gficlearset ›: False}], ‹ producing ›: True, ‹ communicating ›: True, ‹ provisioned ›: True, ‹ operating ›: True}, {‹ part_num ›: ‹ 800-00631-r02 ›, ‹ installed ›: ‹ 1676211119 ›, ‹ serial_num ›: ‹ 482235103494 ›, ‹ device_status ›: [‹ envoy.global.ok ›], ‹ last_rpt_date ›: ‹ 1688583111 ›, ‹ admin_state ›: 1, ‹ dev_type ›: 1, ‹ created_date ›: ‹ 1676211119 ›, ‹ img_load_date ›: ‹ 1686634531 ›, ‹ img_pnum_running ›: ‹ 520-00082-r01-v04.30.23 ›, ‹ ptpn ›: ‹ 540-00135-r01-v04.30.07 ›, ‹ chaneid ›: 1627390993, ‹ device_control ›: [{‹ gficlearset ›: False}], ‹ producing ›: True, ‹ communicating ›: True, ‹ provisioned ›: True, ‹ operating ›: True}, {‹ part_num ›: ‹ 800-00631-r02 ›, ‹ installed ›: ‹ 1676211128 ›, ‹ serial_num ›: ‹ 482235103694 ›, ‹ device_status ›: [‹ envoy.global.ok ›], ‹ last_rpt_date ›: ‹ 1688583141 ›, ‹ admin_state ›: 1, ‹ dev_type ›: 1, ‹ created_date ›: ‹ 1676211128 ›, ‹ img_load_date ›: ‹ 1686634531 ›, ‹ img_pnum_running ›: ‹ 520-00082-r01-v04.30.23 ›, ‹ ptpn ›: ‹ 540-00135-r01-v04.30.07 ›, ‹ chaneid ›: 1627391249, ‹ device_control ›: [{‹ gficlearset ›: False}], ‹ producing ›: True, ‹ communicating ›: True, ‹ provisioned ›: True, ‹ operating ›: True}, {‹ part_num ›: ‹ 800-00631-r02 ›, ‹ installed ›: ‹ 1676211131 ›, ‹ serial_num ›: ‹ 482235103652 ›, ‹ device_status ›: [‹ envoy.global.ok ›], ‹ last_rpt_date ›: ‹ 1688583171 ›, ‹ admin_state ›: 1, ‹ dev_type ›: 1, ‹ created_date ›: ‹ 1676211131 ›, ‹ img_load_date ›: ‹ 1686634531 ›, ‹ img_pnum_running ›: ‹ 520-00082-r01-v04.30.23 ›, ‹ ptpn ›: ‹ 540-00135-r01-v04.30.07 ›, ‹ chaneid ›: 1627391505, ‹ device_control ›: [{‹ gficlearset ›: False}], ‹ producing ›: True, ‹ communicating ›: True, ‹ provisioned ›: True, ‹ operating ›: True}, {‹ part_num ›: ‹ 800-00631-r02 ›, ‹ installed ›: ‹ 1676211136 ›, ‹ serial_num ›: ‹ 482235103855 ›, ‹ device_status ›: [‹ envoy.global.ok ›], ‹ last_rpt_date ›: ‹ 1688583743 ›, ‹ admin_state ›: 1, ‹ dev_type ›: 1, ‹ created_date ›: ‹ 1676211136 ›, ‹ img_load_date ›: ‹ 1686634531 ›, ‹ img_pnum_running ›: ‹ 520-00082-r01-v04.30.23 ›, ‹ ptpn ›: ‹ 540-00135-r01-v04.30.07 ›, ‹ chaneid ›: 1627391761, ‹ device_control ›: [{‹ gficlearset ›: False}], ‹ producing ›: True, ‹ communicating ›: True, ‹ provisioned ›: True, ‹ operating ›: True}, {‹ part_num ›: ‹ 800-00631-r02 ›, ‹ installed ›: ‹ 1676211139 ›, ‹ serial_num ›: ‹ 482235103002 ›, ‹ device_status ›: [‹ envoy.global.ok ›], ‹ last_rpt_date ›: ‹ 1688583201 ›, ‹ admin_state ›: 1, ‹ dev_type ›: 1, ‹ created_date ›: ‹ 1676211139 ›, ‹ img_load_date ›: ‹ 1686634531 ›, ‹ img_pnum_running ›: ‹ 520-00082-r01-v04.30.23 ›, ‹ ptpn ›: ‹ 540-00135-r01-v04.30.07 ›, ‹ chaneid ›: 1627392017, ‹ device_control ›: [{‹ gficlearset ›: False}], ‹ producing ›: True, ‹ communicating ›: True, ‹ provisioned ›: True, ‹ operating ›: True}]}, {‹ type ›: ‹ ACB ›, ‹ devices ›: }, {‹ type ›: ‹ NSRB ›, ‹ devices ›: [{‹ part_num ›: ‹ 800-00598-r04 ›, ‹ installed ›: ‹ 1676211115 ›, ‹ serial_num ›: ‹ 122233065923 ›, ‹ device_status ›: [‹ envoy.global.ok ›], ‹ last_rpt_date ›: ‹ 1688583231 ›, ‹ admin_state ›: 1, ‹ dev_type ›: 12, ‹ created_date ›: ‹ 1676211115 ›, ‹ 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}, {‹ part_num ›: ‹ 800-00598-r04 ›, ‹ installed ›: ‹ 1685450208 ›, ‹ serial_num ›: ‹ 122245029626 ›, ‹ device_status ›: [‹ envoy.global.ok ›], ‹ last_rpt_date ›: ‹ 1688583351 ›, ‹ admin_state ›: 1, ‹ dev_type ›: 12, ‹ created_date ›: ‹ 1685450208 ›, ‹ img_load_date ›: ‹ 1522376696 ›, ‹ img_pnum_running ›: ‹ 520-00086-r01-v02.12.07 ›, ‹ ptpn ›: ‹ 540-00139-r01-v02.12.00 ›, ‹ chaneid ›: 1811939857, ‹ 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-07-05 21:04:45]DEBUG : Attente de 5s
[2023-07-05 21:04:45]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2023-07-05 21:04:45]DEBUG : http://127.0.0.1:80 « POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=########## HTTP/1.1 » 200 0
[2023-07-05 21:04:50]INFO : Recuperation mesures
[2023-07-05 21:04:50]DEBUG : close.started
[2023-07-05 21:04:50]DEBUG : close.complete
[2023-07-05 21:04:50]DEBUG : connect_tcp.started host=‹ 192.168.123.210 › port=443 local_address=None timeout=5.0 socket_options=None
[2023-07-05 21:04:50]DEBUG : connect_tcp.complete return_value=
[2023-07-05 21:04:50]DEBUG : start_tls.started ssl_context= server_hostname=‹ 192.168.123.210 › timeout=5.0
[2023-07-05 21:04:50]DEBUG : start_tls.complete return_value=
[2023-07-05 21:04:50]DEBUG : send_request_headers.started request=
[2023-07-05 21:04:50]DEBUG : send_request_headers.complete
[2023-07-05 21:04:50]DEBUG : send_request_body.started request=
[2023-07-05 21:04:50]DEBUG : send_request_body.complete
[2023-07-05 21:04:50]DEBUG : receive_response_headers.started request=
[2023-07-05 21:04: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’Wed, 05 Jul 2023 19:05:13 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-07-05 21:04:51]INFO : HTTP Request: GET https://192.168.123.210/production.json?details=1 « HTTP/1.1 200 OK »
[2023-07-05 21:04:51]DEBUG : receive_response_body.started request=
[2023-07-05 21:04:51]DEBUG : receive_response_body.complete
[2023-07-05 21:04:51]DEBUG : response_closed.started
[2023-07-05 21:04:51]DEBUG : response_closed.complete
[2023-07-05 21:04:51]INFO : Send to jeedom : {‹ production ›: [{‹ type ›: ‹ inverters ›, ‹ activeCount ›: 8, ‹ readingTime ›: 1688583831, ‹ wNow ›: 108, ‹ whLifetime ›: 84973}, {‹ type ›: ‹ eim ›, ‹ activeCount ›: 1, ‹ measurementType ›: ‹ production ›, ‹ readingTime ›: 1688583912, ‹ wNow ›: 122.748, ‹ whLifetime ›: 1309067.088, ‹ varhLeadLifetime ›: 0.188, ‹ varhLagLifetime ›: 422421.718, ‹ vahLifetime ›: 1581105.932, ‹ rmsCurrent ›: 0.865, ‹ rmsVoltage ›: 239.687, ‹ reactPwr ›: 127.396, ‹ apprntPwr ›: 209.156, ‹ pwrFactor ›: 0.61, ‹ whToday ›: 10307.088, ‹ whLastSevenDays ›: 94831.088, ‹ vahToday ›: 11755.932, ‹ varhLeadToday ›: 0.188, ‹ varhLagToday ›: 2560.718, ‹ lines ›: [{‹ wNow ›: 122.748, ‹ whLifetime ›: 1309067.088, ‹ varhLeadLifetime ›: 0.188, ‹ varhLagLifetime ›: 422421.718, ‹ vahLifetime ›: 1581105.932, ‹ rmsCurrent ›: 0.865, ‹ rmsVoltage ›: 239.687, ‹ reactPwr ›: 127.396, ‹ apprntPwr ›: 209.156, ‹ pwrFactor ›: 0.61, ‹ whToday ›: 10307.088, ‹ whLastSevenDays ›: 94831.088, ‹ vahToday ›: 11755.932, ‹ varhLeadToday ›: 0.188, ‹ varhLagToday ›: 2560.718}]}], ‹ consumption ›: [{‹ type ›: ‹ eim ›, ‹ activeCount ›: 1, ‹ measurementType ›: ‹ total-consumption ›, ‹ readingTime ›: 1688583912, ‹ wNow ›: 127.253, ‹ whLifetime ›: 1941329.636, ‹ varhLeadLifetime ›: 2190889.317, ‹ varhLagLifetime ›: -422207.257, ‹ vahLifetime ›: 3238017.542, ‹ rmsCurrent ›: 4.064, ‹ rmsVoltage ›: 239.829, ‹ reactPwr ›: -606.729, ‹ apprntPwr ›: 974.687, ‹ pwrFactor ›: 0.13, ‹ whToday ›: 12643.636, ‹ whLastSevenDays ›: 10.636, ‹ vahToday ›: 17033.542, ‹ varhLeadToday ›: 14284.317, ‹ varhLagToday ›: 0.0, ‹ lines ›: [{‹ wNow ›: 127.253, ‹ whLifetime ›: 1941329.636, ‹ varhLeadLifetime ›: 2190889.317, ‹ varhLagLifetime ›: -422207.257, ‹ vahLifetime ›: 3238017.542, ‹ rmsCurrent ›: 4.064, ‹ rmsVoltage ›: 239.829, ‹ reactPwr ›: -606.729, ‹ apprntPwr ›: 974.687, ‹ pwrFactor ›: 0.13, ‹ whToday ›: 12643.636, ‹ whLastSevenDays ›: 10.636, ‹ vahToday ›: 17033.542, ‹ varhLeadToday ›: 14284.317, ‹ varhLagToday ›: 0.0}]}, {‹ type ›: ‹ eim ›, ‹ activeCount ›: 1, ‹ measurementType ›: ‹ net-consumption ›, ‹ readingTime ›: 1688583912, ‹ wNow ›: 4.505, ‹ whLifetime ›: 633302.052, ‹ varhLeadLifetime ›: 2190889.505, ‹ varhLagLifetime ›: 214.46, ‹ vahLifetime ›: 3238017.542, ‹ rmsCurrent ›: 3.199, ‹ rmsVoltage ›: 239.829, ‹ reactPwr ›: -734.125, ‹ apprntPwr ›: 767.208, ‹ pwrFactor ›: 0.01, ‹ whToday ›: 0, ‹ whLastSevenDays ›: 0, ‹ vahToday ›: 0, ‹ varhLeadToday ›: 0, ‹ varhLagToday ›: 0, ‹ lines ›: [{‹ wNow ›: 4.505, ‹ whLifetime ›: 633302.052, ‹ varhLeadLifetime ›: 2190889.505, ‹ varhLagLifetime ›: 214.46, ‹ vahLifetime ›: 3238017.542, ‹ rmsCurrent ›: 3.199, ‹ rmsVoltage ›: 239.829, ‹ reactPwr ›: -734.125, ‹ apprntPwr ›: 767.208, ‹ pwrFactor ›: 0.01, ‹ whToday ›: 0, ‹ whLastSevenDays ›: 0, ‹ vahToday ›: 0, ‹ varhLeadToday ›: 0, ‹ varhLagToday ›: 0}]}], ‹ storage ›: [{‹ type ›: ‹ acb ›, ‹ activeCount ›: 0, ‹ readingTime ›: 0, ‹ wNow ›: 0, ‹ whNow ›: 0, ‹ state ›: ‹ idle ›}]}
[2023-07-05 21:04:51]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2023-07-05 21:04:51]DEBUG : http://127.0.0.1:80 « POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=########### HTTP/1.1 » 200 0
[2023-07-05 21:04:52]DEBUG : Recuperation mesures onduleurs
[2023-07-05 21:04:52]DEBUG : send_request_headers.started request=
[2023-07-05 21:04:52]DEBUG : send_request_headers.complete
[2023-07-05 21:04:52]DEBUG : send_request_body.started request=
[2023-07-05 21:04:52]DEBUG : send_request_body.complete
[2023-07-05 21:04:52]DEBUG : receive_response_headers.started request=
[2023-07-05 21:04:52]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’Wed, 05 Jul 2023 19:05:14 GMT’), (b’Content-Type’, b’application/json’), (b’Content-Length’, b’1203’), (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-07-05 21:04:52]INFO : HTTP Request: GET https://192.168.123.210/api/v1/production/inverters « HTTP/1.1 200 OK »
[2023-07-05 21:04:52]DEBUG : receive_response_body.started request=
[2023-07-05 21:04:52]DEBUG : receive_response_body.complete
[2023-07-05 21:04:52]DEBUG : response_closed.started
[2023-07-05 21:04:52]DEBUG : response_closed.complete
[2023-07-05 21:04:52]INFO : Send to jeedom : [{‹ serialNumber ›: ‹ 482235103742 ›, ‹ lastReportDate ›: 1688583831, ‹ devType ›: 1, ‹ lastReportWatts ›: 13, ‹ maxReportWatts ›: 295}, {‹ serialNumber ›: ‹ 482235103534 ›, ‹ lastReportDate ›: 1688583740, ‹ devType ›: 1, ‹ lastReportWatts ›: 14, ‹ maxReportWatts ›: 296}, {‹ serialNumber ›: ‹ 482235103744 ›, ‹ lastReportDate ›: 1688583081, ‹ devType ›: 1, ‹ lastReportWatts ›: 13, ‹ maxReportWatts ›: 296}, {‹ serialNumber ›: ‹ 482235103494 ›, ‹ lastReportDate ›: 1688583110, ‹ devType ›: 1, ‹ lastReportWatts ›: 14, ‹ maxReportWatts ›: 296}, {‹ serialNumber ›: ‹ 482235103694 ›, ‹ lastReportDate ›: 1688583140, ‹ devType ›: 1, ‹ lastReportWatts ›: 13, ‹ maxReportWatts ›: 296}, {‹ serialNumber ›: ‹ 482235103652 ›, ‹ lastReportDate ›: 1688583171, ‹ devType ›: 1, ‹ lastReportWatts ›: 13, ‹ maxReportWatts ›: 296}, {‹ serialNumber ›: ‹ 482235103855 ›, ‹ lastReportDate ›: 1688583742, ‹ devType ›: 1, ‹ lastReportWatts ›: 14, ‹ maxReportWatts ›: 296}, {‹ serialNumber ›: ‹ 482235103002 ›, ‹ lastReportDate ›: 1688583200, ‹ devType ›: 1, ‹ lastReportWatts ›: 14, ‹ maxReportWatts ›: 296}]
[2023-07-05 21:04:52]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2023-07-05 21:04:52]DEBUG : http://127.0.0.1:80 « POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=############ HTTP/1.1 » 200 0
[2023-07-05 21:05:52]DEBUG : load_ssl_context verify=False cert=None trust_env=True http2=False
[2023-07-05 21:05:52]INFO : Test Token
[2023-07-05 21:05:52]DEBUG : connect_tcp.started host=‹ 192.168.123.210 › port=443 local_address=None timeout=5.0 socket_options=None
[2023-07-05 21:05:52]DEBUG : connect_tcp.complete return_value=
[2023-07-05 21:05:52]DEBUG : start_tls.started ssl_context= server_hostname=‹ 192.168.123.210 › timeout=5.0
[2023-07-05 21:05:52]DEBUG : start_tls.complete return_value=
[2023-07-05 21:05:52]DEBUG : send_request_headers.started request=
[2023-07-05 21:05:52]DEBUG : send_request_headers.complete
[2023-07-05 21:05:52]DEBUG : send_request_body.started request=
[2023-07-05 21:05:52]DEBUG : send_request_body.complete
[2023-07-05 21:05:52]DEBUG : receive_response_headers.started request=
[2023-07-05 21:05:52]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’Wed, 05 Jul 2023 19:06:14 GMT’), (b’Content-Type’, b’application/octet-stream’), (b’Content-Length’, b’37’), (b’Connection’, b’keep-alive’), (b’Set-Cookie’, b’sessionId=SI97Kx9SZfNuY7QUfaEjQUxZhE6OlZ43; 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-07-05 21:05:52]INFO : HTTP Request: GET https://192.168.123.210/auth/check_jwt « HTTP/1.1 200 OK »
[2023-07-05 21:05:52]DEBUG : receive_response_body.started request=
[2023-07-05 21:05:52]DEBUG : receive_response_body.complete
[2023-07-05 21:05:52]DEBUG : response_closed.started
[2023-07-05 21:05:52]DEBUG : response_closed.complete
[2023-07-05 21:05:52]INFO : Recuperation mesures
[2023-07-05 21:05:52]DEBUG : send_request_headers.started request=
[2023-07-05 21:05:52]DEBUG : send_request_headers.complete
[2023-07-05 21:05:52]DEBUG : send_request_body.started request=
[2023-07-05 21:05:52]DEBUG : send_request_body.complete
[2023-07-05 21:05:52]DEBUG : receive_response_headers.started request=
[2023-07-05 21:05: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’Wed, 05 Jul 2023 19:06: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-07-05 21:05:53]INFO : HTTP Request: GET https://192.168.123.210/production.json?details=1 « HTTP/1.1 200 OK »
[2023-07-05 21:05:53]DEBUG : receive_response_body.started request=
[2023-07-05 21:05:53]DEBUG : receive_response_body.complete
[2023-07-05 21:05:53]DEBUG : response_closed.started
[2023-07-05 21:05:53]DEBUG : response_closed.complete
[2023-07-05 21:05:53]INFO : Send to jeedom : {‹ production ›: [{‹ type ›: ‹ inverters ›, ‹ activeCount ›: 8, ‹ readingTime ›: 1688583831, ‹ wNow ›: 108, ‹ whLifetime ›: 84973}, {‹ type ›: ‹ eim ›, ‹ activeCount ›: 1, ‹ measurementType ›: ‹ production ›, ‹ readingTime ›: 1688583974, ‹ wNow ›: 128.312, ‹ whLifetime ›: 1309069.245, ‹ varhLeadLifetime ›: 0.188, ‹ varhLagLifetime ›: 422423.842, ‹ vahLifetime ›: 1581109.443, ‹ rmsCurrent ›: 0.892, ‹ rmsVoltage ›: 234.981, ‹ reactPwr ›: 121.523, ‹ apprntPwr ›: 209.813, ‹ pwrFactor ›: 0.63, ‹ whToday ›: 10309.245, ‹ whLastSevenDays ›: 94833.245, ‹ vahToday ›: 11759.443, ‹ varhLeadToday ›: 0.188, ‹ varhLagToday ›: 2562.842, ‹ lines ›: [{‹ wNow ›: 128.312, ‹ whLifetime ›: 1309069.245, ‹ varhLeadLifetime ›: 0.188, ‹ varhLagLifetime ›: 422423.842, ‹ vahLifetime ›: 1581109.443, ‹ rmsCurrent ›: 0.892, ‹ rmsVoltage ›: 234.981, ‹ reactPwr ›: 121.523, ‹ apprntPwr ›: 209.813, ‹ pwrFactor ›: 0.63, ‹ whToday ›: 10309.245, ‹ whLastSevenDays ›: 94833.245, ‹ vahToday ›: 11759.443, ‹ varhLeadToday ›: 0.188, ‹ varhLagToday ›: 2562.842}]}], ‹ consumption ›: [{‹ type ›: ‹ eim ›, ‹ activeCount ›: 1, ‹ measurementType ›: ‹ total-consumption ›, ‹ readingTime ›: 1688583974, ‹ wNow ›: 126.427, ‹ whLifetime ›: 1941332.017, ‹ varhLeadLifetime ›: 2190901.831, ‹ varhLagLifetime ›: -422209.381, ‹ vahLifetime ›: 3238030.659, ‹ rmsCurrent ›: -2.346, ‹ rmsVoltage ›: 235.102, ‹ reactPwr ›: -605.137, ‹ apprntPwr ›: -551.509, ‹ pwrFactor ›: 1.0, ‹ whToday ›: 12646.017, ‹ whLastSevenDays ›: 13.017, ‹ vahToday ›: 17046.659, ‹ varhLeadToday ›: 14296.831, ‹ varhLagToday ›: 0.0, ‹ lines ›: [{‹ wNow ›: 126.427, ‹ whLifetime ›: 1941332.017, ‹ varhLeadLifetime ›: 2190901.831, ‹ varhLagLifetime ›: -422209.381, ‹ vahLifetime ›: 3238030.659, ‹ rmsCurrent ›: -2.346, ‹ rmsVoltage ›: 235.102, ‹ reactPwr ›: -605.137, ‹ apprntPwr ›: -551.509, ‹ pwrFactor ›: 1.0, ‹ whToday ›: 12646.017, ‹ whLastSevenDays ›: 13.017, ‹ vahToday ›: 17046.659, ‹ varhLeadToday ›: 14296.831, ‹ varhLagToday ›: 0.0}]}, {‹ type ›: ‹ eim ›, ‹ activeCount ›: 1, ‹ measurementType ›: ‹ net-consumption ›, ‹ readingTime ›: 1688583974, ‹ wNow ›: -1.885, ‹ whLifetime ›: 633302.277, ‹ varhLeadLifetime ›: 2190902.019, ‹ varhLagLifetime ›: 214.46, ‹ vahLifetime ›: 3238030.659, ‹ rmsCurrent ›: -3.237, ‹ rmsVoltage ›: 235.102, ‹ reactPwr ›: -726.66, ‹ apprntPwr ›: -761.125, ‹ pwrFactor ›: -1.0, ‹ whToday ›: 0, ‹ whLastSevenDays ›: 0, ‹ vahToday ›: 0, ‹ varhLeadToday ›: 0, ‹ varhLagToday ›: 0, ‹ lines ›: [{‹ wNow ›: -1.885, ‹ whLifetime ›: 633302.277, ‹ varhLeadLifetime ›: 2190902.019, ‹ varhLagLifetime ›: 214.46, ‹ vahLifetime ›: 3238030.659, ‹ rmsCurrent ›: -3.237, ‹ rmsVoltage ›: 235.102, ‹ reactPwr ›: -726.66, ‹ apprntPwr ›: -761.125, ‹ 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 ›}]}
[2023-07-05 21:05:53]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2023-07-05 21:05:53]DEBUG : http://127.0.0.1:80 « POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=########## HTTP/1.1 » 200 0
[2023-07-05 21:05:54]DEBUG : Recuperation mesures onduleurs
[2023-07-05 21:05:54]DEBUG : send_request_headers.started request=
[2023-07-05 21:05:54]DEBUG : send_request_headers.complete
[2023-07-05 21:05:54]DEBUG : send_request_body.started request=
[2023-07-05 21:05:54]DEBUG : send_request_body.complete
[2023-07-05 21:05:54]DEBUG : receive_response_headers.started request=
[2023-07-05 21:05: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’Wed, 05 Jul 2023 19:06:15 GMT’), (b’Content-Type’, b’application/json’), (b’Content-Length’, b’1203’), (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-07-05 21:05:54]INFO : HTTP Request: GET https://192.168.123.210/api/v1/production/inverters « HTTP/1.1 200 OK »
[2023-07-05 21:05:54]DEBUG : receive_response_body.started request=
[2023-07-05 21:05:54]DEBUG : receive_response_body.complete
[2023-07-05 21:05:54]DEBUG : response_closed.started
[2023-07-05 21:05:54]DEBUG : response_closed.complete
[2023-07-05 21:05:54]INFO : Send to jeedom : [{‹ serialNumber ›: ‹ 482235103742 ›, ‹ lastReportDate ›: 1688583831, ‹ devType ›: 1, ‹ lastReportWatts ›: 13, ‹ maxReportWatts ›: 295}, {‹ serialNumber ›: ‹ 482235103534 ›, ‹ lastReportDate ›: 1688583740, ‹ devType ›: 1, ‹ lastReportWatts ›: 14, ‹ maxReportWatts ›: 296}, {‹ serialNumber ›: ‹ 482235103744 ›, ‹ lastReportDate ›: 1688583081, ‹ devType ›: 1, ‹ lastReportWatts ›: 13, ‹ maxReportWatts ›: 296}, {‹ serialNumber ›: ‹ 482235103494 ›, ‹ lastReportDate ›: 1688583110, ‹ devType ›: 1, ‹ lastReportWatts ›: 14, ‹ maxReportWatts ›: 296}, {‹ serialNumber ›: ‹ 482235103694 ›, ‹ lastReportDate ›: 1688583140, ‹ devType ›: 1, ‹ lastReportWatts ›: 13, ‹ maxReportWatts ›: 296}, {‹ serialNumber ›: ‹ 482235103652 ›, ‹ lastReportDate ›: 1688583171, ‹ devType ›: 1, ‹ lastReportWatts ›: 13, ‹ maxReportWatts ›: 296}, {‹ serialNumber ›: ‹ 482235103855 ›, ‹ lastReportDate ›: 1688583742, ‹ devType ›: 1, ‹ lastReportWatts ›: 14, ‹ maxReportWatts ›: 296}, {‹ serialNumber ›: ‹ 482235103002 ›, ‹ lastReportDate ›: 1688583200, ‹ devType ›: 1, ‹ lastReportWatts ›: 14, ‹ maxReportWatts ›: 296}]
[2023-07-05 21:05:54]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2023-07-05 21:05:54]DEBUG : http://127.0.0.1:80 « POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=############ HTTP/1.1 » 200 0