{"action":"created","issue":{"url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/82","labels_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/82/comments","events_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/82/events","html_url":"https://github.com/enableiot/iotkit-agent/issues/82","id":120787230,"number":82,"title":"iotkit-agent resets attributes on enableiot.com","user":{"login":"ICRI-Cities","id":15797590,"avatar_url":"https://avatars.githubusercontent.com/u/15797590?v=3","gravatar_id":"","url":"https://api.github.com/users/ICRI-Cities","html_url":"https://github.com/ICRI-Cities","followers_url":"https://api.github.com/users/ICRI-Cities/followers","following_url":"https://api.github.com/users/ICRI-Cities/following{/other_user}","gists_url":"https://api.github.com/users/ICRI-Cities/gists{/gist_id}","starred_url":"https://api.github.com/users/ICRI-Cities/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ICRI-Cities/subscriptions","organizations_url":"https://api.github.com/users/ICRI-Cities/orgs","repos_url":"https://api.github.com/users/ICRI-Cities/repos","events_url":"https://api.github.com/users/ICRI-Cities/events{/privacy}","received_events_url":"https://api.github.com/users/ICRI-Cities/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-07T14:37:37Z","updated_at":"2015-12-07T15:14:58Z","closed_at":null,"body":"When setting attributes either via the REST interface or the dashboard for a devices, if the device has the iotkit-agent active, the iotkit-agent will erase all custom attributes from the backend, leaving only the attributes it adds. Please stop the iotkit-agent from wiping out that metadata via a device update."},"comment":{"url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/comments/162553115","html_url":"https://github.com/enableiot/iotkit-agent/issues/82#issuecomment-162553115","issue_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/82","id":162553115,"user":{"login":"ICRI-Cities","id":15797590,"avatar_url":"https://avatars.githubusercontent.com/u/15797590?v=3","gravatar_id":"","url":"https://api.github.com/users/ICRI-Cities","html_url":"https://github.com/ICRI-Cities","followers_url":"https://api.github.com/users/ICRI-Cities/followers","following_url":"https://api.github.com/users/ICRI-Cities/following{/other_user}","gists_url":"https://api.github.com/users/ICRI-Cities/gists{/gist_id}","starred_url":"https://api.github.com/users/ICRI-Cities/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ICRI-Cities/subscriptions","organizations_url":"https://api.github.com/users/ICRI-Cities/orgs","repos_url":"https://api.github.com/users/ICRI-Cities/repos","events_url":"https://api.github.com/users/ICRI-Cities/events{/privacy}","received_events_url":"https://api.github.com/users/ICRI-Cities/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T15:14:58Z","updated_at":"2015-12-07T15:14:58Z","body":"I am confused why you say you do not plan on adding custom attributes. The dashboard for enableiot.com current has the feature for user to add new, custom attributes to the device. So why are you not supporting what the web interface already lets you do?"}}