Oui le service est bien activé, d’ailleurs les informations de % de batterie me remontent bien même lorsque l’écran est éteint.
Je viens de configurer le websocket pour voir si ça changeait quelque chose mais même comportement.
J’ai du coup fait un test en activant les logs sur la tablette. A 11h12 j’envoie l’ordre d’allumer la tablette, il ne se passe rien. A 11h14 j’allume manuellement l’écran de la tablette, et dans les logs je vois que c’est à ce moment-là que l’ordre est reçu. Donc la communication vers Jeedom fonctionne écran éteint (vu que j’ai bien les infos de la batterie) mais pas de Jeedom vers la tablette tant que l’écran est éteint.
Le log :
11:10:38 | INFO | Start logger
11:10:46 | INFO | [OnServiceEvent] {"ipAddress":"192.168.1.42","nextAlarm":"","isCharging":false,"wifiEnabled":true,"batteryLevel":61,"bluetoothConnected":false,"ssid":"SFR_AFF0","isScreenOn":false,"event":"screenOff"}
11:10:46 | DEBUG | sendToJcApi {"url":"http://192.168.1.58/plugins/JeedomConnect/core/api/JeedomConnect.api.php","data":{"method":"SET_DEVICE_INFOS","params":{"ipAddress":"192.168.1.42","nextAlarm":"","isCharging":false,"wifiEnabled":true,"batteryLevel":61,"bluetoothConnected":false,"ssid":"SFR_AFF0","isScreenOn":false,"event":"screenOff","apiKey":"8c07d856fe9d835cfe871bbb24e03be1"},"jsonrpc":"2.0","id":1668852646625}}
11:10:46 | DEBUG | [ConnectionManager] received data {}
11:10:46 | INFO | App state changed to background
11:10:46 | DEBUG | sendToJcApi {"url":"http://192.168.1.58/plugins/JeedomConnect/core/api/JeedomConnect.api.php","data":{"method":"SET_APPSTATE","params":{"state":"background","apiKey":"8c07d856fe9d835cfe871bbb24e03be1"},"jsonrpc":"2.0","id":1668852646923}}
11:10:47 | DEBUG | [ConnectionManager] received data {}
11:11:38 | DEBUG | sendToJcApi {"url":"http://192.168.1.58/plugins/JeedomConnect/core/api/JeedomConnect.api.php","data":{"method":"SET_DEVICE_INFOS","params":{"ipAddress":"192.168.1.42","nextAlarm":"","isCharging":false,"wifiEnabled":true,"batteryLevel":60,"bluetoothConnected":false,"ssid":"SFR_AFF0","isScreenOn":false,"apiKey":"8c07d856fe9d835cfe871bbb24e03be1"},"jsonrpc":"2.0","id":1668852698924}}
11:11:38 | DEBUG | [ConnectionManager] received data {}
11:12:38 | DEBUG | sendToJcApi {"url":"http://192.168.1.58/plugins/JeedomConnect/core/api/JeedomConnect.api.php","data":{"method":"SET_DEVICE_INFOS","params":{"ipAddress":"192.168.1.42","nextAlarm":"","isCharging":false,"wifiEnabled":true,"batteryLevel":60,"bluetoothConnected":false,"ssid":"SFR_AFF0","isScreenOn":false,"apiKey":"8c07d856fe9d835cfe871bbb24e03be1"},"jsonrpc":"2.0","id":1668852758982}}
11:12:39 | DEBUG | [ConnectionManager] received data {}
11:13:39 | DEBUG | sendToJcApi {"url":"http://192.168.1.58/plugins/JeedomConnect/core/api/JeedomConnect.api.php","data":{"method":"SET_DEVICE_INFOS","params":{"ipAddress":"192.168.1.42","nextAlarm":"","isCharging":false,"wifiEnabled":true,"batteryLevel":60,"bluetoothConnected":false,"ssid":"SFR_AFF0","isScreenOn":false,"apiKey":"8c07d856fe9d835cfe871bbb24e03be1"},"jsonrpc":"2.0","id":1668852819006}}
11:13:39 | DEBUG | [ConnectionManager] received data {}
11:14:03 | INFO | App state changed to active
11:14:03 | DEBUG | sendToJcApi {"url":"http://192.168.1.58/plugins/JeedomConnect/core/api/JeedomConnect.api.php","data":{"method":"SET_APPSTATE","params":{"state":"active","apiKey":"8c07d856fe9d835cfe871bbb24e03be1"},"jsonrpc":"2.0","id":1668852843240}}
11:14:03 | INFO | [OnServiceEvent] {"ipAddress":"192.168.1.42","nextAlarm":"","isCharging":false,"wifiEnabled":true,"batteryLevel":60,"bluetoothConnected":false,"ssid":"SFR_AFF0","isScreenOn":true,"event":"screenOn"}
11:14:03 | DEBUG | sendToJcApi {"url":"http://192.168.1.58/plugins/JeedomConnect/core/api/JeedomConnect.api.php","data":{"method":"SET_DEVICE_INFOS","params":{"ipAddress":"192.168.1.42","nextAlarm":"","isCharging":false,"wifiEnabled":true,"batteryLevel":60,"bluetoothConnected":false,"ssid":"SFR_AFF0","isScreenOn":true,"event":"screenOn","apiKey":"8c07d856fe9d835cfe871bbb24e03be1"},"jsonrpc":"2.0","id":1668852843369}}
11:14:03 | DEBUG | [ConnectionManager] received data {}
11:14:03 | DEBUG | [ConnectionManager] received data {"type":"ACTIONS"}
11:14:03 | DEBUG | [ConnectionManager] received data {}
11:14:25 | INFO | Stop logger
EDIT : je viens de relire le log et comprendre que ce que je prenais pour ma commande est en fait juste une remontée d’infos sur un event « screenOn ».