Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. WOL senden, wenn Tastendruck

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    WOL senden, wenn Tastendruck

    This topic has been deleted. Only users with topic management privileges can see it.
    • surfer09
      surfer09 last edited by

      Hallo zusammen,

      ich möchte gerne in Blockly ein Programm haben, welches auf Tastendruck eines Schalters einen WOL Befehl an meinen PC sendet und diesen somit startet. Ich weiß aber leider nicht, wie man in Blockly den WOL Befehl absetzt. Kann mir jemand hierzu helfen?

      Gruß surfer 😉

      1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active last edited by

        Blockly nicht aber script

        var wol = require('wake_on_lan');
        
        createState('javascript.1.wol.wolwin', false, {
                read: true, 
                write: true, 
                desc: "rechner einschalten", 
                type: "boolean", 
                def: false
        });
        
        on({id: 'javascript.1.wol.wolwin', change: 'ne', val: true}, function() {
           wol.wake('mac adresse');   
           wol.wake('mac adresse');   
        
        });
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Support us

        ioBroker
        Community Adapters
        Donate

        560
        Online

        31.9k
        Users

        80.2k
        Topics

        1.3m
        Posts

        2
        2
        1043
        Loading More Posts
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as topic
        Log in to reply
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
        The ioBroker Community 2014-2023
        logo