Changes

Line 50: Line 50:  
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.  
 
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===
+
===Setting Output pin state===
 
----
 
----
First of all, we need a custom startup script to toggle a second relay to ON position. Follow these steps to configure startup behavior:
+
First of all, we need to set the second relay to ON position by setting the Output pin to High state. Follow these steps to configure default Output pin state:
    +
* Navigate to '''Services -> Input/Output -> Status'''.
 +
* Press on the Output pin state to turn on.
 +
 +
[[File:Outputstate ignitiondetectionsolution.png|950px|border|class=tlt-border]]
 +
 +
Otherwise, the output pin can be set to high using startup script:
 
* Navigate to '''System -> Custom scripts -> Startup script'''.
 
* Navigate to '''System -> Custom scripts -> Startup script'''.
 
* Above the exit 0 text, input command to turn on the output Pin: ''ubus call ioman.gpio.dout1 update '{"value":"1"}'''
 
* Above the exit 0 text, input command to turn on the output Pin: ''ubus call ioman.gpio.dout1 update '{"value":"1"}'''

Navigation menu