air alarm signal ports and other stuff (#18642)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -8,7 +8,7 @@ signal-port-name-off-transmitter = Off
|
||||
signal-port-description-off-transmitter = This port is invoked whenever the transmitter is turned off.
|
||||
|
||||
signal-port-name-status-transmitter = Status
|
||||
signal-port-description-logic-output = This port is invoked with HIGH or LOW depending on the transmitter status.
|
||||
signal-port-description-status-transmitter = This port is invoked with HIGH or LOW depending on the transmitter status.
|
||||
|
||||
signal-port-name-left = Left
|
||||
signal-port-description-left = This port is invoked whenever the lever is moved to the leftmost position.
|
||||
@@ -36,3 +36,12 @@ signal-port-description-logic-output-high = This port is invoked whenever the in
|
||||
|
||||
signal-port-name-logic-output-low = Low Output
|
||||
signal-port-description-logic-output-low = This port is invoked whenever the input has a falling edge.
|
||||
|
||||
signal-port-name-air-danger = Danger
|
||||
signal-port-description-air-danger = This port is invoked with HIGH when in danger mode and LOW when not.
|
||||
|
||||
signal-port-name-air-warning = Warning
|
||||
signal-port-description-air-warning = This port is invoked with HIGH when in warning mode and LOW when not.
|
||||
|
||||
signal-port-name-air-normal = Normal
|
||||
signal-port-description-air-normal = This port is invoked with HIGH when in normal mode and LOW when not.
|
||||
|
||||
@@ -96,3 +96,21 @@
|
||||
name: signal-port-name-logic-output-low
|
||||
description: signal-port-description-logic-output-low
|
||||
defaultLinks: [ Off, Close ]
|
||||
|
||||
- type: sourcePort
|
||||
id: AirDanger
|
||||
name: signal-port-name-air-danger
|
||||
description: signal-port-description-air-danger
|
||||
defaultLinks: [ DoorBolt ]
|
||||
|
||||
- type: sourcePort
|
||||
id: AirWarning
|
||||
name: signal-port-name-air-warning
|
||||
description: signal-port-description-air-warning
|
||||
defaultLinks: [ DoorBolt ]
|
||||
|
||||
- type: sourcePort
|
||||
id: AirNormal
|
||||
name: signal-port-name-air-normal
|
||||
description: signal-port-description-air-normal
|
||||
defaultLinks: [ DoorBolt ]
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
id: AirAlarm
|
||||
name: air alarm
|
||||
description: An air alarm. Alarms... air?
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
snap:
|
||||
- Wallmount
|
||||
components:
|
||||
- type: WallMount
|
||||
- type: ApcPowerReceiver
|
||||
@@ -16,14 +20,22 @@
|
||||
prefix: device-address-prefix-air-alarm
|
||||
sendBroadcastAttemptEvent: true
|
||||
- type: WiredNetworkConnection
|
||||
# for output status ports
|
||||
- type: WirelessNetworkConnection
|
||||
range: 200
|
||||
- type: DeviceList
|
||||
- type: DeviceNetworkRequiresPower
|
||||
- type: DeviceLinkSource
|
||||
ports:
|
||||
- AirDanger
|
||||
- AirWarning
|
||||
- AirNormal
|
||||
- type: AtmosAlarmable
|
||||
syncWith:
|
||||
- AirAlarm
|
||||
- AirSensor
|
||||
- GasVent
|
||||
- GasScrubber
|
||||
- AirAlarm
|
||||
- AirSensor
|
||||
- GasVent
|
||||
- GasScrubber
|
||||
- type: AtmosAlarmableVisuals
|
||||
layerMap: "airAlarmBase"
|
||||
alarmStates:
|
||||
@@ -85,15 +97,15 @@
|
||||
- !type:PlaySoundBehavior
|
||||
sound:
|
||||
path: /Audio/Effects/metalbreak.ogg
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
snap:
|
||||
- Wallmount
|
||||
|
||||
- type: entity
|
||||
id: AirAlarmAssembly
|
||||
name: air alarm assembly
|
||||
description: An air alarm. Doesn't look like it'll be alarming air any time soon.
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
snap:
|
||||
- Wallmount
|
||||
components:
|
||||
- type: WallMount
|
||||
- type: Clickable
|
||||
@@ -115,7 +127,3 @@
|
||||
node: assembly
|
||||
- type: Transform
|
||||
anchored: true
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
snap:
|
||||
- Wallmount
|
||||
|
||||
Reference in New Issue
Block a user