Problème avec l'automatisme pièce de vie

@hbe

J’ai testé l’automatisme pièce de vie. J’ai mis 3 équipements associés à cette automatisme. Arrivé à la fin du timeout, il n’en éteint qu’un seul :frowning:
Pour l’allumage il le fait bien sur les 3.
Dans les logs il identifie qu’il y a bien 3 équipements mais il n’en traite qu’un seul quand la présence passe à 0 ou à l’extinction.

Pour mon information, tu as appliqué l’automatisme sur un groupe ou bien sur 3 lumières seules ?

sur 3 lumières seules, il faut passer par un groupe ?

Non pas besoin, mais comme ca je peux tester ton cas :slight_smile:

Ca a bien fonctionné chez moi. Tu pourrais m’envoyer en photo la config de l’automatisme + le log debug ?

Voici le log. Alors j’ai détourné le système pour que cela allume des prises. J’ai attribué le même autmatisme aux 3 équipements

[2021-10-06 16:44:22][DEBUG] : START ROOM AUTOMATISME for light: Lumière Bureau
[2021-10-06 16:44:22][DEBUG] : light status: 0
[2021-10-06 16:44:22][DEBUG] : presence 1
[2021-10-06 16:44:22][DEBUG] : lumen high
[2021-10-06 16:44:22][DEBUG] : END ROOM AUTOMATISME
[2021-10-06 16:44:22][DEBUG] : --------------------------------
[2021-10-06 16:44:22][DEBUG] : END AUTOMATISME
[2021-10-06 16:44:22][DEBUG] : --------------------------------
[2021-10-06 16:44:23][DEBUG] : Pull values
[2021-10-06 16:44:23][DEBUG] : --------------------------------
[2021-10-06 16:44:23][DEBUG] : START AUTOMATISME
[2021-10-06 16:44:23][DEBUG] : Automatisme type is: room
[2021-10-06 16:44:23][DEBUG] : 1 equipments contain this automatisme
[2021-10-06 16:44:23][DEBUG] : --------------------------------
[2021-10-06 16:44:23][DEBUG] : START ROOM AUTOMATISME for light: Lumière Bureau
[2021-10-06 16:44:23][DEBUG] : light status: 0
[2021-10-06 16:44:23][DEBUG] : presence 1
[2021-10-06 16:44:23][DEBUG] : lumen high
[2021-10-06 16:44:23][DEBUG] : END ROOM AUTOMATISME
[2021-10-06 16:44:23][DEBUG] : --------------------------------
[2021-10-06 16:44:23][DEBUG] : END AUTOMATISME
[2021-10-06 16:44:23][DEBUG] : --------------------------------
[2021-10-06 16:44:23][DEBUG] : Pull values
[2021-10-06 16:44:23][DEBUG] : --------------------------------
[2021-10-06 16:44:23][DEBUG] : START AUTOMATISME
[2021-10-06 16:44:23][DEBUG] : Automatisme type is: room
[2021-10-06 16:44:23][DEBUG] : 1 equipments contain this automatisme
[2021-10-06 16:44:23][DEBUG] : --------------------------------
[2021-10-06 16:44:23][DEBUG] : START ROOM AUTOMATISME for light: Lumière Bureau
[2021-10-06 16:44:23][DEBUG] : light status: 0
[2021-10-06 16:44:23][DEBUG] : presence 1
[2021-10-06 16:44:23][DEBUG] : lumen high
[2021-10-06 16:44:23][DEBUG] : END ROOM AUTOMATISME
[2021-10-06 16:44:23][DEBUG] : --------------------------------
[2021-10-06 16:44:23][DEBUG] : END AUTOMATISME
[2021-10-06 16:44:23][DEBUG] : --------------------------------
[2021-10-06 16:44:26][DEBUG] : Pull values
[2021-10-06 16:44:26][DEBUG] : --------------------------------
[2021-10-06 16:44:26][DEBUG] : START AUTOMATISME
[2021-10-06 16:44:26][DEBUG] : Automatisme type is: night_light
[2021-10-06 16:44:26][DEBUG] : 3 equipments contain this automatisme
[2021-10-06 16:44:26][DEBUG] : --------------------------------
[2021-10-06 16:44:26][DEBUG] : START NIGHT LIGHT AUTOMATISME for light: Prise Bouilloire with presence 1
[2021-10-06 16:44:26][DEBUG] : In interval or interval not defined
[2021-10-06 16:44:26][DEBUG] : light status: 0
[2021-10-06 16:44:26][DEBUG] : AUTOM QUEUE :[]
[2021-10-06 16:44:26][DEBUG] : Autom queue []
[2021-10-06 16:44:26][DEBUG] : SET AUTOMATISME QUEUE : []
[2021-10-06 16:44:26][DEBUG] : Pull values
[2021-10-06 16:44:26][DEBUG] : AUTOM QUEUE :[]
[2021-10-06 16:44:26][DEBUG] : SET AUTOMATISME QUEUE : [{"time":1633531466,"instanceId":"615db64a802ae","status":1,"idAutomatisme":"2392","uniqueId":3,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:44:26][DEBUG] : --------------------------------
[2021-10-06 16:44:26][DEBUG] : START AUTOMATISME
[2021-10-06 16:44:26][DEBUG] : Automatisme type is: night_light
[2021-10-06 16:44:26][DEBUG] : 0 equipments contain this automatisme
[2021-10-06 16:44:26][DEBUG] : END AUTOMATISME
[2021-10-06 16:44:26][DEBUG] : --------------------------------
[2021-10-06 16:44:26][DEBUG] : Pull values
[2021-10-06 16:44:26][DEBUG] : --------------------------------
[2021-10-06 16:44:26][DEBUG] : START AUTOMATISME
[2021-10-06 16:44:26][DEBUG] : Automatisme type is: night_light
[2021-10-06 16:44:26][DEBUG] : AUTOM QUEUE :[{"time":1633531466,"instanceId":"615db64a802ae","status":1,"idAutomatisme":"2392","uniqueId":3,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:44:26][DEBUG] : Autom for verif queue [{"time":1633531466,"instanceId":"615db64a802ae","status":1,"idAutomatisme":"2392","uniqueId":3,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:44:26][DEBUG] : Pull values
[2021-10-06 16:44:26][INFO] : TOGGLE light on: Prise Bouilloire
[2021-10-06 16:44:26][DEBUG] : 0 equipments contain this automatisme
[2021-10-06 16:44:26][DEBUG] : END AUTOMATISME
[2021-10-06 16:44:26][DEBUG] : --------------------------------
[2021-10-06 16:44:26][DEBUG] : START REFRESH VALUES with status / lumen / color / temperature: 1   
[2021-10-06 16:44:26][DEBUG] : Binary light state
[2021-10-06 16:44:26][DEBUG] : Set new status 1 for: Prise Nespresso
[2021-10-06 16:44:26][DEBUG] : END NIGHT LIGHT AUTOMATISME
[2021-10-06 16:44:26][DEBUG] : --------------------------------
[2021-10-06 16:44:26][DEBUG] : --------------------------------
[2021-10-06 16:44:26][DEBUG] : START NIGHT LIGHT AUTOMATISME for light: Prise Cafetière with presence 1
[2021-10-06 16:44:26][DEBUG] : In interval or interval not defined
[2021-10-06 16:44:26][DEBUG] : light status: 0
[2021-10-06 16:44:26][DEBUG] : AUTOM QUEUE :[{"time":1633530381,"instanceId":"615db20d9d174","status":1,"idAutomatisme":"2392","uniqueId":1,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise","ponderation":0}]
[2021-10-06 16:44:26][DEBUG] : Autom queue [{"time":1633530381,"instanceId":"615db20d9d174","status":1,"idAutomatisme":"2392","uniqueId":1,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise","ponderation":0}]
[2021-10-06 16:44:26][DEBUG] : SET AUTOMATISME QUEUE : []
[2021-10-06 16:44:26][DEBUG] : AUTOM QUEUE :[]
[2021-10-06 16:44:26][DEBUG] : SET AUTOMATISME QUEUE : [{"time":1633531466,"instanceId":"615db64aef25c","status":1,"idAutomatisme":"2392","uniqueId":3,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:44:26][DEBUG] : Set new status Prise Nespresso
[2021-10-06 16:44:26][DEBUG] : WILL REFRESH WIDGET
[2021-10-06 16:44:26][DEBUG] : Pull values
[2021-10-06 16:44:26][DEBUG] : AUTOM QUEUE :[{"time":1633531466,"instanceId":"615db64aef25c","status":1,"idAutomatisme":"2392","uniqueId":3,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:44:26][DEBUG] : Autom for verif queue [{"time":1633531466,"instanceId":"615db64aef25c","status":1,"idAutomatisme":"2392","uniqueId":3,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:44:27][INFO] : TOGGLE light on: Prise Cafetière
[2021-10-06 16:44:27][DEBUG] : Pull values
[2021-10-06 16:44:27][DEBUG] : START REFRESH VALUES with status / lumen / color / temperature: 1   
[2021-10-06 16:44:27][DEBUG] : Binary light state
[2021-10-06 16:44:27][DEBUG] : Set new status Prise Bouilloire
[2021-10-06 16:44:27][DEBUG] : WILL REFRESH WIDGET
[2021-10-06 16:44:27][DEBUG] : START REFRESH VALUES with status / lumen / color / temperature: 1   
[2021-10-06 16:44:27][DEBUG] : Binary light state
[2021-10-06 16:44:27][DEBUG] : Set new status Prise Cafetière
[2021-10-06 16:44:27][DEBUG] : WILL REFRESH WIDGET
[2021-10-06 16:44:27][DEBUG] : END NIGHT LIGHT AUTOMATISME
[2021-10-06 16:44:27][DEBUG] : --------------------------------
[2021-10-06 16:44:27][DEBUG] : --------------------------------
[2021-10-06 16:44:27][DEBUG] : START NIGHT LIGHT AUTOMATISME for light: Prise Nespresso with presence 1
[2021-10-06 16:44:27][DEBUG] : In interval or interval not defined
[2021-10-06 16:44:27][DEBUG] : light status: 1
[2021-10-06 16:44:27][DEBUG] : AUTOM QUEUE :[{"time":1633530627,"instanceId":"615db3031932d","status":1,"idAutomatisme":"2390","uniqueId":1,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise","ponderation":0}]
[2021-10-06 16:44:27][DEBUG] : Autom queue [{"time":1633530627,"instanceId":"615db3031932d","status":1,"idAutomatisme":"2390","uniqueId":1,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise","ponderation":0}]
[2021-10-06 16:44:27][DEBUG] : SET AUTOMATISME QUEUE : [{"time":1633530627,"instanceId":"615db3031932d","status":1,"idAutomatisme":"2390","uniqueId":1,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise","ponderation":0}]
[2021-10-06 16:44:27][DEBUG] : AUTOM QUEUE :[{"time":1633530627,"instanceId":"615db3031932d","status":1,"idAutomatisme":"2390","uniqueId":1,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise","ponderation":0}]
[2021-10-06 16:44:27][DEBUG] : SET AUTOMATISME QUEUE : [{"time":1633530627,"instanceId":"615db3031932d","status":1,"idAutomatisme":"2390","uniqueId":1,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise","ponderation":0},{"time":1633531467,"instanceId":"615db64b2262f","status":1,"idAutomatisme":"2392","uniqueId":4,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:44:27][DEBUG] : AUTOM QUEUE :[{"time":1633530627,"instanceId":"615db3031932d","status":1,"idAutomatisme":"2390","uniqueId":1,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise","ponderation":0},{"time":1633531467,"instanceId":"615db64b2262f","status":1,"idAutomatisme":"2392","uniqueId":4,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:44:27][DEBUG] : Autom for verif queue [{"time":1633530627,"instanceId":"615db3031932d","status":1,"idAutomatisme":"2390","uniqueId":1,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise","ponderation":0},{"time":1633531467,"instanceId":"615db64b2262f","status":1,"idAutomatisme":"2392","uniqueId":4,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:44:27][INFO] : TOGGLE light on: Prise Nespresso
[2021-10-06 16:44:27][DEBUG] : END NIGHT LIGHT AUTOMATISME
[2021-10-06 16:44:27][DEBUG] : --------------------------------
[2021-10-06 16:44:27][DEBUG] : END AUTOMATISME
[2021-10-06 16:44:27][DEBUG] : --------------------------------
[2021-10-06 16:44:53][INFO] : --------------------------------
[2021-10-06 16:44:53][INFO] : START RETRIEVE AUTOMATISME
[2021-10-06 16:44:53][INFO] : 1 linked automatismes
[2021-10-06 16:44:53][INFO] : END RETRIEVE AUTOMATISME
[2021-10-06 16:44:53][INFO] : --------------------------------
[2021-10-06 16:44:57][INFO] : --------------------------------
[2021-10-06 16:44:57][INFO] : START RETRIEVE AUTOMATISME
[2021-10-06 16:44:57][INFO] : 1 linked automatismes
[2021-10-06 16:44:57][INFO] : END RETRIEVE AUTOMATISME
[2021-10-06 16:44:57][INFO] : --------------------------------
[2021-10-06 16:45:32][DEBUG] : Pull values
[2021-10-06 16:45:32][DEBUG] : --------------------------------
[2021-10-06 16:45:32][DEBUG] : START AUTOMATISME
[2021-10-06 16:45:32][DEBUG] : Automatisme type is: room
[2021-10-06 16:45:32][DEBUG] : 1 equipments contain this automatisme
[2021-10-06 16:45:32][DEBUG] : --------------------------------
[2021-10-06 16:45:32][DEBUG] : START ROOM AUTOMATISME for light: Lumière Bureau
[2021-10-06 16:45:32][DEBUG] : light status: 0
[2021-10-06 16:45:32][DEBUG] : presence 0
[2021-10-06 16:45:32][DEBUG] : lumen high
[2021-10-06 16:45:32][DEBUG] : END ROOM AUTOMATISME
[2021-10-06 16:45:32][DEBUG] : --------------------------------
[2021-10-06 16:45:32][DEBUG] : END AUTOMATISME
[2021-10-06 16:45:32][DEBUG] : --------------------------------
[2021-10-06 16:45:36][DEBUG] : Pull values
[2021-10-06 16:45:36][DEBUG] : --------------------------------
[2021-10-06 16:45:36][DEBUG] : START AUTOMATISME
[2021-10-06 16:45:36][DEBUG] : Automatisme type is: night_light
[2021-10-06 16:45:36][DEBUG] : Pull values
[2021-10-06 16:45:36][DEBUG] : --------------------------------
[2021-10-06 16:45:36][DEBUG] : START AUTOMATISME
[2021-10-06 16:45:36][DEBUG] : Automatisme type is: night_light
[2021-10-06 16:45:36][DEBUG] : 3 equipments contain this automatisme
[2021-10-06 16:45:36][DEBUG] : 0 equipments contain this automatisme
[2021-10-06 16:45:36][DEBUG] : END AUTOMATISME
[2021-10-06 16:45:36][DEBUG] : --------------------------------
[2021-10-06 16:45:36][DEBUG] : --------------------------------
[2021-10-06 16:45:36][DEBUG] : START NIGHT LIGHT AUTOMATISME for light: Prise Bouilloire with presence 0
[2021-10-06 16:45:36][DEBUG] : In interval or interval not defined
[2021-10-06 16:45:36][DEBUG] : light status: 1
[2021-10-06 16:45:36][DEBUG] : AUTOM QUEUE :[{"time":1633531466,"instanceId":"615db64a802ae","status":1,"idAutomatisme":"2392","uniqueId":3,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:45:36][DEBUG] : Autom queue [{"time":1633531466,"instanceId":"615db64a802ae","status":1,"idAutomatisme":"2392","uniqueId":3,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:45:36][DEBUG] : SET AUTOMATISME QUEUE : []
[2021-10-06 16:45:36][DEBUG] : Pull values
[2021-10-06 16:45:36][DEBUG] : AUTOM QUEUE :[]
[2021-10-06 16:45:36][DEBUG] : SET AUTOMATISME QUEUE : [{"time":1633531536,"instanceId":"615db6902fb4b","status":1,"idAutomatisme":"2392","uniqueId":3,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:45:36][DEBUG] : --------------------------------
[2021-10-06 16:45:36][DEBUG] : START AUTOMATISME
[2021-10-06 16:45:36][DEBUG] : Automatisme type is: night_light
[2021-10-06 16:45:36][DEBUG] : 0 equipments contain this automatisme
[2021-10-06 16:45:36][DEBUG] : END AUTOMATISME
[2021-10-06 16:45:36][DEBUG] : --------------------------------
[2021-10-06 16:46:21][DEBUG] : AUTOM QUEUE :[{"time":1633531466,"instanceId":"615db64aef25c","status":1,"idAutomatisme":"2392","uniqueId":3,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:46:21][DEBUG] : Autom for verif queue [{"time":1633531466,"instanceId":"615db64aef25c","status":1,"idAutomatisme":"2392","uniqueId":3,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:46:21][DEBUG] : ABORT AUTOMATISME, NO LONGER IN QUEUE
[2021-10-06 16:46:21][DEBUG] : END NIGHT LIGHT AUTOMATISME
[2021-10-06 16:46:21][DEBUG] : --------------------------------
[2021-10-06 16:46:21][DEBUG] : --------------------------------
[2021-10-06 16:46:21][DEBUG] : START NIGHT LIGHT AUTOMATISME for light: Prise Nespresso with presence 0
[2021-10-06 16:46:21][DEBUG] : In interval or interval not defined
[2021-10-06 16:46:21][DEBUG] : light status: 1
[2021-10-06 16:46:21][DEBUG] : AUTOM QUEUE :[{"time":1633530627,"instanceId":"615db3031932d","status":1,"idAutomatisme":"2390","uniqueId":1,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise","ponderation":0},{"time":1633531467,"instanceId":"615db64b2262f","status":1,"idAutomatisme":"2392","uniqueId":4,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:46:21][DEBUG] : Autom queue [{"time":1633530627,"instanceId":"615db3031932d","status":1,"idAutomatisme":"2390","uniqueId":1,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise","ponderation":0},{"time":1633531467,"instanceId":"615db64b2262f","status":1,"idAutomatisme":"2392","uniqueId":4,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:46:21][DEBUG] : SET AUTOMATISME QUEUE : [{"time":1633530627,"instanceId":"615db3031932d","status":1,"idAutomatisme":"2390","uniqueId":1,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise","ponderation":0}]
[2021-10-06 16:46:21][DEBUG] : AUTOM QUEUE :[{"time":1633530627,"instanceId":"615db3031932d","status":1,"idAutomatisme":"2390","uniqueId":1,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise","ponderation":0}]
[2021-10-06 16:46:21][DEBUG] : SET AUTOMATISME QUEUE : [{"time":1633530627,"instanceId":"615db3031932d","status":1,"idAutomatisme":"2390","uniqueId":1,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise","ponderation":0},{"time":1633531581,"instanceId":"615db6bda3e6b","status":1,"idAutomatisme":"2392","uniqueId":2,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise","ponderation":0}]
[2021-10-06 16:49:13][INFO] : Start deamon
[2021-10-06 16:49:13][INFO] : --------------------------------
[2021-10-06 16:49:13][INFO] : START RETRIEVE AUTOMATISME
[2021-10-06 16:49:13][INFO] : 0 linked automatismes
[2021-10-06 16:49:13][INFO] : END RETRIEVE AUTOMATISME
[2021-10-06 16:49:13][INFO] : --------------------------------
[2021-10-06 16:50:36][DEBUG] : --------------------------------
[2021-10-06 16:50:36][DEBUG] : --------------------------------
[2021-10-06 16:50:36][DEBUG] : START NIGHT LIGHT AUTOMATISME for light: Prise Cafetière with presence 0
[2021-10-06 16:50:36][DEBUG] : In interval or interval not defined
[2021-10-06 16:50:36][DEBUG] : light status: 1
[2021-10-06 16:50:36][DEBUG] : AUTOM QUEUE :[{"time":1633531466,"instanceId":"615db64aef25c","status":1,"idAutomatisme":"2392","uniqueId":3,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:50:36][DEBUG] : Autom queue [{"time":1633531466,"instanceId":"615db64aef25c","status":1,"idAutomatisme":"2392","uniqueId":3,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:50:36][DEBUG] : SET AUTOMATISME QUEUE : []
[2021-10-06 16:50:36][DEBUG] : AUTOM QUEUE :[]
[2021-10-06 16:50:36][DEBUG] : SET AUTOMATISME QUEUE : [{"time":1633531836,"instanceId":"615db7bc6e2c1","status":1,"idAutomatisme":"2392","uniqueId":3,"automatismeType":"night_light","humanName":null,"name":"Automatisme Prise1","ponderation":0}]
[2021-10-06 16:50:37][DEBUG] : Pull values
[2021-10-06 16:50:37][DEBUG] : START REFRESH VALUES with status / lumen / color / temperature: 0   
[2021-10-06 16:50:37][DEBUG] : Binary light state
[2021-10-06 16:50:37][DEBUG] : Set new status Prise Bouilloire
[2021-10-06 16:50:37][DEBUG] : Found group: Groupe Prise that contains the equipment Prise Bouilloire
[2021-10-06 16:50:37][DEBUG] : WILL REFRESH WIDGET

Bon j’ai trouvé, ca va me demander un peu de temps de résolution.
Pour te débloquer tu peux utiliser un groupe et appliquer l’automatisme sur le groupe. Ca devrait résoudre ton problème.

Yes t’inquiète pas j’ai fait un groupe et cela fonctionne impec