Not a bug Unexpected device behavior if "On/Off" is set to "Off" and signal it receives is inverted

Discussion in 'Archive (Read Only)' started by Inappropriate, Jul 24, 2021.

Tags:
  1. Inappropriate

    Inappropriate Captain

    Joined:
    Mar 17, 2017
    Messages:
    286
    Likes Received:
    274
    Build: 1.5.3 3390
    Mode: Any
    Mode: Any


    Reproducibility: Always
    Severity: Minor

    Type: Signal Logic)

    Summary: Unexpected device behavior if "On/Off" is set to "Off" and signal it receives is inverted.

    Description: If a devices "On/Off" behavior is set to "Off" and signal it receives from a motion sensor is inverted the device will turn off when the sensor area is entered AND when it is left. One would expect it to turn off ONLY when the sensor area is left.


    Steps to Reproduce:
    1. Load the attached save game. I have already primed the base with both a light (on) and a door (open) that are set up to turn off and close respectively when there is nothing in the motion sensor area.
    2. Walk to the door until you enter the crosshatch area. Note that the door closes and the light turns off. This is the unexpected behavior.
    3. Press the activate key to manually open the door then open the control panel and turn the light on.
    4. Walk away from the door until you leave the crosshatch area. Note that the door closes and the light turns off. This is the expected behavior.

    My setup
    Shipyard_2021-07-24_03-52-50.jpg

    The signal logic
    Shipyard_2021-07-24_03-53-40.jpg
     

    Attached Files:

    #1
  2. Pantera

    Pantera Administrator Staff Member

    • Developer
    • Moderator
    Joined:
    Aug 15, 2016
    Messages:
    3,415
    Likes Received:
    6,094
    For this you wouldn't use the "Off" option you would use "Follow".

    ON = it enables one time if you are going into the detection area or enable a lever
    OFF = it disables one time if you are going into the detection area or enable a lever
    Toggle = it enables on first visit / disables on second visit
    Follow = it enables if you are in range, disables if you are outside the range

    "On" and "Off" have only rare use cases, since they can only switch something one time in one direction. Example: If you have a light that is on and set the light signal logic to "Off" then when a user enters the sensor area the light goes to off and that's it. It will never go back on until you combine another sensor logically to achieve this.
     
    #2

Share This Page