Home  >  Support  >  Support Forum  >  How can I set Digi/Python/Autostart action main.py -d=1 using RCI command?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How can I set Digi/Python/Autostart action main.py -d=1 using RCI command?

0 votes
asked May 12 in Digi Connect Cellular by Ken Morrow New to the Community (1 point)

Please log in or register to answer this question.

2 Answers

0 votes
Although I did not test this, the following should work:

<rci_request>
<set_setting>
<python>
<state>on</state>
<command>main.py –d=1</command>
<onexit>none</onexit>
</python>
<python index="2">
<state>off</state>
<command/>
<onexit>none</onexit>
</python>
<python index="3">
<state>off</state>
<command/>
<onexit>none</onexit>
</python>
<python index="4">
<state>off</state>
<command/>
</python>
</set_setting>
</rci_request>
answered Jun 27 by userid0 Veteran of the Digi Community (993 points)
0 votes
YES !! That script worked fine (I had to rekey the -d=1 because it did not like the "-" sign.

After writing the 1st autostart field and clearing the others, is it required I select the "Apply" button? If so, how do I select the "Apply" button with an RCI command?
Also, is a reboot required?
If so, how do I "Reboot" with an RCI command?

Thank you in advance.
answered Jul 23 by Ken Morrow New to the Community (1 point)
Contact a Digi expert and get started today! CONTACT US
...