Home/Support/Support Forum/Run programme on smartplug
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Run programme on smartplug

0 votes
I found the demo of smartplug: http://www.digi.com/wiki/developer/index.php/Smart_Plug_and_iDigi_Demo
and I upload it to gateway net interface, the part "File management", and the part "Python". But the light "Active" is alway gray.
How could I run this programme to my samrtpulg, control it open and close at a specified time?
Thank you very much.
asked May 5, 2015 in 3rd Party Python and API development in other Languages by zhen New to the Community (3 points)

Please log in or register to answer this question.

1 Answer

0 votes
What happens if you run the python application from the command line of the gateway?

#> py smartplug_idigi.py

Also, it is important to note that this python application will not work on X2e/XBee gateways, it will only work on ConnectPort X2, X4 and X8 gateways (NDS based rather than Linux).
answered May 6, 2015 by userid0 Veteran of the Digi Community (2,158 points)