Mmmm intéressant :
0051|[2023-06-05 20:31:40]DEBUG : [API] Request Received {"method":"SET_DEVICE_INFOS","params":{"event":"screenOff","ssid":"flan","ipAddress":"192.168.11.244","batteryLevel":0,"isCharging":true,"isScreenOn":false,"wifiEnabled":true,"bluetoothConnected":false,"nextAlarm":"","alarmPackage":"","volumes":{"alarm":86,"call":80,"music":100,"notification":57,"ring":57,"system":57},"apiKey":"NSPanelAPIkey"},"jsonrpc":"2.0","id":1685989899928}
*** Ecran éteint
0052|[2023-06-05 20:31:40]DEBUG : Final volume set to => 86;80;100;57;57;57;
0053|[2023-06-05 20:31:40]DEBUG : [API] Send SET_DEVICE_INFOS -> null
0054|[2023-06-05 20:31:40]DEBUG : [API] Request Received {"method":"SET_APPSTATE","params":{"state":"background","apiKey":"NSPanelAPIkey"},"jsonrpc":"2.0","id":1685989899998}
0055|[2023-06-05 20:31:40]DEBUG : [API] Send SET_APPSTATE -> null
0056|[2023-06-05 20:32:04]DEBUG : [API] Request Received {"method":"SET_DEVICE_INFOS","params":{"event":"fromJS","ssid":"flan","ipAddress":"192.168.11.244","batteryLevel":0,"isCharging":true,"isScreenOn":false,"wifiEnabled":true,"bluetoothConnected":false,"nextAlarm":"","alarmPackage":"","volumes":{"alarm":86,"call":80,"music":100,"notification":57,"ring":57,"system":57},"apiKey":"NSPanelAPIkey"},"jsonrpc":"2.0","id":1685989924880}
0057|[2023-06-05 20:32:05]DEBUG : Final volume set to => 86;80;100;57;57;57;
0058|[2023-06-05 20:32:05]DEBUG : [API] Send SET_DEVICE_INFOS -> null
*** Commande action Allumer écran
0059|[2023-06-05 20:32:06]INFO : No token defined. Please connect your device first
*** Commande action Allumer écran
0060|[2023-06-05 20:32:12]INFO : No token defined. Please connect your device first
*** adb shell input keyevent 26
0061|[2023-06-05 20:34:29]DEBUG : [API] Request Received {"method":"SET_DEVICE_INFOS","params":{"event":"screenOn","ssid":"flan","ipAddress":"192.168.11.244","batteryLevel":0,"isCharging":true,"isScreenOn":true,"wifiEnabled":true,"bluetoothConnected":false,"nextAlarm":"","alarmPackage":"","volumes":{"alarm":86,"call":80,"music":100,"notification":57,"ring":57,"system":57},"apiKey":"NSPanelAPIkey"},"jsonrpc":"2.0","id":1685990069087}
0062|[2023-06-05 20:34:29]DEBUG : [API] Request Received {"method":"SET_APPSTATE","params":{"state":"active","apiKey":"NSPanelAPIkey"},"jsonrpc":"2.0","id":1685990069467}
0063|[2023-06-05 20:34:29]DEBUG : [API] Send SET_APPSTATE -> null
0064|[2023-06-05 20:34:29]DEBUG : Final volume set to => 86;80;100;57;57;57;
0065|[2023-06-05 20:34:29]DEBUG : [API] Send SET_DEVICE_INFOS -> null
Je ne comprends pas trop pourquoi No token defined. Please connect your device first
ça vient de JeedomConnect/core/class/JeedomConnect.class.php
ligne 1115