Subversion Repositories HomeAutomation

Rev

Rev 1059 | Rev 1074 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1059 Rev 1072
Line 255... Line 255...
255
    <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
255
    <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
256
    <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
256
    <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
257
      </variables>
257
      </variables>
258
    </command>
258
    </command>
259
   
259
   
260
    <command id="128" name="Demo" type="specific" module="Dimmer230" description="">
260
    <command id="128" name="Demo" type="specific" module="Dimmer230" description="Fade to x+steps/2, then to x-steps/2 and then back to x. If x is close to, or at, top or bottom then fade more to the other direction">
261
     <variables>
261
     <variables>
262
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
262
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
263
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
263
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms"/>
264
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
264
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
265
      </variables>
265
      </variables>
266
    </command>
266
    </command>
267
   
267
   
268
    <command id="129" name="Start_Fade" type="specific" module="Dimmer230" description="">
268
    <command id="129" name="Start_Fade" type="specific" module="Dimmer230" description="Fade in a direction and don't stop until another command is received or top/bottom is reached">
269
     <variables>
269
     <variables>
270
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
270
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
271
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
271
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
272
        <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
272
        <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
273
      </variables>
273
      </variables>
274
    </command>
274
    </command>
275
    <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="">
275
    <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="If a fade is in progress, then stop">
276
      <variables>
276
      <variables>
277
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
277
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
278
      </variables>
278
      </variables>
279
    </command>
279
    </command>
280
    <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="">
280
    <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="Fade to a defined value, stops when another command is received">
281
     <variables>
281
     <variables>
282
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
282
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
283
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
283
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
284
        <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
284
        <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
285
      </variables>
285
      </variables>
286
    </command>
286
    </command>
287
    <command id="132" name="Rel_Fade" type="specific" module="Dimmer230" description="">
287
    <command id="132" name="Rel_Fade" type="specific" module="Dimmer230" description="Fade a number of steps in a defined direction, stops when another command is received or top/bottom is reached">
288
     <variables>
288
     <variables>
289
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
289
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
-
 
290
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
290
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
291
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
-
 
292
            <value id="0" name="Decrease"/>
-
 
293
            <value id="1" name="Increase"/>
-
 
294
        </variable>
291
        <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
295
        <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description="Number of steps to fade"/>
-
 
296
      </variables>
-
 
297
    </command>
-
 
298
    <command id="133" name="Netinfo" type="specific" module="Dimmer230" description="Information about the connected net power">
-
 
299
     <variables>
-
 
300
        <variable name="Connection" type="enum" start_bit="0" bit_length="1" unit="" description="If the dimmer is connected to net power">
-
 
301
            <value id="0" name="Disconnected"/>
-
 
302
            <value id="1" name="Connected"/>
-
 
303
        </variable>
292
        <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
304
        <variable name="Frequency" type="float" start_bit="8" bit_length="16" unit="" description="Measured frequency of the net power"/>
293
      </variables>
305
      </variables>
294
    </command>
306
    </command>
295
  </commands>
307
  </commands>
296
  <modules>
308
  <modules>
297
    <module id="0" name="Debug" class="tst"/>
309
    <module id="0" name="Debug" class="tst"/>