{"action":"created","issue":{"url":"https://api.github.com/repos/Tieske/fibaroHue/issues/1","labels_url":"https://api.github.com/repos/Tieske/fibaroHue/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Tieske/fibaroHue/issues/1/comments","events_url":"https://api.github.com/repos/Tieske/fibaroHue/issues/1/events","html_url":"https://github.com/Tieske/fibaroHue/issues/1","id":77758716,"number":1,"title":"I get an error using it","user":{"login":"reiniertc","id":5908262,"avatar_url":"https://avatars.githubusercontent.com/u/5908262?v=3","gravatar_id":"","url":"https://api.github.com/users/reiniertc","html_url":"https://github.com/reiniertc","followers_url":"https://api.github.com/users/reiniertc/followers","following_url":"https://api.github.com/users/reiniertc/following{/other_user}","gists_url":"https://api.github.com/users/reiniertc/gists{/gist_id}","starred_url":"https://api.github.com/users/reiniertc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reiniertc/subscriptions","organizations_url":"https://api.github.com/users/reiniertc/orgs","repos_url":"https://api.github.com/users/reiniertc/repos","events_url":"https://api.github.com/users/reiniertc/events{/privacy}","received_events_url":"https://api.github.com/users/reiniertc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-18T18:36:12Z","updated_at":"2015-05-20T07:41:38Z","closed_at":null,"body":"Hi, \r\nIf I use your lua script in Hc2, I get an error:\r\nattempt to index global 'Net' (a nil value)\r\n\r\nany idea what goes wrong? (i'm new at lua)\r\n\r\nthanks!\r\nReinier"},"comment":{"url":"https://api.github.com/repos/Tieske/fibaroHue/issues/comments/103796896","html_url":"https://github.com/Tieske/fibaroHue/issues/1#issuecomment-103796896","issue_url":"https://api.github.com/repos/Tieske/fibaroHue/issues/1","id":103796896,"user":{"login":"reiniertc","id":5908262,"avatar_url":"https://avatars.githubusercontent.com/u/5908262?v=3","gravatar_id":"","url":"https://api.github.com/users/reiniertc","html_url":"https://github.com/reiniertc","followers_url":"https://api.github.com/users/reiniertc/followers","following_url":"https://api.github.com/users/reiniertc/following{/other_user}","gists_url":"https://api.github.com/users/reiniertc/gists{/gist_id}","starred_url":"https://api.github.com/users/reiniertc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reiniertc/subscriptions","organizations_url":"https://api.github.com/users/reiniertc/orgs","repos_url":"https://api.github.com/users/reiniertc/repos","events_url":"https://api.github.com/users/reiniertc/events{/privacy}","received_events_url":"https://api.github.com/users/reiniertc/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T07:41:38Z","updated_at":"2015-05-20T07:41:38Z","body":"Thanks for looking into it.\nI tried to implemented in a lua scene, but that doesnt work.\nWhen I copy the code to a virtual device, it works like a charm!\n\nMet vriendelijke groet,\n\nReinier E. Taudin Chabot\n\n> Op 19 mei 2015 om 11:58 heeft Thijs Schreijer <notifications@github.com> het volgende geschreven:\n> \n> Looked into it, but it seems they changed the Lua api. The network function for performing an http request (to access the Philips Hue bridge) have changed apparently. Unfortunately I don't have a system available to test it against.\n> \n> By the way; what firmware version do you have? I think I wrote this on a 3.x version\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}