Changes

no edit summary
Line 28: Line 28:  
schematic.png
 
schematic.png
   −
To build this schematic, you would need to use the electrical components as mentioned above, only in this case we will use 2 Relays and 2 Diodes. As mentioned earlier, using this schematic without the diode, raises risk damaging the device.
+
To build this schematic, you would need to use the same electrical components as mentioned above, only in this case we will use 2 Relays and 2 Diodes. As mentioned earlier, using this schematic without the diode, raises risk damaging the device.
    
==Device configuration==
 
==Device configuration==
   −
If you chose the first option, no additional device configuration is needed. If you would like a set up based on the second schematic, you would need to do additional configuring in the device. First of all, we need a custom startup script to toggle a second relay to ON position. Follow these steps to configure startup behavior:
+
If you chose the first option, no additional device configuration is needed. If you would like a set up based on the second schematic, you would need to do additional configuring in the device.  
 +
 
 +
===Startup script===
 +
----
 +
First of all, we need a custom startup script to toggle a second relay to ON position. Follow these steps to configure startup behavior:
    
* Navigate to '''System -> Custom scripts -> Startup script'''.
 
* Navigate to '''System -> Custom scripts -> Startup script'''.
Line 38: Line 42:     
[[File:Startupscriptoutput.png|border|class=tlt-border]]
 
[[File:Startupscriptoutput.png|border|class=tlt-border]]
 +
 +
===Input/Output Juggler configuration===
 +
----
 +
Input/Output configuration also needs some changes for this functionality to work as intended.
 +
 +
* Navigate to '''Services -> Input/Output -> IO Juggler'''.
 +
* In the general tab, press enable to turn on I/O Juggler functionality.
 +
 +
[[File:Enableiojuggler.png|border|class=tlt-border]]
 +
 +
===Action configuration===
 +
----
 +
* Navigate to Actions tab.
 +
* In the '''Add new instance''' section, input name (delayoff in this example) for action and in '''Type''' select '''Output''', press '''Add'''.
 +
 +
[[File:Addnewinstance.png|border|class=tlt-border]]
 +
 +
In the new window, configure the settings according to the explanations below.
 +
 +
* Type: Output.
 +
* Execution delay (how long you would like to keep the router on after the ignition turns off): your preferred time in seconds.
 +
* Control: Output (4) (Output pin on which the relay control is connected).
 +
* State: Low.
 +
 +
Leave everything else as default, press '''Save & Apply'''.
 +
 +
[[File:Actionsettingsrelay.png|border|class=tlt-border]]
 +
 +
===Instance configuration===
 +
----
 +
Switch back to the '''General''' tab. In the '''Add new instance''' section, select '''Role: Input(3)''' and press '''Add''' to add new instance.
 +
 +
[[File:Generaltabinstancerly.png|border|class=tlt-border]]
 +
 +
In the new window, configure the settings according to the explanations below.
 +
 +
* Press '''Enable''' to enable the instance.
 +
* Trigger interval – 1.
 +
* Trigger – Falling (reacts when state goes from On to Off).
 +
* Add actions – select the action which you‘ve created previously (delayoff in this example).
 +
* Press '''Save & Apply'''.
 +
 +
[[File:Jugglerinstance.png|border|class=tlt-border]]