{"action":"created","issue":{"url":"https://api.github.com/repos/owntracks/ios/issues/561","repository_url":"https://api.github.com/repos/owntracks/ios","labels_url":"https://api.github.com/repos/owntracks/ios/issues/561/labels{/name}","comments_url":"https://api.github.com/repos/owntracks/ios/issues/561/comments","events_url":"https://api.github.com/repos/owntracks/ios/issues/561/events","html_url":"https://github.com/owntracks/ios/issues/561","id":392982695,"node_id":"MDU6SXNzdWUzOTI5ODI2OTU=","number":561,"title":"SetWaypoints remotely - Not working iOS","user":{"login":"rdavey228","id":24420623,"node_id":"MDQ6VXNlcjI0NDIwNjIz","avatar_url":"https://avatars0.githubusercontent.com/u/24420623?v=4","gravatar_id":"","url":"https://api.github.com/users/rdavey228","html_url":"https://github.com/rdavey228","followers_url":"https://api.github.com/users/rdavey228/followers","following_url":"https://api.github.com/users/rdavey228/following{/other_user}","gists_url":"https://api.github.com/users/rdavey228/gists{/gist_id}","starred_url":"https://api.github.com/users/rdavey228/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdavey228/subscriptions","organizations_url":"https://api.github.com/users/rdavey228/orgs","repos_url":"https://api.github.com/users/rdavey228/repos","events_url":"https://api.github.com/users/rdavey228/events{/privacy}","received_events_url":"https://api.github.com/users/rdavey228/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-12-20T10:31:08Z","updated_at":"2018-12-21T12:54:27Z","closed_at":null,"author_association":"NONE","body":"Hello\r\n\r\nI have remote commands enabled and I know remote commands are working by issuing \r\n\r\n`mosquitto_pub -h ***** -p ***** -u ** -P ***** -t \"owntracks/phones/iPad/cmd\" -m '{\"_type\":\"cmd\",\"action\":\"reportLocation\"}'`\r\n\r\nThis updates my location when I run this command so I know remote commands are working.\r\n\r\nHowever I am trying to setup waypoints on my devices remotely.\r\n\r\nUsing the command from the documentation does nothing\r\n\r\n`mosquitto_pub -h ***** -p ***** -u ** -P ***** -t \"owntracks/phones/iPad/cmd\" -m  '{\"_type\": \"cmd\",\"action\": \"setWaypoints\",\"waypoints\": {\"waypoints\": [{\"desc\": “WAYPOINT1”,\"rad\": 50,\"lon\": -0.163409,\"lat\": 51.499479,\"tst\": 1437552714,\"_type\": \"waypoint\"}],\"_type\": \"waypoints\"}}'`\r\n\r\nCan anyone help me with this?"},"comment":{"url":"https://api.github.com/repos/owntracks/ios/issues/comments/449381324","html_url":"https://github.com/owntracks/ios/issues/561#issuecomment-449381324","issue_url":"https://api.github.com/repos/owntracks/ios/issues/561","id":449381324,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTM4MTMyNA==","user":{"login":"jpmens","id":60706,"node_id":"MDQ6VXNlcjYwNzA2","avatar_url":"https://avatars2.githubusercontent.com/u/60706?v=4","gravatar_id":"","url":"https://api.github.com/users/jpmens","html_url":"https://github.com/jpmens","followers_url":"https://api.github.com/users/jpmens/followers","following_url":"https://api.github.com/users/jpmens/following{/other_user}","gists_url":"https://api.github.com/users/jpmens/gists{/gist_id}","starred_url":"https://api.github.com/users/jpmens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpmens/subscriptions","organizations_url":"https://api.github.com/users/jpmens/orgs","repos_url":"https://api.github.com/users/jpmens/repos","events_url":"https://api.github.com/users/jpmens/events{/privacy}","received_events_url":"https://api.github.com/users/jpmens/received_events","type":"User","site_admin":false},"created_at":"2018-12-21T12:54:27Z","updated_at":"2018-12-21T12:54:27Z","author_association":"NONE","body":"```bash\r\n$ cat /tmp/w.json\r\n{\r\n\t\"_type\": \"cmd\",\r\n\t\"action\": \"setWaypoints\",\r\n\t\"waypoints\": {\r\n\t\t\"waypoints\": [{\r\n\t\t\t\"desc\": \"WAYPOINT1\",\r\n\t\t\t\"rad\": 50,\r\n\t\t\t\"lon\": -0.163409,\r\n\t\t\t\"lat\": 51.499479,\r\n\t\t\t\"tst\": 1437552714,\r\n\t\t\t\"_type\": \"waypoint\"\r\n\t\t}],\r\n\t\t\"_type\": \"waypoints\"\r\n\t}\r\n}\r\n\r\n$ mosquitto_pub ... -q 1 -t owntracks/jpm/5s/cmd -m \"$(cat /tmp/w.json)\"\r\n```\r\n\r\nWorks for me: I then see the following waypoint in my list of regions.\r\n\r\n![img_6941](https://user-images.githubusercontent.com/60706/50343587-c6484800-0527-11e9-8f89-9a49fe9c8702.jpg)\r\n"}}
{"actor":{"display_login":"jpmens"}}