{"action":"created","issue":{"url":"https://api.github.com/repos/area515/Creation-Workshop-Host/issues/58","repository_url":"https://api.github.com/repos/area515/Creation-Workshop-Host","labels_url":"https://api.github.com/repos/area515/Creation-Workshop-Host/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/area515/Creation-Workshop-Host/issues/58/comments","events_url":"https://api.github.com/repos/area515/Creation-Workshop-Host/issues/58/events","html_url":"https://github.com/area515/Creation-Workshop-Host/issues/58","id":107428899,"number":58,"title":"Projector Model Detection Framework","user":{"login":"WesGilster","id":2424628,"avatar_url":"https://avatars.githubusercontent.com/u/2424628?v=3","gravatar_id":"","url":"https://api.github.com/users/WesGilster","html_url":"https://github.com/WesGilster","followers_url":"https://api.github.com/users/WesGilster/followers","following_url":"https://api.github.com/users/WesGilster/following{/other_user}","gists_url":"https://api.github.com/users/WesGilster/gists{/gist_id}","starred_url":"https://api.github.com/users/WesGilster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WesGilster/subscriptions","organizations_url":"https://api.github.com/users/WesGilster/orgs","repos_url":"https://api.github.com/users/WesGilster/repos","events_url":"https://api.github.com/users/WesGilster/events{/privacy}","received_events_url":"https://api.github.com/users/WesGilster/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/area515/Creation-Workshop-Host/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-09-21T01:17:21Z","updated_at":"2016-02-14T22:48:04Z","closed_at":null,"body":"Detects both the presence and model of the projector.\r\n\r\nImplemented and untested in version 0.121."},"comment":{"url":"https://api.github.com/repos/area515/Creation-Workshop-Host/issues/comments/183996290","html_url":"https://github.com/area515/Creation-Workshop-Host/issues/58#issuecomment-183996290","issue_url":"https://api.github.com/repos/area515/Creation-Workshop-Host/issues/58","id":183996290,"user":{"login":"WesGilster","id":2424628,"avatar_url":"https://avatars.githubusercontent.com/u/2424628?v=3","gravatar_id":"","url":"https://api.github.com/users/WesGilster","html_url":"https://github.com/WesGilster","followers_url":"https://api.github.com/users/WesGilster/followers","following_url":"https://api.github.com/users/WesGilster/following{/other_user}","gists_url":"https://api.github.com/users/WesGilster/gists{/gist_id}","starred_url":"https://api.github.com/users/WesGilster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WesGilster/subscriptions","organizations_url":"https://api.github.com/users/WesGilster/orgs","repos_url":"https://api.github.com/users/WesGilster/repos","events_url":"https://api.github.com/users/WesGilster/events{/privacy}","received_events_url":"https://api.github.com/users/WesGilster/received_events","type":"User","site_admin":false},"created_at":"2016-02-14T22:48:04Z","updated_at":"2016-02-14T22:48:04Z","body":"> WOW four backslashes worked when the printer is on\r\n\r\n:) That's good news. I assume you mean when the projector is on, not the printer.\r\n\r\n> is it possible to send on command at the beginning. \r\n\r\nYes, in fact you can already do that by the following detection hex:\r\n7E504E0D7E71560D\r\nYou can try this out, however I'm awfully concerned it isn't going to work. I'm going to need to put a delay between those two hex codes. Since your documentation mentioned this exact phrase:\r\n> Minimum delay for next command: 1ms \r\n\r\nJava is going to be pushing data much faster than 1ms, and your projector probably won't catch the second command. That means I'll need to change our hex strings to be based upon a freemarker template instead of simple hex. Then what you will do is write something like the following:\r\n7E504E0D{delay(1)}7E71560D\r\nI'll try to have something out tomorrow, but I'm still trying to get the live streaming working, so now promises...\r\n\r\n> And what is the code to enter at the end of the gcode to make it off\r\nCWH is smart enough to know when your print is starting and when it is complete. It is designed to know the appropriate times to turn on your projector and when to shut it off when the print is complete. If you find it's not performing these functions appropriately, that is a fairly simple bug that we need to fix. \r\n\r\nI'm also playing around with the idea of shutting off the projector when the print is paused, I'd be interested in getting people's opinions."}}