Method for voting within a group of devices, each device in said group having, in memory, a state of said group as known to said device, said group being controlled by at least one controller configured to send commands to said devices in said group, said devices in said group and said at least one controller being interconnected by a local area network, said method comprising the following steps implemented by a device in said group, called current device, following detection of inconsistency in the state of said group: - obtaining a checksum representative of the state of the group as known to said current device and selecting said obtained checksum; - triggering a voting procedure comprising at least one round of a predefined duration, said at least one round comprising: - sending a vote message comprising the selected checksum and a current round number; - receiving vote messages from the other devices in said group, each of said received vote messages comprising a checksum representative of the state of the group as known to said device transmitting said vote message and a round number; - incrementing, for each vote message received during said predefined duration and whose round number is equal to the current round number, a counter associated with said checksum representative of the state of the group as contained in said received vote message; and - if the vote messages received in the current round do not comprise the same checksum (E604, E605), selecting the checksum associated with the counter with the highest value, erasing the counters, incrementing the round number and carrying out a new round of voting; - if the vote messages received in the current round comprise the same checksum (E604, E608, E609, E610, E611), said current device adopts the state of the group as represented by said checksum. - obtaining a checksum representative of the state of the group as known to said current device and selecting said obtained checksum; - triggering a voting procedure comprising at least one round of a predefined duration, said at least one round comprising: - sending a vote message comprising the selected checksum and a current round number; - receiving vote messages from the other devices in said group, each of said received vote messages comprising a checksum representative of the state of the group as known to said device transmitting said vote message and a round number; - incrementing, for each vote message received during said predefined duration and whose round number is equal to the current round number, a counter associated with said checksum representative of the state of the group as contained in said received vote message; and - if the vote messages received in the current round do not comprise the same checksum (E604, E605), selecting the checksum associated with the counter with the highest value, erasing the counters, incrementing the round number and carrying out a new round of voting; - sending a vote message comprising the selected checksum and a current round number; - receiving vote messages from the other devices in said group, each of said received vote messages comprising a checksum representative of the state of the group as known to said device transmitting said vote message and a round number; - incrementing, for each vote message received during said predefined duration and whose round number is equal to the current round number, a counter associated with said checksum representative of the state of the group as contained in said received vote message; and - if the vote messages received in the current round do not comprise the same checksum (E604, E605), selecting the checksum associated with the counter with the highest value, erasing the counters, incrementing the round number and carrying out a new round of voting; - if the vote messages received in the current round comprise the same checksum (E604, E608, E609, E610, E611), said current device adopts the state of the group as represented by said checksum.