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
Search the Community
Showing results for tags 'wol'.
-
If anyone need to do wake up devices here is my working code for quickapp function QuickApp:synOn() -- Mac address example 01:11:32:32:0a:0f mac1 = string.char(0x01,0x11,0x32,0x32,0x0a,0x0f)--puthere you mac adress for i=1,4 do mac1 = mac1..mac1 end mac2 = string.char(0xff,0xff,0xff,0xff,0xff,0xff)..string.char(0xff,0xff,0xff,0xff,0xff,0xff)..string.char(0xff,0xff,0xff,0xff,0xff,0xff)..string.char(0xff,0xff,0xff,0xff,0xff,0xff)..string.char(0xff,0xff,0xff,0xff,0xff,0xff)..string.char(0xff,0xff,0xff,0xff,0xff,0xff)..mac1 ---Magic packet needs broadcast MAC in front to wake up self.udp = net.UDPSocket({ broadcast = true, timeout = 3000 }) self.udp:sendTo(mac2, "10.0.0.250", 9, { --Magic package, broadcast adress, udp port. success = function() self:trace("OK send magic package") if success == success then self:updateView("label2", "text", "Wake on Lan package send") end end, error = function(error) print('Error:', error) if error == error then self:updateView("label2", "text", "Error") end end }) end Dont let the broadcast address fool you, the "10.0.0.250" is not the local ip that i wanna wake up, but the broadcast adress. standard broadcast address is "255.255. 255.255"
-
QA for full control of PC from HC3 (On, Off, Restart, Sleep and Hibernate states) You will need: 1. PC is connected via Fibaro wall plug (or other device with power measurement) 2. installed application Switch Off 3.5.1 from Airytec on your computer http://www.airytec.com/en/switch-off/get.aspx 3. In Switch Off application - go to menu -> Options -> Remote -> Edit web interface settings -> you have to define your port ie. 28100 and password 4. In PC firewall you have to allow Incoming rule for TCP port that you have defined in SwitchOff application ie.28100 5. Working WakeOnLAN (WOL) on your PC (allowed in PC BIOS and on your net card) Installation: 1. Upload this QA to HC3 2. In QA variables you have to define: - PC_DevID : ID of your PC power plug in HC3 - PCAirytecPort: port define for web interface in SwitchOff application from Airytec - PCAirytecPassw: password define for web interface in SwitchOff application from Airytec - PC_IP_Address: IP address of your PC ie. 192.168.1.10 - PC_MacAddress: MacAddress of your PC for WakeOnLAN (WOL) ie. 4B:BC:24:D1:E5:25 - PC_WOL_Port: Port for WakeOnLAN (WOL) - usually 9 - Level<xxx>PC : power in W for showing correct PC state: power >= LevelRunPC PC state: running power >= LevelSleepPC PC state: sleeping power >= LevelHiberPC PC state: hibernating power >= LevelOffPC PC state: off power = 0 PC state: fully off (power>0 to LevelOffPC also means PC state: off) QA PC version: 0.20 - 13.2.2021 PC.fqa
-
Hello, i have LG Smart TV WebOS 2019, how to control it from Home Center 3? It can be tuned on from Wake On Lan magic packet (even over wifi) Here is LUA scene code from HC2 for WOL which are not working, how to fix it? magicPacket = string.char(0xff, 0xff, 0xff, 0xff, 0xff, 0xff) macAddress = string.char(0x6c, 0xf0, 0x49, 0x1a, 0x61, 0x3a) for i=1, 16 do magicPacket = magicPacket .. macAddress end socket = Net.FUdpSocket() socket:setBroadcast(true) bytes, errorCode = socket:write(magicPacket, "255.255.255.255", 9) if errorCode == 0 then -- printing log under virtual device fibaro:log("transfer OK") else fibaro:log("transfer failed") end
-
Hi, I would like to use the wake on lan plugin in my scene, but it doesn´t show for block scenes so I guess it is only available for LUA. But I have no idea how to use it in LUA. Can someone help? Regards, Jens
- 3 replies
-
- wol
- wake on lan
-
(and 2 more)
Tagged with:
-
Hi all. Wonder if anyone can help with this issue i have. I have setup a plugin for WOL (Wake On Lan) so i can press a virtual button on my phone and it turns on a PC. I now want to include this in to a scene so when i start the scene, the PC turns on with other devices. Ony wanted this since getting the amazon Echo service working with my setup. Idea is to walk in the room and say, Alexa, Turn on Cinema and all will just turn on and work. Issue is, i can't add in the WOL plugin with a scene. Has anyone managed to do this and if so, how? Thanks, Hal