A method and apparatus for providing distributed control of a home
automation and control system is provided. Each device participating in a
home automation and control system is equipped with control logic for
providing distributed control. Through the control logic, each device
maintains scene definitions describing the state of the device for each
scene in which it participates. When any device in the system receives a
request to launch a scene, such as a button press on one of the devices,
the device broadcasts a scene state change message to all devices within
the home automation and control system. The scene state change message
identifies to each device that a particular scene that should be launched.
Each device in the system receives the message and determines whether the
device is a participant in the scene. If the device is a participant in
the scene, the device adjusts its state according to a scene definition
stored in the device associated with the scene. The device may adjust a
controlled electrical load, such as a light, according to the scene
definition by turning the load on, off, or setting the load to some
intermediate value. If the device is a not participant in the scene, the
device remains unaffected.
Μια μέθοδος και μια συσκευή για το διανεμημένο έλεγχο ενός συστήματος εγχώριων αυτοματοποίησης και ελέγχου παρέχονται. Κάθε συσκευή που συμμετέχει σε ένα σύστημα εγχώριων αυτοματοποίησης και ελέγχου είναι εξοπλισμένη με τη λογική ελέγχου για την παροχή του διανεμημένου ελέγχου. Μέσω της λογικής ελέγχου, κάθε συσκευή διατηρεί τους ορισμούς σκηνής περιγράφοντας την κατάσταση της συσκευής για κάθε σκηνή στην οποία συμμετέχει. Όταν οποιαδήποτε συσκευή στο σύστημα λαμβάνει ένα αίτημα να προωθηθεί μια σκηνή, όπως ένας Τύπος κουμπιών σε μια από τις συσκευές, η συσκευή μεταδίδει ραδιοφωνικά ένα μήνυμα κρατικής αλλαγής σκηνής σε όλες τις συσκευές μέσα στο σύστημα εγχώριων αυτοματοποίησης και ελέγχου. Το μήνυμα κρατικής αλλαγής σκηνής προσδιορίζει σε κάθε συσκευή που μια ιδιαίτερη σκηνή που πρέπει να προωθηθεί. Κάθε συσκευή στο σύστημα λαμβάνει το μήνυμα και καθορίζει εάν η συσκευή είναι συμμετέχων στη σκηνή. Εάν η συσκευή είναι συμμετέχων στη σκηνή, η συσκευή ρυθμίζει το κράτος της σύμφωνα με έναν ορισμό σκηνής που αποθηκεύεται στη συσκευή που συνδέεται με τη σκηνή. Η συσκευή μπορεί να ρυθμίσει ένα ελεγχόμενο ηλεκτρικό φορτίο, όπως ένα φως, σύμφωνα με τον ορισμό σκηνής με να ανοίξει το φορτίο, από, ή τον καθορισμό του φορτίου σε κάποια ενδιάμεση αξία. Εάν η συσκευή είναι όχι συμμετέχων στη σκηνή, η συσκευή παραμένει απρόσβλητη.