Home/Support/Support Forum/How to schedule an event to power on a LED in an XBee module?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How to schedule an event to power on a LED in an XBee module?

0 votes
I am using the XBee Cloud Kit (gateway + xbee module + DeviceCloud) and I want to schedule an event to control the output pin of the XBee Module. For example, I want a LED to be ON at 7h and OFF at 8h every day. This LED is connected to a pin of the XBee Module.

Is there a way to automate this in Device Cloud? Or maybe run a python script in the gateway device to do this?

In the future I want to connect more XBees to this network and make them switch ON and OFF their LEDs at an specific time (and at same time).
asked Sep 27, 2016 in Device Manager by gabrielmb New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
You should be able to accomplish using either method.

From the Device Cloud you could set up 2 scheduled tasks (one to turn on and one to turn off) to run the RCI commands at the specified times.

You can also use python to accomplish this using the Alarm module.
answered Sep 27, 2016 by userid0 Veteran of the Digi Community (2,158 points)
Thank you very much, I'll try to do this from the Device Cloud and then post results here!