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

Check if computer is online


Question

Posted

I'm using the code below, the problem is that when the computer goes in sleep mode or hibernation and i run the code thru button in VD

It triggers to wake the computer, thats not what i want. Just want to now if its sleeping...

When i using and ordinary ping from other computer it does'nt wake up.

Is it possible to ping in other way in lua?

Or do it some other way, thru arp?

Please login or register to see this code.

8 answers to this question

Recommended Posts

  • 0
Posted

Virtual Device Button

Please login or register to see this code.

  • 0
  • Inquirer
  • Posted

    Thanks for reply

    I have now tried the way you suggested, but the result is the same.

    It wakes the computer

    • 0
    Posted

    It wakes the computer?

    Wow, I didn't know it will wake the computer.

    • 0
  • Inquirer
  • Posted

    I thougt it should not wake the computer but it does and dont now why...

    But jompa68 may solved my problems, i Will try this

    Please login or register to see this link.

    • 0
    Guest GG
    Posted

    @maxxar, check device manager (enhetshanteraren) and look att properties for your network card. Unchecking "Tillåt att den här enheten tar datorn ur vänteläge" might solve your problem.

    Please login or register to see this attachment.

    • 0
  • Inquirer
  • Posted

    Thank you GG!

    It seems like it solved my problems, i choosed to check the box with "Allow only magic packets to wake computer" so WOL would still work.

    • 0
    Posted
    Virtual Device Button

    Please login or register to see this code.

    Please help me to understand:

    What is "139" in IP field, is it a port number, or device?

    How may I change the icons? Should I name once icon 1002 and another 1001?

    Thanks in advance!

    • 0
    Posted

    almj, 139 is the port.

    If you want to change icon

    call this method:

    fibaro:call(selfId, "setProperty", "currentIcon", 1001); or

    fibaro:call(selfId, "setProperty", "currentIcon", 1002);

    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...