{"action":"closed","issue":{"url":"https://api.github.com/repos/agnat/node_wake_on_lan/issues/5","labels_url":"https://api.github.com/repos/agnat/node_wake_on_lan/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/agnat/node_wake_on_lan/issues/5/comments","events_url":"https://api.github.com/repos/agnat/node_wake_on_lan/issues/5/events","html_url":"https://github.com/agnat/node_wake_on_lan/issues/5","id":125388524,"number":5,"title":"Don't send wol after 1 minute when I send device power off command.","user":{"login":"MasterBS","id":16593107,"avatar_url":"https://avatars.githubusercontent.com/u/16593107?v=3","gravatar_id":"","url":"https://api.github.com/users/MasterBS","html_url":"https://github.com/MasterBS","followers_url":"https://api.github.com/users/MasterBS/followers","following_url":"https://api.github.com/users/MasterBS/following{/other_user}","gists_url":"https://api.github.com/users/MasterBS/gists{/gist_id}","starred_url":"https://api.github.com/users/MasterBS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasterBS/subscriptions","organizations_url":"https://api.github.com/users/MasterBS/orgs","repos_url":"https://api.github.com/users/MasterBS/repos","events_url":"https://api.github.com/users/MasterBS/events{/privacy}","received_events_url":"https://api.github.com/users/MasterBS/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-07T12:52:13Z","updated_at":"2016-01-08T09:34:49Z","closed_at":"2016-01-08T09:34:49Z","body":"Server and Client device bind local network.\r\n\r\nAfter I sent a power-off instruction of the client device, I have succeeded when the WOL transmitted within 1 minute to the client device.\r\n\r\nWOL don't send to the client when the client device power off more than a minute.\r\n\r\nSo I need your advice.\r\n\r\n\r\nvar wol = require('wake_on_lan');\r\nvar opts = {\r\n\taddress : ipAddress\r\n};\r\nwol.wake(macAddr, opts, function(error){\r\n\tif(error){\r\n\t\tif(typeof fnCallback == \"function\"){\r\n\t\t\tfnCallback(false);\r\n\t\t}\r\n\t}else{\r\n\t\tif(typeof fnCallback ==\"function\"){\r\n\t\t\tfnCallback(true);\r\n\t}\r\n}\r\n\r\n"}}