Log Daemon: (extrait)
[2024-07-08 16:19:13] ERROR : Erreur de connexion
[2024-07-08 16:19:18] DEBUG : Shutdown
[2024-07-08 16:19:18] DEBUG : Removing PID file /tmp/jeedom/enphasesecur/deamon.pid
[2024-07-08 16:19:18] INFO : Send to jeedom : error arret
[2024-07-08 16:19:18] DEBUG : Exit 0
[2024-07-08 16:20:12] INFO : Start demond
[2024-07-08 16:20:12] INFO : Log level : debug
[2024-07-08 16:20:12] DEBUG : Socket port : 51440
[2024-07-08 16:20:12] DEBUG : Socket host : localhost
[2024-07-08 16:20:12] DEBUG : PID file : /tmp/jeedom/enphasesecur/deamon.pid
[2024-07-08 16:20:12] DEBUG : Apikey : LMwyuCcuetEBH4w8HfCJfsdER5S9qeyf1JVQVQ5fh3npBfW5vdf6XUR3iaO8EJm7
[2024-07-08 16:20:12] DEBUG : Device : auto
[2024-07-08 16:20:12] DEBUG : Callback : http://127.0.0.1:80/plugins/enphasesecur/core/php/jeeenphasesecur.php
[2024-07-08 16:20:12] DEBUG : Delais actualisation : 30
[2024-07-08 16:20:12] DEBUG : Batterie? : non
[2024-07-08 16:20:12] INFO : Adresse IP Passerelle : 192.168.1.110
[2024-07-08 16:20:12] DEBUG : Token: eyJraWQiOiI3ZDEwMDA1ZC03ODk5LTRkMGQtYmNiNC0yNDRmOThlZTE1NmIiLCJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJhdWQiOiIxMjIyMDE4NTY3OTMiLCJpc3MiOiJFbnRyZXoiLCJlbnBoYXNlVXNlciI6Im93bmVyIiwiZXhwIjoxNzIwMzQyODI0LCJpYXQiOjE2ODg4MDY4MjQsImp0aSI6ImEzMmI5NGNlLTA0OTQtNGZlNi04NWZhLTE5ZDNlY2Y1ZTM3ZSIsInVzZXJuYW1lIjoiZG9tLmJvdWV0NTRAZ21haWwuY29tIn0.CKWgIFZpGGrEtOCR8VnmvZLR7A8bQDMUQvhGqHJJpVF0Jk_UMVo1CkWV5M-b1oLB_YzLOtnjVB4CzArqrXk8TA
[2024-07-08 16:20:12] INFO : Writing PID 5539 to /tmp/jeedom/enphasesecur/deamon.pid
[2024-07-08 16:20:12] INFO : Init request module v2.31.0
[2024-07-08 16:20:12] DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2024-07-08 16:20:12] DEBUG : http://127.0.0.1:80 "GET /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=LMwyuCcuetEBH4w8HfCJfsdER5S9qeyf1JVQVQ5fh3npBfW5vdf6XUR3iaO8EJm7 HTTP/1.1" 200 2
[2024-07-08 16:20:42] DEBUG : load_ssl_context verify=False cert=None trust_env=True http2=False
[2024-07-08 16:20:42] DEBUG : Token Manuel, recuperation de jeedom
[2024-07-08 16:20:42] INFO : Test Token
[2024-07-08 16:20:42] DEBUG : connect_tcp.started host='192.168.1.110' port=443 local_address=None timeout=5.0 socket_options=None
[2024-07-08 16:20:42] DEBUG : connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0xffff85c33470>
[2024-07-08 16:20:42] DEBUG : start_tls.started ssl_context=<ssl.SSLContext object at 0xffff85c9ff50> server_hostname='192.168.1.110' timeout=5.0
[2024-07-08 16:20:42] DEBUG : start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0xffff85c33438>
[2024-07-08 16:20:42] DEBUG : send_request_headers.started request=<Request [b'GET']>
[2024-07-08 16:20:42] DEBUG : send_request_headers.complete
[2024-07-08 16:20:42] DEBUG : send_request_body.started request=<Request [b'GET']>
[2024-07-08 16:20:42] DEBUG : send_request_body.complete
[2024-07-08 16:20:42] DEBUG : receive_response_headers.started request=<Request [b'GET']>
[2024-07-08 16:20:42] DEBUG : receive_response_headers.complete return_value=(b'HTTP/1.1', 401, b'Unauthorized', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Mon, 08 Jul 2024 14:20:41 GMT'), (b'Content-Type', b'text/html'), (b'Content-Length', b'555'), (b'Connection', b'keep-alive')])
[2024-07-08 16:20:42] INFO : HTTP Request: GET https://192.168.1.110/auth/check_jwt "HTTP/1.1 401 Unauthorized"
[2024-07-08 16:20:42] DEBUG : receive_response_body.started request=<Request [b'GET']>
[2024-07-08 16:20:42] DEBUG : receive_response_body.complete
[2024-07-08 16:20:42] DEBUG : response_closed.started
[2024-07-08 16:20:42] DEBUG : response_closed.complete
[2024-07-08 16:20:42] DEBUG : Recuperation Inventaire
[2024-07-08 16:20:42] DEBUG : send_request_headers.started request=<Request [b'GET']>
[2024-07-08 16:20:42] DEBUG : send_request_headers.complete
[2024-07-08 16:20:42] DEBUG : send_request_body.started request=<Request [b'GET']>
[2024-07-08 16:20:42] DEBUG : send_request_body.complete
[2024-07-08 16:20:42] DEBUG : receive_response_headers.started request=<Request [b'GET']>
[2024-07-08 16:20:42] DEBUG : receive_response_headers.complete return_value=(b'HTTP/1.1', 401, b'Unauthorized', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Mon, 08 Jul 2024 14:20:41 GMT'), (b'Content-Type', b'text/html'), (b'Content-Length', b'555'), (b'Connection', b'keep-alive')])
[2024-07-08 16:20:42] INFO : HTTP Request: GET https://192.168.1.110/inventory.json "HTTP/1.1 401 Unauthorized"
[2024-07-08 16:20:42] DEBUG : receive_response_body.started request=<Request [b'GET']>
[2024-07-08 16:20:42] DEBUG : receive_response_body.complete
[2024-07-08 16:20:42] DEBUG : response_closed.started
[2024-07-08 16:20:42] DEBUG : response_closed.complete
[2024-07-08 16:20:42] ERROR : Erreur lors de la récupération de l'inventaire, attente de 10s pour recommmencer
[2024-07-08 16:20:42] INFO : Send to jeedom : error inv
[2024-07-08 16:20:42] DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2024-07-08 16:20:42] DEBUG : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=LMwyuCcuetEBH4w8HfCJfsdER5S9qeyf1JVQVQ5fh3npBfW5vdf6XUR3iaO8EJm7 HTTP/1.1" 200 0
[2024-07-08 16:20:52] INFO : Tentative de connexion:1
[2024-07-08 16:21:22] DEBUG : load_ssl_context verify=False cert=None trust_env=True http2=False
[2024-07-08 16:21:22] DEBUG : Token Manuel, recuperation de jeedom
[2024-07-08 16:21:22] INFO : Test Token
[2024-07-08 16:21:22] DEBUG : connect_tcp.started host='192.168.1.110' port=443 local_address=None timeout=5.0 socket_options=None
[2024-07-08 16:21:22] DEBUG : connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0xffff84b52748>
[2024-07-08 16:21:22] DEBUG : start_tls.started ssl_context=<ssl.SSLContext object at 0xffff853ca1e8> server_hostname='192.168.1.110' timeout=5.0
[2024-07-08 16:21:22] DEBUG : start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0xffff84b52710>
[2024-07-08 16:21:22] DEBUG : send_request_headers.started request=<Request [b'GET']>
[2024-07-08 16:21:22] DEBUG : send_request_headers.complete
[2024-07-08 16:21:22] DEBUG : send_request_body.started request=<Request [b'GET']>
[2024-07-08 16:21:22] DEBUG : send_request_body.complete
[2024-07-08 16:21:22] DEBUG : receive_response_headers.started request=<Request [b'GET']>
[2024-07-08 16:21:23] DEBUG : receive_response_headers.complete return_value=(b'HTTP/1.1', 401, b'Unauthorized', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Mon, 08 Jul 2024 14:21:21 GMT'), (b'Content-Type', b'text/html'), (b'Content-Length', b'555'), (b'Connection', b'keep-alive')])
[2024-07-08 16:21:23] INFO : HTTP Request: GET https://192.168.1.110/auth/check_jwt "HTTP/1.1 401 Unauthorized"
[2024-07-08 16:21:23] DEBUG : receive_response_body.started request=<Request [b'GET']>
[2024-07-08 16:21:23] DEBUG : receive_response_body.complete
[2024-07-08 16:21:23] DEBUG : response_closed.started
[2024-07-08 16:21:23] DEBUG : response_closed.complete
[2024-07-08 16:21:23] DEBUG : Recuperation Inventaire
[2024-07-08 16:21:23] DEBUG : send_request_headers.started request=<Request [b'GET']>
[2024-07-08 16:21:23] DEBUG : send_request_headers.complete
[2024-07-08 16:21:23] DEBUG : send_request_body.started request=<Request [b'GET']>
[2024-07-08 16:21:23] DEBUG : send_request_body.complete
[2024-07-08 16:21:23] DEBUG : receive_response_headers.started request=<Request [b'GET']>
[2024-07-08 16:21:23] DEBUG : receive_response_headers.complete return_value=(b'HTTP/1.1', 401, b'Unauthorized', [(b'Server', b'openresty/1.17.8.1'), (b'Date', b'Mon, 08 Jul 2024 14:21:21 GMT'), (b'Content-Type', b'text/html'), (b'Content-Length', b'555'), (b'Connection', b'keep-alive')])
[2024-07-08 16:21:23] INFO : HTTP Request: GET https://192.168.1.110/inventory.json "HTTP/1.1 401 Unauthorized"
[2024-07-08 16:21:23] DEBUG : receive_response_body.started request=<Request [b'GET']>
[2024-07-08 16:21:23] DEBUG : receive_response_body.complete
[2024-07-08 16:21:23] DEBUG : response_closed.started
[2024-07-08 16:21:23] DEBUG : response_closed.complete
[2024-07-08 16:21:23] ERROR : Erreur lors de la récupération de l'inventaire, attente de 10s pour recommmencer
[2024-07-08 16:21:23] INFO : Send to jeedom : error inv
[2024-07-08 16:21:23] DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2024-07-08 16:21:23] DEBUG : http://127.0.0.1:80 "POST /plugins/enphasesecur/core/php/jeeenphasesecur.php?apikey=LMwyuCcuetEBH4w8HfCJfsdER5S9qeyf1JVQVQ5fh3npBfW5vdf6XUR3iaO8EJm7 HTTP/1.1" 200 0
[2024-07-08 16:21:33] INFO : Tentative de connexion:2
[2024-07-08 16:21:33] DEBUG : Attente 120s avant reconnexion