Clipsal C-Bus Betriebsanweisung Seite 45

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 60
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 44
cbus Documentation, Release 0.1-dev
lighting_group_terminate_ramp(source_addr, group_addr)
Stops ramping a group address at the current point.
Parameters
source_addr (int) – Source address of the event.
group_addr (int) – Group address to stop ramping of.
Returns Single-byte string with code for the confirmation event.
Return type string
lineReceived(line)
Called by LineReciever when a new line has been recieved on the PCI connection.
Do not override this.
Parameters line (str) – Raw CBus event data
local_echo = True
monitor = False
on_clock_request()
Event called when a clock application “request time” is recieved.
on_clock_update(variable, val)
Event called when a clock application “update time” is recieved.
Parameters
variable (datetime.date or datetime.time) – Clock variable to update.
val – Clock value
on_lighting_group_off(group_addr)
Event called when a lighting application “off” request is recieved.
Parameters group_addr (int) – Group address being turned off.
on_lighting_group_on(group_addr)
Event called when a lighting application “on” request is recieved.
Parameters group_addr (int) – Group address being turned on.
on_lighting_group_ramp(group_addr, duration, level)
Event called when a lighting application ramp (fade) request is recieved.
Parameters
group_addr (int) – Group address being ramped.
duration (int) – Duration, in seconds, that the ramp is occurring over.
level (float) – Target brightness of the ramp (0.0 - 1.0).
on_lighting_group_terminate_ramp(group_addr)
Event called when a lighting application “terminate ramp” request is recieved.
Parameters group_addr (int) – Group address ramp being terminated.
on_reset()
Event called when the PCI has been hard reset.
send_confirmation(code, ok=True)
send_error()
8.1. cbus Package 41
Seitenansicht 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 59 60

Kommentare zu diesen Handbüchern

Keine Kommentare