Difference between revisions of "Translations:Door-sensor/2/en"

From Larnitech wiki page
Jump to navigation Jump to search
(Importing a new version from external source)
 
(No difference)

Latest revision as of 15:35, 25 January 2022

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Door-sensor)
<syntaxhighlight lang="xml" line>
<item type="door-sensor" addr="181:3" name="Input"/>
</syntaxhighlight>
===Additional parameters===
{|class="wikitable"
|-
!Name!!type and variety!!description!!default value
|-
|text||string;string||alternative messages setting for displaying the values in the interface||open;close
|-
|sub-type||enum||fire<br>smoke<br>co2<br>lock<br>alarm<br>contact<br>motion<br>gas<br>leak<br>glass||-
|-
|msg||String||For other sub-types in app, a message that is defined in this attribute will be received. For example: msg="ALARM". The message "ALARM" will be received in the app||For sub-type: fire, smoke and CO2, a default message is sent.
|}
Translation<syntaxhighlight lang="xml" line>
<item type="door-sensor" addr="181:3" name="Input"/>
</syntaxhighlight>
===Additional parameters===
{|class="wikitable"
|-
!Name!!type and variety!!description!!default value
|-
|text||string;string||alternative messages setting for displaying the values in the interface||open;close
|-
|sub-type||enum||fire<br>smoke<br>co2<br>lock<br>alarm<br>contact<br>motion<br>gas<br>leak<br>glass||-
|-
|msg||String||For other sub-types in app, a message that is defined in this attribute will be received. For example: msg="ALARM". The message "ALARM" will be received in the app||For sub-type: fire, smoke and CO2, a default message is sent.
|}
1<item type="door-sensor" addr="181:3" name="Input"/>

Additional parameters

Name type and variety description default value
text string;string alternative messages setting for displaying the values in the interface open;close
sub-type enum fire
smoke
co2
lock
alarm
contact
motion
gas
leak
glass
-
msg String For other sub-types in app, a message that is defined in this attribute will be received. For example: msg="ALARM". The message "ALARM" will be received in the app For sub-type: fire, smoke and CO2, a default message is sent.