{"action":"opened","issue":{"url":"https://api.github.com/repos/vitalidze/traccar-web/issues/299","labels_url":"https://api.github.com/repos/vitalidze/traccar-web/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/vitalidze/traccar-web/issues/299/comments","events_url":"https://api.github.com/repos/vitalidze/traccar-web/issues/299/events","html_url":"https://github.com/vitalidze/traccar-web/issues/299","id":113211568,"number":299,"title":"How to work with sensor","user":{"login":"pierrot10","id":1111079,"avatar_url":"https://avatars.githubusercontent.com/u/1111079?v=3","gravatar_id":"","url":"https://api.github.com/users/pierrot10","html_url":"https://github.com/pierrot10","followers_url":"https://api.github.com/users/pierrot10/followers","following_url":"https://api.github.com/users/pierrot10/following{/other_user}","gists_url":"https://api.github.com/users/pierrot10/gists{/gist_id}","starred_url":"https://api.github.com/users/pierrot10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierrot10/subscriptions","organizations_url":"https://api.github.com/users/pierrot10/orgs","repos_url":"https://api.github.com/users/pierrot10/repos","events_url":"https://api.github.com/users/pierrot10/events{/privacy}","received_events_url":"https://api.github.com/users/pierrot10/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-25T07:29:41Z","updated_at":"2015-10-25T07:29:41Z","closed_at":null,"body":"Good evening,\r\n\r\nI would like to fix my issue of sensor. I can not undertsand how it work with a devise.\r\n\r\nI created a devise\r\nI edited it I went to the sensor tab.\r\nThe I created a sensor called “Battery level” and the parameter name is “batt”.\r\nFinally I setted some intervals.\r\n\r\nNow what can I do more.\r\n\r\nMy devise send a parameter name batt as well and it the value is a number from 0 to 100, of course (the value is save in the ‘other’ field of my database\r\n\r\nHow can I now match my batt value to my Battery level sensor.\r\n\r\nIf the sent value is egual to a interval, should it send an alert e-mail?\r\n\r\nCheers"}}