var wol = require('wake_on_lan'); on({id: "javascript.0.wol.WolWinNAS", change: 'true'}, function (obj) { wol.wake('d0-50-99-9e-b3-ee'); console.log("+++ WOL an WinNAS gesendet +++"); } );