Remontée d'info de la batterie Encharge 3T IQ

Bonjour ,

Je vois dans la passerelle les commandes pourcentage de charge et puissance délivrée, surement des commandes lié à l’ancienne génération de batterie Enphase ?
Car j’ai une Encharge 3T IQ et j’ai aucune remontée d’info dans ses commandes ?
surement un développement à prévoir ou en cours , je venais a la pèche aux infos :slight_smile:

Slt,comme sur tout le forum, sans les 2 logs en debug pas de possibilité d’aider :wink:

N’ayant pas prévu d’en avoir je n’avais fait que du théorique

1 « J'aime »

je ne sais pas quel log tu aurais besoin pour t’aider

j’ai déjà une petite idée : « [2023-07-04 11:42:25]DEBUG : Nombre de batteries: 0 »
le plugin voit aucune batterie ?

[2023-07-04 11:42:25]DEBUG : Réception mesures passerelle
[2023-07-04 11:42:25]DEBUG : Production depuis la mise en service: 1285827.116
[2023-07-04 11:42:25]DEBUG : Production totale du jour: 2696.116
[2023-07-04 11:42:25]DEBUG : Production totale de la semaine: 95636.116
[2023-07-04 11:42:25]DEBUG : Production instantannée: 1027.967
[2023-07-04 11:42:25]DEBUG : Consommation Totale depuis la mise en service: 1920214.891
[2023-07-04 11:42:25]DEBUG : Consommation Totale du jour: 3167.891
[2023-07-04 11:42:25]DEBUG : Consommation Totale de la semaine: 256.891
[2023-07-04 11:42:25]DEBUG : Consommation Totale instantannée: 1052.809
[2023-07-04 11:42:25]DEBUG : Tension réseau: 236.087
[2023-07-04 11:42:25]DEBUG : Consommation Net depuis la mise en service: 635427.28
[2023-07-04 11:42:25]DEBUG : Cumul Export: 0.0050000000001091
[2023-07-04 11:42:25]DEBUG : Cumul Import: 471.78
[2023-07-04 11:42:25]DEBUG : Consommation Net du jour: 471.775
[2023-07-04 11:42:25]DEBUG : Consommation Net de la semaine: -95379.225
[2023-07-04 11:42:25]DEBUG : Consommation Net instantannée: 24.842
[2023-07-04 11:42:25]DEBUG : Nombre de batteries: 0
[2023-07-04 11:42:26]DEBUG : Réception mesures des convertisseurs

si besoin de plus d’info, tu peux me demander n’importe quoi sauf ma carte bleu :stuck_out_tongue:

Le log du démon en debug
Comme ça on aura toutes les infos

[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

Merci
Mais je n’ai rien dans le fichier production et la partie storage … je ne sais pas si on peu le suivre en direct

Es que elle était en train de se décharger au moment du fichier ?

https://support.enphase.com/s/question/0D53m00006o5XEoCAM/quick-question-when-i-query-the-local-api-httpenvoyproductionjson-three-objects-are-available-consumption-production-and-storage-all-the-values-under-storage-are-zero-am-i-missing-a-ct-for-my-encharge-connection

L’API à utiliser est https://envoy/ivp/ensemble/secctrl ( voir https://github.com/Matthew1471/Enphase-API/blob/main/Documentation/IQ%20Gateway%20API/IVP/Ensemble/SecCtrl.adoc )
Reponse:
{
« shutdown »: false,
« freq_bias_hz »: 1.3899999856948853,
« voltage_bias_v »: 16.899999618530275,
« freq_bias_hz_q8 »: 2235,
« voltage_bias_v_q5 »: 540,
« freq_bias_hz_phaseb »: 0.0,
« voltage_bias_v_phaseb »: 0.0,
« freq_bias_hz_q8_phaseb »: 0,
« voltage_bias_v_q5_phaseb »: 0,
« freq_bias_hz_phasec »: 0.0,
« voltage_bias_v_phasec »: 0.0,
« freq_bias_hz_q8_phasec »: 0,
« voltage_bias_v_q5_phasec »: 0,
« configured_backup_soc »: 0,
« adjusted_backup_soc »: 0,
« agg_soc »: 4,
« Max_energy »: 3500,
« ENC_agg_soc »: 4,
« ENC_agg_soh »: 100,
« ENC_agg_backup_energy »: 0,
« ENC_agg_avail_energy »: 140,
« Enc_commissioned_capacity »: 3500,
« Enc_max_available_capacity »: 3500,
« ACB_agg_soc »: 0,
« ACB_agg_energy »: 0
}

Slt formate les données avant de les envoyer

C’est bien d’avoir l’URL mais il faudrait aussi la table de correspondance. Le dépôt que tu as mis ne fait que réécrire ce que il y a dans le json sans plus d’informations.

Au minimum:

  • json batterie chargée
  • json batterie déchargée avec le pourcentage affiché dans l’appli
  • la puissance de ta batterie
  • les unités utilisées par enphase

Les premiers essais ne sont pas concluant

Impossible de me connecte avec le token sur cette page

J’ai commencé un dépôt si vous voulez essayer :
Dépôt : GitHub - cddu33/enphase_secure
Branche: 3T-IQ

Je vais essayé de tester cette apI et identifier le codage des champs

« ENC_agg_soc » → niveau de charge en %
« ENC_agg_avail_energy »: → energie dispo en Wh
« Enc_max_available_capacity » → Enerigie max en Wh

Donnés brutes
{
« shutdown »: false,
« freq_bias_hz »: -0.08339999616146088,
« voltage_bias_v »: -1.0139999389648438,
« freq_bias_hz_q8 »: -134,
« voltage_bias_v_q5 »: -32,
« freq_bias_hz_phaseb »: 0.0,
« voltage_bias_v_phaseb »: 0.0,
« freq_bias_hz_q8_phaseb »: 0,
« voltage_bias_v_q5_phaseb »: 0,
« freq_bias_hz_phasec »: 0.0,
« voltage_bias_v_phasec »: 0.0,
« freq_bias_hz_q8_phasec »: 0,
« voltage_bias_v_q5_phasec »: 0,
« configured_backup_soc »: 0,
« adjusted_backup_soc »: 0,
« agg_soc »: 48,
« Max_energy »: 3500,
« ENC_agg_soc »: 48,
« ENC_agg_soh »: 100,
« ENC_agg_backup_energy »: 0,
« ENC_agg_avail_energy »: 1680,
« Enc_commissioned_capacity »: 3500,
« Enc_max_available_capacity »: 3500,
« ACB_agg_soc »: 0,
« ACB_agg_energy »: 0
}

Autre API : https://envoy/ivp/ensemble/inventory

[
{
« type »: « ENCHARGE »,
« devices »: [
{
« part_num »: « xxx »,
« installed »: 1697473717,
« serial_num »: « xxxxxx »,
« device_status »: [
« envoy.global.ok »,
« prop.done »
],
« last_rpt_date »: 1697983633,
« admin_state »: 6,
« admin_state_str »: « ENCHG_STATE_READY »,
« created_date »: 1697473717,
« img_load_date »: 1697473717,
« img_pnum_running »: « 2.6.5973_rel/22.11 »,
« zigbee_dongle_fw_version »: « 100F »,
« bmu_fw_version »: « 2.1.34 »,
« operating »: true,
« communicating »: true,
« sleep_enabled »: false,
« percentFull »: 49,
« temperature »: 25,
« maxCellTemp »: 26,
« comm_level_sub_ghz »: 4,
« comm_level_2_4_ghz »: 4,
« led_status »: 12,
« dc_switch_off »: false,
« encharge_rev »: 2,
« encharge_capacity »: 3500
}
]
}
]

Es que tu as essayé le dépôt que j’ai fait ?

slt
pour info , je viens de tester

Merci

ça marche? car chez moi, du fait peut être d’une version différente, ça ne veut pas se connecter

je vais le mettre sur le canal beta

oui pour moi ça fonctionne

nickel, c’est mergé avec la beta.
a voir si tu veux rajouter des informations disponible dans le json (log du daemon en debug)

voilà je suis repassé en beta et c’est ok
je n’ai que ça concernant la batterie dans le log et c’est suffisant
16892|[2023-10-31 20:08:06][DEBUG] : Capacité maximum batterie: 3500
16893|[2023-10-31 20:08:06][DEBUG] : Energie Restante batterie: 1960

je suis par contre passé par un virtuel pour donner un pourcentage de la charge restante de la batterie
si tu veux eventuellement ajouter cette commande info

Fait
A tester

parfait, ca fonctionne …
merci bien