feat(BuzzerManager): Alignement couleur déblocage avec WLED
- Changement de la couleur de déblocage vers Magenta (#FF00FF) - Suppression de l'effet rainbow au déblocage pour éviter les conflits visuels
This commit is contained in:
@@ -188,10 +188,10 @@ client.on('message', (topic, message) => {
|
|||||||
if (topic === 'vulture/buzzer/unlock') {
|
if (topic === 'vulture/buzzer/unlock') {
|
||||||
console.log('[INFO] Buzzer unlock requested');
|
console.log('[INFO] Buzzer unlock requested');
|
||||||
|
|
||||||
// Notify the light manager to change to the team's color
|
// Notify the light manager to change to the default color
|
||||||
client.publish('vulture/light/change', JSON.stringify({
|
client.publish('vulture/light/change', JSON.stringify({
|
||||||
color: "#FFFFFF",
|
color: "#FF00FF",
|
||||||
effect: 'rainbow'
|
effect: 'none'
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// Reset buzzer manager state
|
// Reset buzzer manager state
|
||||||
|
|||||||
Reference in New Issue
Block a user