![]() The implementation of the Home Assistant wasn’t quite intuitive, so I will provide a clear step-by-step guide to the best of my writing skills. But the main feature of interest for us in this post is the ability to run shell commands. Conveniently for us, it supports both Google Assistant and Home Assistant - an open-source platform which you can as a server on your computer (at the time of writing it supports Linux, Windows, OS X, FreeBSD) and is able to monitor and control your home automation devices. IFTTT stands for “If This Then That” and is a web-based service which enables a large variety of applications to communicate with each other. Calories have rights too and we should stop burning them. No more getting up from the couch and physically control devices. Step 3: Link the Good, the Bad and the UglyĬombining Google Assistant, IFTTT and Home Assistant provides us access to a powerful tool: Voice-activated shell commands.Step 2: Home Assistant setup and shell command services.Wireshark captures network packets – so you can look at what that software is sending. What to do in wireshark to debug, with screenshots If you double click, it should just work, but if it doesn’t, you can install wireshark.Īnd compare your packets to that of the funky software. Profit … probably (or debug and profit more) When you double click it, it will run powershell and send the magic wake on lan packet. It’ll ask you for a name, … type anything - “wakey wakey” maybe? You’ll get something that looks like this, but you can change the icon to whatever. Replace Chris / last part with a path to the file you just saved. Right click on the desktop, click “New Shortcut”įor “Location of the item” use the following long string: C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File C:\Users\Chris\wake_chris_machine.ps1 You need both a file and a shortcut because that makes windows more secure or something (I don’t know - there’s probably experts who know the real reason) save as:įile name: C:\Users\Chris\wake_chris_machine.ps1īasically save it somwhere, not the desktop, desktop will contain a launch shortcut. ![]() I took the mac address from one of your screenshots above, no idea if that’s the right one you have written down from before – maybe you want to try replacing. $UdpClient.Send($MagicPacket,$MagicPacket.Length) ] $MagicPacket = (,0xFF * 6) ($MacByteArray * 16) $MacByteArray = $Mac -split "" | ForEach-Object Notepad Open a new file, and paste in the following: # source: This means I can test some stuff above on windows, see how it works. (my significant other uses the monitors that are on the same KVM my windows machine is for her work, so I need her to not be working and the christmas new years is the time of the year she’s most busy… excuses, excuses, anyway). So … It’s been 2 months since I fired up my windows computer Network Switch: PoE enabled Netgear Prosafe GS110TP So I’m wondering, I have a Home Assistant instance running on a Pi (within 3 feet of server), perhaps I can simulate a keyboard/mouse press to boot the machine? I believe that’s a function, or may be I can somehow send the wake signal but not use the LAN port, but I would need an IP address for it. I plugged the original 1G ethernet back in and the network really didn’t like that. Thing is, I’ve switched to SFP and of course it doesn’t work now. Before I got a UPS, I used a smart plug to boot. So, I used to use Wake on LAN to boot my server when needed (it isn’t on all the time yet), it was very helpful (using WakeMeOnLan). I hope everyone is enjoying another year, may it be a hell of a lot better than 2020-2021!īefore you read on, compared to you lot, my skills don’t extend to complicated scripts or spending 12 hours learning something new to do a 5 minute job…I have tried in the past, but time is limited these days!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |