Tridonic

From HSYCO
Revision as of 10:09, 22 January 2014 by Hsyco (talk | contribs) (Created page with "Tridonic is a lighting system based on the DALI bus technology. HSYCO integrates this system and communicates with it through the DALI SCI2 interface module and its communicat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Tridonic is a lighting system based on the DALI bus technology. HSYCO integrates this system and communicates with it through the DALI SCI2 interface module and its communication protocol. The integration relies on a direct connection between the DALI SCI2 interface and HSYCO server’s RS-232 serial port, or through a TCP/IP to serial port gateway.

Communication

The DALI SCI2 interface module communicates with HSYCO through a RS-232 interface.

RS-232 parameters:

Baud rate 38400 bps
Data bits 8
Stop bit 1
Parity none

Further, the RS-232 signals RTS and DTR must be set to the following levels: RTS = +6 ... +12 V DTR = -6 ... -12 V Refer to the SCI2 manual for installation, wiring and power supply requirements.

Tridonic Configuration

On one BUS, there can be up to 64 dimmers, addressed from 0 to 63, organized in up to 16 groups (0 - 15) or individually addressable. The driver also includes the support for the MSensor 2.0 motion detector and photometer functionalities. The MSensor 2.0 can be configured to work in two different modes:

- Direct-master mode (default mode): The MSensor has a DALI address and sends motion detection and light regulation commands to the group specified by its rotary switch (if the switch is set on the value X the controlled group will be X - 1, if the switch is set on “0” the commands are broadcasted). The light intensity value measured by the light sensor is only read upon request (see I/O Events API)

- Indirect-master mode: The MSensor doesn’t have a DALI address and does not control any dimmer directly. The motion detector and the light sensor have two different eDALI (extended DALI) addresses from which they send motion and light intensity asynchronous events.

HSYCO Configuration

Options

ID Default Values Description
discovery true true auto-detects all DALI devices and groups, and automatically lists them in the systemtopo.txt file
false auto-detect for devices is disabled
startupevents false true generate IO events also during the driver’s start-up phase
false start generating events only after HSYCO is aligned with the current status of the system
broadcastrange 1...254 <min>-<max> specifies the minimum <min> and maximum<max> allowed light levels for the broadcast command
groupsrange g<n>:1...254 g<n>:<min>-<max> specifies the minimum <min> and maximum<max> allowed light levels for the group <n>. If more than one group range is to be specified, then list the ranges separated by “;”, e.g. groupsrange=g0:20-254;g1:40-250
luxdelta 0 &ge 0 option for MSensors. Specifies the minimum difference between light intensity readings required to generate a new event. I.e. when a “xxx.lux” event is generated, a new event (from the same sensor) will be generated only if the new value is greater than the old value plus the luxdelta value or smaller than the old value minus the luxdelta value

Datapoints

ID Value R/W Description
connection online R connection established
offline R HSYCO can't connect to the panel
power 1 R the system is on
0 R the system is off
W turn the system off
z<n>.power 1 R zone <n> is on
W turn zone <n> on
0 R zone <n> is off
W turn zone <n> off
flip W toggle the power status of zone N
z<n>.source 0 R zone <n> is off
1...6 R the audio source of zone <n> is set to the reported source number
W set the audio source of zone <n> to the specified source number
r1 R the audio source of zone <n> is set to the radio of module 1
W set the audio source of zone <n> to the radio of module 1
r2 R the audio source of zone <n> is set to the radio of module 2
W set the audio source of zone <n> to the radio of module 2
z<n>.volume off R zone <n> is muted
W mute zone <n>
on W un-mute zone <n>
0...100% R the volume level of zone <n> is set to the specified value
W set the volume level of zone <n> to the specified value
up W increase the volume level of zone <n>
down W decrease the volume level of zone <n>
z<n>.mute 1 R zone <n> is muted
W mute zone <n>
0 R zone <n> is un-muted
W un-mute zone <n>
flip W toggle the mute status of zone <n>
z<n>.bass <val> R the bass level of zone <n> is set to the specified value (between “-12” and “+12”)
W set the bass level of zone <n> to the specified value (between “-12” and “+12”)
up W increases the bass level of zone <n>
down W decreases the bass level of zone <n>
z<n>.treble <val> R the treble level of zone <n> is set to the specified value (between “-12” and “+12”)
W set the treble level of zone <n> to the specified value (between “-12” and “+12”)
up W increases the treble level of zone <n>
down W decreases the treble level of zone <n>
z<n>.dnd 1 R “do not disturb” mode is enabled on zone <n>
W enable “do not disturb” mode on zone <n>
0 R “do not disturb” mode is disabled on zone <n>
W disable “do not disturb” mode on zone <n>
flip W toggles the “do not disturb” mode on zone <n>
z<n>.loud 1 R the loudness EQ setting is enabled on zone <n>
W enable the loudness EQ setting on zone <n>
0 R the loudness EQ setting is disabled on zone <n>
W disable the loudness EQ setting on zone <n>
flip W toggle the loudness EQ setting on zone <n>
z<n>.preamp fix R the pre-amp output of zone <n> is set to fixed
W set the pre-amp output of zone <n> to fixed
var R the pre-amp output of zone <n> is set to variable
W set the pre-amp output of zone <n> to variable
flip W toggle the status of the pre-amp output of zone <n>
z<n>.mono 1 R the audio mode of zone <n> is set to mono
W set the audio mode of zone <n> to mono
0 R the audio mode of zone <n> is set to stereo
W set the audio mode of zone <n> to stereo
flip W toggle the audio mode of zone <n>
z<n>.whm 1 R “whole house music” mode is active on zone <n>
W activate “whole house music” mode on zone <n>
0 R “whole house music” mode is not active on zone <n>
W deactivate “whole house music” mode on zone <n>
flip W toggle the “whole house music” mode on zone <n>
m<n>.sti<m> 1 R sense trigger input <m> on module <n> is present
0 R sense trigger input <m> on module <n> is absent
m<n>.asi<m> 1 R audio source input <m> on module <n> is present
0 R audio source input <m> on module <n> is absent
m<n>.tuner.band am R the tuner of module <n> is set on the AM radio band
W set the tuner of module <n> on the AM radio band
fm R the tuner of module <n> is set on the FM radio band
W set the tuner of module <n> on the FM radio band
m<n>.tuner.tune <xxxx> R the tuner of module <n> is tuned on the reported frequency
W tune the frequency of the tuner of module <n> on the specified value
up W increase the frequency of the tuner of module <n>
down W decrease the frequency of the tuner of module <n>
m<n>.tuner.seek up W tune module <n> on the next valid station with higher frequency
down W tune module <n> on the next valid station with lower frequency
m<n>.tuner.group <group> R the selected group of preset radio stations for the tuner of module <n> is set to the reported value (A,B,C, or D)
W set the selected group of preset radio stations for the tuner of module <n> to the specified value (A,B,C, or D)
m<n>.tuner.mode preset R the tuning mode for the tuner of module <n> is set to preset
W set the tuning mode for the tuner of module <n> to preset
direct R the tuning mode for the tuner of module <n> is set to direct
W set the tuning mode for the tuner of module <n> to direct
m<n>.tuner.preset <xx> R the current preset for the tuner of module <n> is the reported value
W tunes module <n> to the specified preset value
up W set the tuner of module <n> to the next higher preset
down W set the tuner of module <n> to the next lower preset
save W saves the currently selected station on module <n> as a preset
del W delete the current preset on module <n>
m<n>.tuner.scan up W scan through presets upwards. The station is automatically changed every 10 seconds until another command is sent
down W scan through presets downwards. The station is automatically changed every 10 seconds until another command is sent
m<n>.tuner.signal <val> R the signal strength of the currently tuned station corresponds to the reported value
m<n>.tuner.mono 1 R the audio mode of the tuner of module <n> is set to mono
W set the audio mode of the tuner of module <n> to mono
0 R the audio mode of the tuner of module <n> is set to stereo
W set the audio mode of the tuner of module <n> to stereo
flip W toggle the audio mode of the tuner of module <n>
m<n>.tuner.mdf.name <text> R the name metadata of the current station of the tuner of module <n> is set to the reported text
m<n>.tuner.mdf.text <text> R the text metadata of the current station of the tuner of module <n> is set to the reported text
m<n>.tuner.mdf.gen <text> R the genre metadata of the current station of the tuner of module <n> is set to the reported text
m<n>.tuner.mdf.cl <text> R the name call letters of the current station of the tuner of module <n> is set to the reported text
m<n>.tuner.digit <0...9> W send the specified digit for direct tuning to module <n>
canc W clears any digit previously entered on module <n>
ok W sends the enter command to module <n>

User Interface

Aton Object

The user interface for the Aton multi-room system:

UI Object aton.png

The Aton object is listed in the Project Editor’s new object list only when at least one Aton I/O Server is defined.


Parameters

  • server id: the server ID. Supports Redirect variables
  • module: module. Supports Redirect variables
  • zone: zone number of the Aton multi-room system (max 12 zones). Supports Redirect variables
  • position: the object's position. Use the pixels or rows and columns coordinates format

Syntax

(aton <server id>; <module>; <zone>; <position>)

E.g.

(aton serverid; module; zone; x10y20)

UISET Actions

ID Attribute Set to
connection.label.online visible true when datapoint connection = online
false when datapoint connection = offline
connection.label.offline visible true when datapoint connection = offline
false when datapoint connection = online

USER Commands

To send a user command to the I/O Server just set the name to the ID of a writable (W) datapoint and the parameter to one of the possible values.

For instance, setting the name of a user button to “aton.z1.power” and its param field to “flip”, will result in having a switch for zone 1. Naming it “aton.z1.source” with a valid source as param (e.g. “1”, “2”, or “R1”) will result in a button for setting the audio source of the zone.