Exécution de scènes depuis Alexa

Bonjour,
Mes scènes Alexa ne se lance plus depuis quelques jours et je ne comprends pas la cause.
J’ai cherché sur le forum mais n’ai pas trouvé de solution.
Dans le log Ash, cela semble bien se passé :

0038|[2024-09-20 19:18:03] DEBUG  : Received : {"action":"exec","apikey":"[...]","data":{"directive":{"header":{"messageId":"51df75a8-320e-4443-b45c-0c036bc9a9dc","namespace":"Alexa","name":"ReportState","payloadVersion":"3","correlationToken":"SUdTVEs6AAE6AAs6eyJ0aW1lc3RhbXAiOiIxNzI2ODUyNjgzNTEwIiwiY2xpZW50SWRlbnRpdHkiOm51bGwsImRldmljZSI6bnVsbCwiY2hyRW5kcG9pbnRJZCI6ImFtem4xLmFsZXhhLmVuZHBvaW50LjY3NjE5YzllLWE5YzktNGNkNy04OTJiLTY4YjhiZjgxNzlmMCIsImN1c3RvbWVySWQiOiJBMlM5WVNXWUI2NVFDIiwibGlmZUN5Y2xlIjoiUE9MTElOR19TVEFSVEVEIiwiY29ycmVsYXRpb25Ub2tlbiI6bnVsbH0="},"endpoint":{"scope":{"type":"BearerToken","token":"3df2dbdbc8d800f1608a25e2112d6c00119e49939c6911895a2779ea48afab9f"},"endpointId":"36","cookie":{"ColorController_getState":"324","BrightnessController_setSlider":"323","ColorController_setState":"325","PowerController_setOff":"319","none":"empty","PowerController_setOn":"318","PowerController_getState":"320","BrightnessController_getState":"320"}},"payload":[]}}}
0039|[2024-09-20 19:18:03] DEBUG  : Reply : {"context":{"properties":[{"namespace":"Alexa.PowerController","name":"powerState","value":"ON","timeOfSample":"2024-09-19T20:06:42Z","uncertaintyInMilliseconds":0},{"namespace":"Alexa.BrightnessController","name":"brightness","value":100,"timeOfSample":"2024-09-19T20:06:42Z","uncertaintyInMilliseconds":0},{"namespace":"Alexa.ColorController","name":"color","value":{"hue":0,"saturation":0,"brightness":0},"timeOfSample":"2023-03-10T00:08:56Z","uncertaintyInMilliseconds":0}]},"event":{"header":{"messageId":"51df75a8-320e-4443-b45c-0c036bc9a9dc","namespace":"Alexa","name":"StateReport","payloadVersion":"3","correlationToken":"SUdTVEs6AAE6AAs6eyJ0aW1lc3RhbXAiOiIxNzI2ODUyNjgzNTEwIiwiY2xpZW50SWRlbnRpdHkiOm51bGwsImRldmljZSI6bnVsbCwiY2hyRW5kcG9pbnRJZCI6ImFtem4xLmFsZXhhLmVuZHBvaW50LjY3NjE5YzllLWE5YzktNGNkNy04OTJiLTY4YjhiZjgxNzlmMCIsImN1c3RvbWVySWQiOiJBMlM5WVNXWUI2NVFDIiwibGlmZUN5Y2xlIjoiUE9MTElOR19TVEFSVEVEIiwiY29ycmVsYXRpb25Ub2tlbiI6bnVsbH0="},"endpoint":{"scope":{"type":"BearerToken","token":"3df2dbdbc8d800f1608a25e2112d6c00119e49939c6911895a2779ea48afab9f"},"endpointId":"36"},"payload":{}}}
0040|[2024-09-20 19:18:17] DEBUG  : Received : {"action":"exec","apikey":"[...]","data":{"directive":{"header":{"messageId":"873182cf-619a-4db7-8a21-cc80c01603f6","namespace":"Alexa.SceneController","name":"Activate","payloadVersion":"3","correlationToken":"SUdTVEs6AAE6AAg6eyJpZCI6IjcxZjg4ODA5LWZlNjYtNGIxMy1hYWRiLTAyMGFjYTA4ODU0MiIsInVyaSI6Imh0dHBzOi8vZC1hY3JzLWV1LXAtN2IyLWRmMGQzOTFkLmV1LXdlc3QtMS5hbWF6b24uY29tOjk0NDQiLCJzZXNzaW9uSWQiOiI1YjAzN2YxNC01ODBiLTRkZjEtOTQxMi1iZjIwODQ0NmY2MWQifQ=="},"endpoint":{"scope":{"type":"BearerToken","token":"3df2dbdbc8d800f1608a25e2112d6c00119e49939c6911895a2779ea48afab9f"},"endpointId":"scene::23","cookie":{"none":"empty"}},"payload":[]}}}
0041|[2024-09-20 19:18:17] DEBUG  : Received : {"action":"exec","apikey":"[...]","data":{"directive":{"header":{"messageId":"873182cf-619a-4db7-8a21-cc80c01603f6","namespace":"Alexa.SceneController","name":"Activate","payloadVersion":"3","correlationToken":"SUdTVEs6AAE6AAg6eyJpZCI6IjcxZjg4ODA5LWZlNjYtNGIxMy1hYWRiLTAyMGFjYTA4ODU0MiIsInVyaSI6Imh0dHBzOi8vZC1hY3JzLWV1LXAtN2IyLWRmMGQzOTFkLmV1LXdlc3QtMS5hbWF6b24uY29tOjk0NDQiLCJzZXNzaW9uSWQiOiI1YjAzN2YxNC01ODBiLTRkZjEtOTQxMi1iZjIwODQ0NmY2MWQifQ=="},"endpoint":{"scope":{"type":"BearerToken","token":"3df2dbdbc8d800f1608a25e2112d6c00119e49939c6911895a2779ea48afab9f"},"endpointId":"scene::23","cookie":{"none":"empty"}},"payload":[]}}}
0042|[2024-09-20 19:18:17] DEBUG  : Received : {"action":"exec","apikey":"[...]","data":{"directive":{"header":{"messageId":"873182cf-619a-4db7-8a21-cc80c01603f6","namespace":"Alexa.SceneController","name":"Activate","payloadVersion":"3","correlationToken":"SUdTVEs6AAE6AAg6eyJpZCI6IjcxZjg4ODA5LWZlNjYtNGIxMy1hYWRiLTAyMGFjYTA4ODU0MiIsInVyaSI6Imh0dHBzOi8vZC1hY3JzLWV1LXAtN2IyLWRmMGQzOTFkLmV1LXdlc3QtMS5hbWF6b24uY29tOjk0NDQiLCJzZXNzaW9uSWQiOiI1YjAzN2YxNC01ODBiLTRkZjEtOTQxMi1iZjIwODQ0NmY2MWQifQ=="},"endpoint":{"scope":{"type":"BearerToken","token":"3df2dbdbc8d800f1608a25e2112d6c00119e49939c6911895a2779ea48afab9f"},"endpointId":"scene::23","cookie":{"none":"empty"}},"payload":[]}}}
0043|[2024-09-20 19:18:17] DEBUG  : Received : {"action":"exec","apikey":"[...]","data":{"directive":{"header":{"messageId":"873182cf-619a-4db7-8a21-cc80c01603f6","namespace":"Alexa.SceneController","name":"Activate","payloadVersion":"3","correlationToken":"SUdTVEs6AAE6AAg6eyJpZCI6IjcxZjg4ODA5LWZlNjYtNGIxMy1hYWRiLTAyMGFjYTA4ODU0MiIsInVyaSI6Imh0dHBzOi8vZC1hY3JzLWV1LXAtN2IyLWRmMGQzOTFkLmV1LXdlc3QtMS5hbWF6b24uY29tOjk0NDQiLCJzZXNzaW9uSWQiOiI1YjAzN2YxNC01ODBiLTRkZjEtOTQxMi1iZjIwODQ0NmY2MWQifQ=="},"endpoint":{"scope":{"type":"BearerToken","token":"3df2dbdbc8d800f1608a25e2112d6c00119e49939c6911895a2779ea48afab9f"},"endpointId":"scene::23","cookie":{"none":"empty"}},"payload":[]}}}
0044|[2024-09-20 19:18:18] DEBUG  : Received : {"action":"exec","apikey":"[...]","data":{"directive":{"header":{"messageId":"700b744c-8b1f-4f13-8058-79f7bd1d3856","namespace":"Alexa","name":"ReportState","payloadVersion":"3","correlationToken":"SUdTVEs6AAE6AAs6eyJ0aW1lc3RhbXAiOiIxNzI2ODUyNjk4NTYwIiwiY2xpZW50SWRlbnRpdHkiOm51bGwsImRldmljZSI6bnVsbCwiY2hyRW5kcG9pbnRJZCI6ImFtem4xLmFsZXhhLmVuZHBvaW50LjY3NjE5YzllLWE5YzktNGNkNy04OTJiLTY4YjhiZjgxNzlmMCIsImN1c3RvbWVySWQiOiJBMlM5WVNXWUI2NVFDIiwibGlmZUN5Y2xlIjoiUE9MTElOR19DT05USU5VRUQiLCJjb3JyZWxhdGlvblRva2VuIjpudWxsfQ=="},"endpoint":{"scope":{"type":"BearerToken","token":"3df2dbdbc8d800f1608a25e2112d6c00119e49939c6911895a2779ea48afab9f"},"endpointId":"36","cookie":{"ColorController_getState":"324","BrightnessController_setSlider":"323","ColorController_setState":"325","PowerController_setOff":"319","none":"empty","PowerController_setOn":"318","PowerController_getState":"320","BrightnessController_getState":"320"}},"payload":[]}}}
0045|[2024-09-20 19:18:18] DEBUG  : Reply : {"context":{"properties":[{"namespace":"Alexa.PowerController","name":"powerState","value":"ON","timeOfSample":"2024-09-19T20:06:42Z","uncertaintyInMilliseconds":0},{"namespace":"Alexa.BrightnessController","name":"brightness","value":100,"timeOfSample":"2024-09-19T20:06:42Z","uncertaintyInMilliseconds":0},{"namespace":"Alexa.ColorController","name":"color","value":{"hue":0,"saturation":0,"brightness":0},"timeOfSample":"2023-03-10T00:08:56Z","uncertaintyInMilliseconds":0}]},"event":{"header":{"messageId":"700b744c-8b1f-4f13-8058-79f7bd1d3856","namespace":"Alexa","name":"StateReport","payloadVersion":"3","correlationToken":"SUdTVEs6AAE6AAs6eyJ0aW1lc3RhbXAiOiIxNzI2ODUyNjk4NTYwIiwiY2xpZW50SWRlbnRpdHkiOm51bGwsImRldmljZSI6bnVsbCwiY2hyRW5kcG9pbnRJZCI6ImFtem4xLmFsZXhhLmVuZHBvaW50LjY3NjE5YzllLWE5YzktNGNkNy04OTJiLTY4YjhiZjgxNzlmMCIsImN1c3RvbWVySWQiOiJBMlM5WVNXWUI2NVFDIiwibGlmZUN5Y2xlIjoiUE9MTElOR19DT05USU5VRUQiLCJjb3JyZWxhdGlvblRva2VuIjpudWxsfQ=="},"endpoint":{"scope":{"type":"BearerToken","token":"3df2dbdbc8d800f1608a25e2112d6c00119e49939c6911895a2779ea48afab9f"},"endpointId":"36"},"payload":{}}}
0046|[2024-09-20 19:18:33] DEBUG  : Received : {"action":"exec","apikey":"[...]","data":{"directive":{"header":{"messageId":"32a3620a-2341-407b-aeca-810591ba4252","namespace":"Alexa","name":"ReportState","payloadVersion":"3","correlationToken":"SUdTVEs6AAE6AAs6eyJ0aW1lc3RhbXAiOiIxNzI2ODUyNzEzNDk4IiwiY2xpZW50SWRlbnRpdHkiOm51bGwsImRldmljZSI6bnVsbCwiY2hyRW5kcG9pbnRJZCI6ImFtem4xLmFsZXhhLmVuZHBvaW50LjY3NjE5YzllLWE5YzktNGNkNy04OTJiLTY4YjhiZjgxNzlmMCIsImN1c3RvbWVySWQiOiJBMlM5WVNXWUI2NVFDIiwibGlmZUN5Y2xlIjoiUE9MTElOR19DT05USU5VRUQiLCJjb3JyZWxhdGlvblRva2VuIjpudWxsfQ=="},"endpoint":{"scope":{"type":"BearerToken","token":"3df2dbdbc8d800f1608a25e2112d6c00119e49939c6911895a2779ea48afab9f"},"endpointId":"36","cookie":{"ColorController_getState":"324","BrightnessController_setSlider":"323","ColorController_setState":"325","PowerController_setOff":"319","none":"empty","PowerController_setOn":"318","PowerController_getState":"320","BrightnessController_getState":"320"}},"payload":[]}}}
0047|[2024-09-20 19:18:33] DEBUG  : Reply : {"context":{"properties":[{"namespace":"Alexa.PowerController","name":"powerState","value":"ON","timeOfSample":"2024-09-19T20:06:42Z","uncertaintyInMilliseconds":0},{"namespace":"Alexa.BrightnessController","name":"brightness","value":100,"timeOfSample":"2024-09-19T20:06:42Z","uncertaintyInMilliseconds":0},{"namespace":"Alexa.ColorController","name":"color","value":{"hue":0,"saturation":0,"brightness":0},"timeOfSample":"2023-03-10T00:08:56Z","uncertaintyInMilliseconds":0}]},"event":{"header":{"messageId":"32a3620a-2341-407b-aeca-810591ba4252","namespace":"Alexa","name":"StateReport","payloadVersion":"3","correlationToken":"SUdTVEs6AAE6AAs6eyJ0aW1lc3RhbXAiOiIxNzI2ODUyNzEzNDk4IiwiY2xpZW50SWRlbnRpdHkiOm51bGwsImRldmljZSI6bnVsbCwiY2hyRW5kcG9pbnRJZCI6ImFtem4xLmFsZXhhLmVuZHBvaW50LjY3NjE5YzllLWE5YzktNGNkNy04OTJiLTY4YjhiZjgxNzlmMCIsImN1c3RvbWVySWQiOiJBMlM5WVNXWUI2NVFDIiwibGlmZUN5Y2xlIjoiUE9MTElOR19DT05USU5VRUQiLCJjb3JyZWxhdGlvblRva2VuIjpudWxsfQ=="},"endpoint":{"scope":{"type":"BearerToken","token":"3df2dbdbc8d800f1608a25e2112d6c00119e49939c6911895a2779ea48afab9f"},"endpointId":"36"},"payload":{}}}
0048|[2024-09-20 19:18:48] DEBUG  : Received : {"action":"exec","apikey":"[...]","data":{"directive":{"header":{"messageId":"71bb7a43-b344-4e49-bdf2-17431833878a","namespace":"Alexa","name":"ReportState","payloadVersion":"3","correlationToken":"SUdTVEs6AAE6AAs6eyJ0aW1lc3RhbXAiOiIxNzI2ODUyNzI4NDQ4IiwiY2xpZW50SWRlbnRpdHkiOm51bGwsImRldmljZSI6bnVsbCwiY2hyRW5kcG9pbnRJZCI6ImFtem4xLmFsZXhhLmVuZHBvaW50LjY3NjE5YzllLWE5YzktNGNkNy04OTJiLTY4YjhiZjgxNzlmMCIsImN1c3RvbWVySWQiOiJBMlM5WVNXWUI2NVFDIiwibGlmZUN5Y2xlIjoiUE9MTElOR19DT05USU5VRUQiLCJjb3JyZWxhdGlvblRva2VuIjpudWxsfQ=="},"endpoint":{"scope":{"type":"BearerToken","token":"3df2dbdbc8d800f1608a25e2112d6c00119e49939c6911895a2779ea48afab9f"},"endpointId":"36","cookie":{"ColorController_getState":"324","BrightnessController_setSlider":"323","ColorController_setState":"325","PowerController_setOff":"319","none":"empty","PowerController_setOn":"318","PowerController_getState":"320","BrightnessController_getState":"320"}},"payload":[]}}}
0049|[2024-09-20 19:18:48] DEBUG  : Reply : {"context":{"properties":[{"namespace":"Alexa.PowerController","name":"powerState","value":"ON","timeOfSample":"2024-09-19T20:06:42Z","uncertaintyInMilliseconds":0},{"namespace":"Alexa.BrightnessController","name":"brightness","value":100,"timeOfSample":"2024-09-19T20:06:42Z","uncertaintyInMilliseconds":0},{"namespace":"Alexa.ColorController","name":"color","value":{"hue":0,"saturation":0,"brightness":0},"timeOfSample":"2023-03-10T00:08:56Z","uncertaintyInMilliseconds":0}]},"event":{"header":{"messageId":"71bb7a43-b344-4e49-bdf2-17431833878a","namespace":"Alexa","name":"StateReport","payloadVersion":"3","correlationToken":"SUdTVEs6AAE6AAs6eyJ0aW1lc3RhbXAiOiIxNzI2ODUyNzI4NDQ4IiwiY2xpZW50SWRlbnRpdHkiOm51bGwsImRldmljZSI6bnVsbCwiY2hyRW5kcG9pbnRJZCI6ImFtem4xLmFsZXhhLmVuZHBvaW50LjY3NjE5YzllLWE5YzktNGNkNy04OTJiLTY4YjhiZjgxNzlmMCIsImN1c3RvbWVySWQiOiJBMlM5WVNXWUI2NVFDIiwibGlmZUN5Y2xlIjoiUE9MTElOR19DT05USU5VRUQiLCJjb3JyZWxhdGlvblRva2VuIjpudWxsfQ=="},"endpoint":{"scope":{"type":"BearerToken","token":"3df2dbdbc8d800f1608a25e2112d6c00119e49939c6911895a2779ea48afab9f"},"endpointId":"36"},"payload":{}}}
0050|[2024-09-20 19:19:03] DEBUG  : Received : {"action":"exec","apikey":"[...]","data":{"directive":{"header":{"messageId":"23c09136-9d82-4b27-a676-32efe72d7e76","namespace":"Alexa","name":"ReportState","payloadVersion":"3","correlationToken":"SUdTVEs6AAE6AAs6eyJ0aW1lc3RhbXAiOiIxNzI2ODUyNzQzMjQ5IiwiY2xpZW50SWRlbnRpdHkiOm51bGwsImRldmljZSI6bnVsbCwiY2hyRW5kcG9pbnRJZCI6ImFtem4xLmFsZXhhLmVuZHBvaW50LjY3NjE5YzllLWE5YzktNGNkNy04OTJiLTY4YjhiZjgxNzlmMCIsImN1c3RvbWVySWQiOiJBMlM5WVNXWUI2NVFDIiwibGlmZUN5Y2xlIjoiUE9MTElOR19TVE9QUEVEIiwiY29ycmVsYXRpb25Ub2tlbiI6bnVsbH0="},"endpoint":{"scope":{"type":"BearerToken","token":"3df2dbdbc8d800f1608a25e2112d6c00119e49939c6911895a2779ea48afab9f"},"endpointId":"36","cookie":{"ColorController_getState":"324","BrightnessController_setSlider":"323","ColorController_setState":"325","PowerController_setOff":"319","none":"empty","PowerController_setOn":"318","PowerController_getState":"320","BrightnessController_getState":"320"}},"payload":[]}}}
0051|[2024-09-20 19:19:03] DEBUG  : Reply : {"context":{"properties":[{"namespace":"Alexa.PowerController","name":"powerState","value":"ON","timeOfSample":"2024-09-19T20:06:42Z","uncertaintyInMilliseconds":0},{"namespace":"Alexa.BrightnessController","name":"brightness","value":100,"timeOfSample":"2024-09-19T20:06:42Z","uncertaintyInMilliseconds":0},{"namespace":"Alexa.ColorController","name":"color","value":{"hue":0,"saturation":0,"brightness":0},"timeOfSample":"2023-03-10T00:08:56Z","uncertaintyInMilliseconds":0}]},"event":{"header":{"messageId":"23c09136-9d82-4b27-a676-32efe72d7e76","namespace":"Alexa","name":"StateReport","payloadVersion":"3","correlationToken":"SUdTVEs6AAE6AAs6eyJ0aW1lc3RhbXAiOiIxNzI2ODUyNzQzMjQ5IiwiY2xpZW50SWRlbnRpdHkiOm51bGwsImRldmljZSI6bnVsbCwiY2hyRW5kcG9pbnRJZCI6ImFtem4xLmFsZXhhLmVuZHBvaW50LjY3NjE5YzllLWE5YzktNGNkNy04OTJiLTY4YjhiZjgxNzlmMCIsImN1c3RvbWVySWQiOiJBMlM5WVNXWUI2NVFDIiwibGlmZUN5Y2xlIjoiUE9MTElOR19TVE9QUEVEIiwiY29ycmVsYXRpb25Ub2tlbiI6bnVsbH0="},"endpoint":{"scope":{"type":"BearerToken","token":"3df2dbdbc8d800f1608a25e2112d6c00119e49939c6911895a2779ea48afab9f"},"endpointId":"36"},"payload":{}}}

Par contre, ça coince dans le log http.error :

[Fri Sep 20 19:18:17.961432 2024]
[php:error]
[pid 2160:tid 2160]
[client X.X.X.X:0]
PHP Fatal error: Uncaught Error: Non-static method ash_scene::doAction() cannot be called statically in /var/www/html/plugins/ash/core/class/ash_scene.class.php:52\n
Stack trace:\n
#0 /var/www/html/plugins/ash/core/class/ash.class.php(399): ash_scene::exec()\n
#1 /var/www/html/plugins/ash/core/class/ash.class.php(194): ash_devices->exec()\n
#2 /var/www/html/plugins/ash/core/php/jeeAsh.php(50): ash::exec()\n
#3 {main}\n
thrown in /var/www/html/plugins/ash/core/class/ash_scene.class.php on line 52

J’ai déjà désactivé/réactivé le skill Jeedom dans Alexa, fait une redécouverte de mes scènes, réinstallé le plugin.
J’ai réinstallé Jeedom mais restauré une sauvegarde.


Informations Jeedom

Core : 4.4.17 (master)
Hardware : Docker (sur NAS)
DNS Jeedom : non
Plugin : Alexa
Version : 2024-01-16 01:04:21 (stable)

Si vous avez une piste, je suis preneur !

J’ai exactement la même chose depuis quelques jours, je suis allé jusqu’à tout ré-installé et même passer en debian11 mais après moulte soucis ça ne fonctionne pas pour les scènes, elle ne déclenchent pas les scénarios

Merci, je me sens moins seul.
Mes compétences en PHP sont trop justes pour trouver une solution.

et la à l’instant ça remarche.
par contre j’ai du remettre les scenes dans la routine, elles avaient disparue

Pour moi, toujours KO. J’ai refait une association, remis les scènes dans les routines…
Mais tant mieux pour vous :+1:

peut être une explication, je n’ai pas fait la mise a jour du core, je suis en 4.4.12

bon j’ai tenté la mise à jour et ça fonctionne tjs.
Désolé

Merci quand même :wink:

Une mise à jour est sortie, croise les doigts

Merci @corsica19 mais toujours le souci avec la màj 2024-09-25 01:04:00.
Je crois que je n’ai plus qu’à repartir d’une installation de zéro…

Sur le fichier

/var/www/html/plugins/ash/core/class/ash_scene.class.php

,
J’ai ajouté static

public static function doAction($_device, $_action) {

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.