I am using nodejs package gps-tracking to develop a gps tracking system. My web interface is in symfony/ PHP. I would like to know how i can send any command ( e.g. Setting Geo fence, Send command to switch of the ignition) to the device using my web interface to the device using the nodejs server. i saw a method this.send_to = function(device_id, msg)
. But would like to understand how i can invoke this method from the PHP /symfony platform.
Please suggest.