Changes between Version 31 and Version 32 of Proposal


Ignore:
Timestamp:
Jun 5, 2013, 2:51:10 PM (11 years ago)
Author:
Frédéric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Proposal

    v31 v32  
    5353ets.link(dev=station, dp="wind_alarm_enable", gad="1/1/6")
    5454}}}
    55 
    56 ''Note: I skipped some part of the code, like the device registration and other stuff like that, to keep things  clear.''
    5755
    5856That's it! As you can see, concepts used here are not new... This device can be then used from any other real device of your installation, through GADs {{{1/1/1}}} to {{{1/1/6}}}. All you have to do, is to link the Communication Objects of your real devices to these GADs, using the '''ETS''' application. For example, the DP Nr 4 will send the {{{"Alarm"}}} value over the bus when the wind speed will reach the value stored in DP Nr 5, but only if the value of the DP Nr 6 as been set to {{{"Enable"}}}. By linking this alram object to the alarm entry of you sun blinds, you can save them from destruction!