How to Schedule a Command from within the Traccar Web Interface

Hello,

Is there any way to schedule to send a command to a group of devices or to a group of devices with some attributes(for example: Say we want to make a rule to all devices from "GROUP 1" with attribute MOTION=true, to send a custom command named "TURN ON LIGHT" at 6 P.M.). So this way every running device in motion ca turn it led automatically when it's night, without any code outside the traccar web server.

I know that is possible to do that using API and a iterator, but I wanted to do this from the web server, configuring a rule.

Anyone can help with this?

Anton Tananaev6 years ago

What's iterator? I don't think you can do it even with API.

In the API there is a way to see the devices attributes, so I can make a filter to get all the active devices then call to each one the Command if date is greater than 18h. No?