Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

Home Centre 2 Virtual Device to Wake PC (WOL)


Question

Guest Singapore
Posted

Is there any way to wake up a PC using WOL - Wakeup on LAN?

Recommended Posts

  • 1
Guest deraaij
  • Inquirer
  • Posted
    No changes I'm afraid...

    Please login or register to see this image.

    /emoticons/default_icon_sad.gif" alt=":-(" />
    [ERROR] 18:47:51: line 6: unexpected symbol near '

    Strange for me it works, I also not have a ' character.

    • 0
    Guest Cirion
  • Inquirer
  • Posted

    This would be very useful for me. All TV's in my house run a small PC with XBMC. Would be great to be able to make a sceene that dims the lights, shuts the blinds and turns on my XBMC wich in turn turns on the TV at the correct input (using HDMI CEC adapter).

    • 0
    Posted

    I don't know if the HC2 can send packet over UDP, I think support only TCP in virtual device at this time, perhaps in V3 ? With help of LUA ? WOL use Broadcast over UDP to send magic packet ...

    I can include this fonctionality in the HC2 SDK (

    Please login or register to see this link.

    ) and provide a way to do this: for example call a script wol.ashx?mac=XxXxXxXxXxXx !

    Regards.

    • 0
    Guest Fidziu
  • Inquirer
  • Posted

    Krikroff,

    LUA will be added to virtual devices with http and udp support.

    Wake On Lan works perfectly in that solution:)

    • 0
    Guest deraaij
  • Inquirer
  • Posted
    Krikroff,

    LUA will be added to virtual devices with http and udp support.

    Wake On Lan works perfectly in that solution:)

    Wow! Just what I was hoping/waiting for!!!

    Will it also have a binary button? (On/off so we could toggle it from external resources and run scenes based on it)

    Regards,

    Mark

    • 0
    Guest deraaij
  • Inquirer
  • Posted

    For now there is a workaround

    Please login or register to see this image.

    /emoticons/default_icon_smile.gif" alt=":-)" />

    Once do the following command via a scene:

    Please login or register to see this code.

    After that you can do:

    Please login or register to see this code.

    (Change: 6c:f0:49:1a:61:3a to the correct MAC address, you could also use a variable)

    Wakes up my HTPC like a charm

    Please login or register to see this image.

    /emoticons/default_icon_smile.gif" alt=":-)" />

    • 0
    Posted

    I'm à new fibaro user, how do i get the commando's in to a scène ?

    • 0
    Guest deraaij
  • Inquirer
  • Posted

    Hi Welcome!

    You should switch the scene to LUA (only possible in the Beta version).

    Regards,

    Mark

    • 0
    Posted

    hmmmm,

    I think i'll wil wait for the next firmware, just don't wanna run beta versions

    Please login or register to see this image.

    /emoticons/default_laugh.png" alt=":lol:" />

    • 0
    Posted

    The function with os.execute is not possible after latest Beta updates, am i right?

    Is there any new solution to run wake on lan?

    • 0
    Guest deraaij
  • Inquirer
  • Posted

    Use LUA in a virtual device:

    Please login or register to see this code.

    • 0
    Posted

    Damn your good

    Please login or register to see this image.

    /emoticons/default_icon_biggrin.gif" alt=":-D" />

    • 0
    Posted

    I've this code after changing the mac adress and ip but it does not works...

    • 0
    Guest deraaij
  • Inquirer
  • Posted
    I've this code after changing the mac adress and ip but it does not works...

    for me it works, strange ?

    Edit: Just to be sure I tested it for you, but it works like charm

    [ Added: 2013-03-14, 23:37 ]

    BTW you should only change the Mac address.

    • 0
    Posted

    greeeeeeaaattttttt it works only with mac adress changing

    • 0
    Guest deraaij
  • Inquirer
  • Posted

    Please login or register to see this image.

    /emoticons/default_icon_mrgreen.gif" alt=":mrgreen:" />
    • 0
    Guest sk8er000
  • Inquirer
  • Posted

    good job!

    Please login or register to see this image.

    /emoticons/default_icon_biggrin.gif" alt=":-D" />

    I suggest to add a guide section with some of this scripts to help users with most common LUA scripts

    Please login or register to see this image.

    /emoticons/default_icon_biggrin.gif" alt=":-D" />

    • 0
    Posted

    Does this still work whit the new beta version ?

    i tryed it but it does not work ?

    • 0
    Guest deraaij
  • Inquirer
  • Posted

    The LUA variant works still for me (so the one without os.execute)

    • 0
    Posted

    Oops

    Please login or register to see this image.

    /emoticons/default_icon_redface.gif" alt=":oops:" /> my bad

    the problem was between the keyboard and chair.

    Made an typo in the mac addres

    Please login or register to see this image.

    /emoticons/default_icon_redface.gif" alt=":oops:" />

    Please login or register to see this image.

    /emoticons/default_icon_redface.gif" alt=":oops:" />

    works like a charm

    Please login or register to see this image.

    /emoticons/default_icon_mrgreen.gif" alt=":mrgreen:" />

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...