I use wol with node red and it works flawlessly, unless after a power outage, after this, it won't be able to turn on the pc. I am still trying to make an esp connected to pc button in order to make it switch even after a power outage
@johnwest79938 годин тому
I don't have a 3-D printer, but I use my 18 Volt drill battery to run my soldering pencil. It's got enough juice to build an entire modest-sized project. I also used double-sided PCB material to make tabs that stick into the battery's clips. Some red and some black adhesive heat-shrink tubing over the back-end of the tabs and the wires to connect to an epoxied USB-C+ connector, (also heat-shrunk) for the soldering pencil and it looks like it was done by someone competent.
@ameliabuns405812 годин тому
omg. now i'm tempted... fuck. wish you tested the 50$ knipex model?!!!
@Kx019514 годин тому
Tethered balloon station.
@livetohash615215 годин тому
Would love to load a sketch and it builds the circuit 🎉🎉🎉
@NatesRandomVideo18 годин тому
Imagine my surprise that a ham doesn’t have at least one monster Astron supply hanging around! (I - only - have four! Hahaha)
@pesvids667318 годин тому
this was my internship project
@readwod19 годин тому
Hi how did you do that remotly? I cannot connect to another location as I do not have public IP and I am behind the CGNAT in both cases. The only way i was able to run that is via old mobil phone using TASKER and plugin of the WOL app. This can be used at home but not in my another location due to need of charging of the phone.
@ryanreedgibson22 години тому
I didn't know that was a Swiss accent. And why does everyone assume Americas eat steak? Is it unusual for people to eat beef?
@WooShellДень тому
For easy remote shutdown of Linux machines, I just add a user that has /usr/bin/poweroff as his shell.
@codemiesterbeatsДень тому
Pretty friggin cool 😎
@sarptunayldrm8235День тому
Can you share the list of parts we need to buy?
@keithwhite2986День тому
7:45 I hope you do not write 24 times 7 as 24/7 in your program code! The convention of 24/7, that is 24÷7, to mean 24×7 has never made sense to me.
@quintrapnell3605День тому
That’s a relief I was worried for you.
@AndreasSpiessДень тому
Indeed, I was happy to see the results, too.
@Veso266День тому
Didnt we start using different shape plugs so that we wouldnt accidently plug the wrong charger into the wrong product and know what cable to get with what product Now we have one cable that we dont even know if it will work with product in question Its great that every phone cable is the same (same voltage, same wattage), but I am not sure if its souch a good idea to have a radio or a fridge that uses the same connector as our phones do
@AndreasSpiessДень тому
We will see... At least here, I started the conversion towards USB-C and it makes things easier once it is done
@serychДень тому
Dear Andreas, thanks for a great inspiration! I found it maybe easier to shedule the activities using cron instead of standalone services. The only thing you have to pay attention to in this case is to use full paths to the commands (i.e. /bin/wakeonlan instead wakeonlan etc.) but it works like a charm. Have a nice day! Jakub
@AndreasSpiessДень тому
Indeed, cron jobs are another possibility I often use.
@hoctrimededebutry8655День тому
Thanks a lot for the bonus (good idea 🙂to get a email notification) . As usual, the subject is very interesting
@AndreasSpiessДень тому
Glad you kept watching till the end ;-)
@hoctrimededebutry8655День тому
@@AndreasSpiess I always enjoy sitting in 1st row
@no-damn-aliasДень тому
In a chinese car I had a rear heated window that sometimes didn't work. I took a look at the OEM fuse and the plastic was half melted and it was so warped the contacts didn't connect correctly. The wire was still okay
@AndreasSpiessДень тому
So you were lucky! Molten cables would have been a pain in the a...
@no-damn-aliasДень тому
@@AndreasSpiess oh so true. Currently I have a different problems. AC/DC converter broken and no spare parts
@stalin200000День тому
gov is not interested in "line of sight freaks"
@clytle374День тому
I was pretty excited about this until I get to github and find that there is no Linux version of this. LMAO, I knew MS buying github was a complete disaster in the making. I guess the opensource community time to abandon github is coming near. Thanks for the video, but wasted 8 minutes of my life.
@stevenchristenson2428День тому
FYI you forgot to blank out one screen where it showed your MAC address. You got most of them but there was one where it showed the full address.
@AndreasSpiessДень тому
Thank you. Obviously I was not paying enought attention :-(
@zyghomДень тому
I sorted this a bit different way: PBS is one of my VMs on PVE. So no extra machine is needed for backup. And the storage is the part of TrueNAS, shared to PBS. Even more elegant because no need for any automation ;-)
@AndreasSpiessДень тому
Thank you for sharing your setup. So far I refused to have a NAS because I never needed one.
@zyghomДень тому
@@AndreasSpiess funny thing: I just set it up like 2y ago - never used before It is part of big project: LET ME CONTROL MY DATA - "bring back control" if you remember Brexit slogan ;-)
@H0meworkДень тому
If you’re on the same network I use an ios app called simple wake on lan. It detects the device and has a scan, so it does multiple devices as well (FOSS too with github). My systemd oneshot script frequently does not work (2/9 times it does). My solution is to send two commands when shutting down. I set ethtool to set wol g && systemctl suspend. Works flawlessly!
@AndreasSpiessДень тому
Thank you for the additional info!
@ProfessorVectorДень тому
where do i find the .zi font files ?
@AndreasSpiessДень тому
I do no more remember. This is a vary old video and things might have changed.
@999angelasДень тому
These 1L machines support Intel vPro if you have i5 or i7 CPU that supports it. In this case you have full IPMI/iLO/iDRAC/IMM2 functionality. You can remote install OS, you can start it up and access BIOS. The only difference is that you need dumb display connnector, cause if that PC doesn't detect monitor it simply doesn't output anything on video output. It took me a while to fine the ones that work (not all). But after that these small machines can be used as a servers. I mostly use newer model M900, M910q and M920q. On the last model you can install i9 CPU with 6 core and 64GB which is quite powerful home server running Proxmox. :)
@999angelasДень тому
As somebody already mentioned WoL can be not very reliable depending on the network Intel AMT is the opposite. You can use Mesh Commander to control these 1L PCs or use Linux amt software to control it from command line. :)
@AndreasSpiessДень тому
Good to know. Thank you!
@mcorts69День тому
Thanks Andreas, you are the best!
@AndreasSpiessДень тому
My pleasure!
@moeburnДень тому
I use WakeOnLan to wake up my home PC when I need to connect to it using a VNC server. I am able to log into my router's SSH terminal from the WAN, and from there send the WOL packet to the computer. The only downside is that there are thousands of Russian and Chinese IP addresses also trying to log into the same SSH terminal every hour.
@AndreasSpiessДень тому
A good idea if nobody is home...
@moeburnДень тому
I built one of these home energy monitors for my split phase system using two CT clamps, an AC/AC transformer, an Arduino Uno, and Robert Wall's EmonlibCM. The latter is essential for this project because he takes all the complex calculations from an electrical engineering PHd background and does them for you, to the precise timing known on the Uno's chipset. It's also surprisingly dangerous - even though the CT clamps aren't actually touching the mains wire, if they do not have a load resistor or a TVS diode, they will explode in a big puff of smoke if you clamp them around a wire carrying 100 amps+ of current. Because with no load resistor, they will generate theoretically millions of volts. As i nearly discovered.
@AndreasSpiessДень тому
Your clamps are simple transformers with one primary and many secundary turns. So indeed, they are made to create high voltages...
@M_KempyДень тому
They only call it dangerous because they can’t control it with an iron fist. Any time the gov says something is “dangerous” like private communications, I strongly suggest you get the equipment so you can use it when they try to ban it
@xlncz1День тому
Great video👍 I issue on my side. I connected my esp32-s2 with directly to usb while holding the GPIO0 Hear the sound usb connected Can see unknown device But can not load drivers for the com port. Nor even could find suitable driver for esp32 usb port driver. Could you please help how to do serial port driver. Thanks
@AndreasSpiessДень тому
The ESP32 does not need drivers. Just your PC need drivers.
@fmsilva112 дні тому
raspberry pi 4 works with magic packet ?
@AndreasSpiessДень тому
It shows a "g". But I did not check.
@tld81022 дні тому
Is wake on lan safe like if an iot device is compromised.
@AndreasSpiessДень тому
It has no protection, it just boots if it gets the packet.
@pavelperina76292 дні тому
I would not say that BJTs are useless. I use them to invert signal for driving mosfet gate for example. Difference is that signal logic p-mosfet in TO92 package such LP0701 costs something like 2EUR and it's one of the few transistors with low vgs(th), although in my experience, transistors with typical vgs(th) of -2.4V can work with 3.3V logic. On the other hand, for 10-15EUR you can get 300 pieces of BJT from China which you showed and third of that price is the box.
@AndreasSpiessДень тому
I hope I did not say they are useless. They just were not needed for my minimalistic survival kit
@jeffro.2 дні тому
Great video! Thanks!
@AndreasSpiessДень тому
Glad you liked it!
@jeffro.2 дні тому
Sorry, Andreas, you keep referring to the ISM band as being "24 GHz" but you're wrong! As an Extra Class ham operator in the US, i can tell you that the ISM band ranges from 2.4 to 2.5 GHz. That's an order of magnitude below what you're claiming. Sorry, i kept hearing you say that, and it was distracting to me, so i had to stop the video to make this comment. But, I'm watching it so long after you posted it that you'll probably never see it. Oh, well. Back to the video...!
@AndreasSpiessДень тому
Many ISM bands exist. Also one from 24 to 24.25GHz. These radars use that one. 73 de HB9BLA
@SonicCloud72 дні тому
Do they have a special software serial that works with ESP32?
@AndreasSpiessДень тому
I do not understand your question :-(
@SonicCloud7День тому
@@AndreasSpiess Hello :D. I'm trying to create a serial connection between the ESP32 and the JQ6500. I notice here in your video 2:12 that there is a special version for SoftwareSerial for the ESP8266, but I'm using the ESP32. Can I still use the EspSoftwareSerial on ESP32 chips? Or does it only work on the ESP8266 chips? Wow thank you so much for replying, your channel is so amazing :D !
@SonicCloud7День тому
@@AndreasSpiess Oh wait! 2:13 it is compatible with the ESP32 as well :D
@AndreasSpiessДень тому
@@SonicCloud7 The ESP32 has 3 serial connections. So usually, you do not need softwareSerial.
@SonicCloud7День тому
@@AndreasSpiess oh I see. So there is a way to use the JQ6500 together with the ESP32 without softwareSerial. I'm so new to working with these cool gadgets lol.
@jeffro.2 дні тому
My wife anores louder than your cat.
@TristanGrimaux2 дні тому
I've used WOL for many years and I've found this problems: 1) WOL support in motherboards is not consistent and does not always works reliably. 2) On several combinations of power outage/resets the g setting is wiped in the networking card 3) If the computer is not responsive there is nothing to do Nowadays I only use WOL on a set of computers when I need to do some kind of maintenance on a the weekend and I use PXE to boot them in a special mode to make a low level check. I strongly recommend you to check PIKVM to control that remote computer as it gives you the possibility to enter the bios or attach a virtual cd if you want to reinstall it, for example.
@AndreasSpiessДень тому
Thank you for sharing your experience. I agree, if my life would depend on it there are better ways. However, if you watched the video till the end, I showed what I do it if it did not run... So far I had no need for a KVM. But if you want to do manitenance, this is a good solution!
@TristanGrimaux12 годин тому
@@AndreasSpiess I've watched the entire video as I learn a lot from all of them. I use piKVM in servers that are many miles away and it help me work as I was standing right next to them and I thought it would be a good idea, but now that I think it a bit more, having a raspberry pi running would defeat the purpose of turning the server off to save on electricity.
@harvaldi2 дні тому
Good tutorial. I have some observations. Not on every machine there is a wake-on-lan capability. Laptops usually don't have it. On some machines with buggy bios/uefi (like HP) wake-on-lan do not work. In your bash script I would consider two changes. "sleep" blocks signals like sigterm, so script itself could block shutting down system for "$interval". Better option is to make function with loop and run sleep couple of times for 1 second at a time. Second small improvement is to check if user is logged on machine before shutdown and block shutdown if it is. (It can be frustrating when machine is powering down when some maintenance is being done). Something like "$(who | awk '{print $1}' | sort | uniq)" - if empty then nobody is logged.
@AndreasSpiessДень тому
Thank you for the additions. As mentioned, I used the code of somebody else and did not change it. If "sleep" blocks the script, why would adding a loop containing sleep change the situation?
@harvaldiДень тому
@@AndreasSpiess Because system could terminate script between short sleeps.
@jeffro.2 дні тому
Seems to me a good way to use the 2 processors is to have one only doing the communication protocols (wifi, serial port if needed), and use the other one to run the main program. Does that make sense to you? BTW, the PIO is much faster with I/O, so i would use that for a pulse counter.
@AndreasSpiessДень тому
Yes, this makes sense to me.
@bartjsmit2 дні тому
I tried WoL but had it fail after an unclean OS shutdown. I went with a Sequent Microsystems 8-relay Pi HAT instead. I wired these to the motherboard headers for the front-panel power switch on each computer to complement a PiKVM and TESmart KVM switch. Close contacts 0.5 second for power on and 5 seconds for power off with the screen in PiKVM to show what is going on.
@AndreasSpiessДень тому
A good idea if you already operate this infrastructure.
@MattemanAutomation2 дні тому
Super video. Now I'm investing the possibility to send a Wake on Lan signal from a ESP32 or ESP8266. If you let your ESP monitor your network (WAN, WiFi and Home Assistant by ping of MQTT) then you are able to detect if the network is up but Home Assistant is down (in case of a restored power down). If that's the case, I have to boot my HyperV machine which not always turns itself on after a power down. Wake up Lan sended from a ESP should be great for this job :)
@AndreasSpiessДень тому
I assume you find an ESP32 project for this purpose.
@MattemanAutomationДень тому
@@AndreasSpiess I hope so. If anybody has already done it, it will save me a lot of time :)
@maciej.wolosewicz2 дні тому
This is very handy for not encrypted hard drives. Unfortunately if you have encrypted drive and you need to put password to boot it may be not so easy. Anyway. Material as good as always! Thanks Andreas for doing this!
@AndreasSpiessДень тому
Indeed, I have no encrypted system drives!
@johngreig28242 дні тому
I must be as thick as a whale omelette. That seemed pretty complicated to me.
@AndreasSpiessДень тому
Indeed, not for everybody. Maybe you watch my latest tests of commercially available LoRaWAN gateways?
@johngreig2824Годину тому
@@AndreasSpiess Learning this stuff is probably like eating an Elephant... one bite at a time. If I immerse myself in the subject... I'll probably learn by osmosis. :)
@Toad5732 дні тому
I'm curious why the backup task runs via time instead of on a successful boot? Feels like it would be just as easy for there to be a script that runs the backup on startup. Then you are less likely to run into weird edge cases.
@AndreasSpiessДень тому
I agree for my setup. In the project I used, the backup times were very long. So this is maybe why he did it like that.
@AndreasSpiessДень тому
I changed my setup according your tip. Thanks!
@rajendrapalan95192 дні тому
Excellent
@AndreasSpiessДень тому
Thank you!
@AndreasSpiessДень тому
Thank you!
@donaldhoudek28892 дні тому
I am not a big fan of UDP, as it is not that secure and is usually prone to IP Spoofing and DDoS attacks. That is one of the first things I did was disable UDP on anything that is connected to my home network. For a remote control as in Andreas' scenario, I would probably use a SwitchBot (which is USB, not sure about the newer versions) sitting on top of the PC to turn it on/off. The remote location would be running Home Assistant on a Raspberry Pi (Linux) in "Bridged" mode and running on a Local VPN from my home network. Ideally, if the remote ISP router has VLAN capabilities I would put the Pi in its own VLAN restricting how the Pi can be accessed (Only via VPN or Local access). A small battery backup would keep the Pi running. I would use a USB dongle (plugged into the Pi) to communicate with the SwitchBot. I would do whatever automatic programming was needed on the remote location's Pi/Home Assistant, and have HA send back SMS messages with the current state after the commands were sent by HA. The closest I came to the above scenario was when we had our RV parked in the GA mountains 500 miles north of us and I had a Pi/Home Assistant in it and communicating over a Pi/VPN. The Pi would send me a lot of unnecessary data like Temp inside/outside, humidity, motion sensors, battery/Solar voltages.... and I could turn on/off lights inside RV remotely to drive the other RVers Crazy, when they knew we were at home in Florida. I had to disable the outside motion sensors in HA because around 2AM in the morning a family of deer would always walk past the RV and activate the outside motion sensor and send me a text. GREAT Video!!
@AndreasSpiessДень тому
Keep in mind that these things work in your LAN (even if you use VPN). So, UDP is no problem with me. Your proposal works too, but maybe is a bit more complex.
@j7v7a22 дні тому
Another option is to use your Bios to wake up the workstation using a clock. My bios has the option to set a time to power on my computer.
@AndreasSpiessДень тому
A good solution for the backup scenario. Not so convenient for the remote radio station...