{"action":"created","issue":{"url":"https://api.github.com/repos/oeuillot/upnpserver/issues/37","labels_url":"https://api.github.com/repos/oeuillot/upnpserver/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/oeuillot/upnpserver/issues/37/comments","events_url":"https://api.github.com/repos/oeuillot/upnpserver/issues/37/events","html_url":"https://github.com/oeuillot/upnpserver/issues/37","id":104335177,"number":37,"title":"Support for multiple devices per server","user":{"login":"dearchap","id":3200486,"avatar_url":"https://avatars.githubusercontent.com/u/3200486?v=3","gravatar_id":"","url":"https://api.github.com/users/dearchap","html_url":"https://github.com/dearchap","followers_url":"https://api.github.com/users/dearchap/followers","following_url":"https://api.github.com/users/dearchap/following{/other_user}","gists_url":"https://api.github.com/users/dearchap/gists{/gist_id}","starred_url":"https://api.github.com/users/dearchap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dearchap/subscriptions","organizations_url":"https://api.github.com/users/dearchap/orgs","repos_url":"https://api.github.com/users/dearchap/repos","events_url":"https://api.github.com/users/dearchap/events{/privacy}","received_events_url":"https://api.github.com/users/dearchap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-09-01T19:16:39Z","updated_at":"2015-09-03T08:24:55Z","closed_at":null,"body":"Right now we can add multiple services to root device. However some emulated devices actually consist of services as well as multiple sub-devices(each with its own services). Can the upnpserver code be moved into a device class in device.js ? That way upnpserver can be given just the root device node and internally it can create services and sub-devices etc. "},"comment":{"url":"https://api.github.com/repos/oeuillot/upnpserver/issues/comments/137376633","html_url":"https://github.com/oeuillot/upnpserver/issues/37#issuecomment-137376633","issue_url":"https://api.github.com/repos/oeuillot/upnpserver/issues/37","id":137376633,"user":{"login":"s-leger","id":7442572,"avatar_url":"https://avatars.githubusercontent.com/u/7442572?v=3","gravatar_id":"","url":"https://api.github.com/users/s-leger","html_url":"https://github.com/s-leger","followers_url":"https://api.github.com/users/s-leger/followers","following_url":"https://api.github.com/users/s-leger/following{/other_user}","gists_url":"https://api.github.com/users/s-leger/gists{/gist_id}","starred_url":"https://api.github.com/users/s-leger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-leger/subscriptions","organizations_url":"https://api.github.com/users/s-leger/orgs","repos_url":"https://api.github.com/users/s-leger/repos","events_url":"https://api.github.com/users/s-leger/events{/privacy}","received_events_url":"https://api.github.com/users/s-leger/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T08:24:55Z","updated_at":"2015-09-03T08:24:55Z","body":"As a side note about stateVars access.\r\nThe stateVars accessors trigger events on set (if any). \r\nSo if you don't want to send an event, you can use the .value property of the statevar instead of .set()"}}