Got myself some energy monitoring Zigbee plugs and made an interesting discovery
-
[email protected]replied to [email protected] last edited by
Depends on the driver. Usually for finicky ones you can do an rmmod at suspend and a modprobe on resume. What distro, and are you using the default suspend mechanism?
-
[email protected]replied to [email protected] last edited by
yes, i'm on ubuntu, using all the default drivers.
and i would guess its finnicky because its an old laptop.
-
[email protected]replied to [email protected] last edited by
Yeah, I never expect a financial ROI for hobbies; the ROI for that is nothing more than my own enjoyment.
-
[email protected]replied to [email protected] last edited by
Hah, Wyze use the same shell for their WiFi model: https://a.co/d/3kSQaoF
I think these are all based off these ZigBee models at $4 a pop: https://www.alibaba.com/product-detail/US-Smart-Home-Tuya-Alexa-Voice_1601241553658.html
-
[email protected]replied to [email protected] last edited by
There are a couple of ways:
- Formally add a system entry to run at suspend/resume (like how nvidia does in their driver package)
Or
- Write a script that rmmods, suspends, sleeps, modprobes, and map it to Cntrl-Alt-Shift-S
I usually do 2 because I like the hotkey method for desktops, and it keeps things the same for both. Also allows me to close a lid on a laptop and leave it on. But 1 is more "formal".
Happy to share some scripts if you'd like, on my phone now, though.
-
[email protected]replied to [email protected] last edited by
Yeah I use Linux for my servers and my HTPC, but I never really hibernate or sleep those so I had no idea if it might occur there too. It's great to hear this is not likely to be an issue - thanks
-
[email protected]replied to [email protected] last edited by
Ok, just be sure it has an integrated circuit breaker otherwise its just....a surge protector. You'll also need to identify what load it triggers at. For example, I use these on my gear https://tripplite.eaton.com/isobar-4-outlet-surge-protector-6-ft-cord-3300-joules-diagnostic-leds~ISOBAR4ULTRA and they're rated to 12A which should protect a 15A rated smart plug. I put rated in italics because errrryone is buying CE (instead of UL listed) smart plugs.
-
[email protected]replied to [email protected] last edited by
Did you check the bios?
-
[email protected]replied to [email protected] last edited by
how do i do 1? having timeout to suspend and lid close to suspend would be great. and id like to see some example scripts!
i had pretty much given up on standby with this one.
-
[email protected]replied to [email protected] last edited by
11th gen i5 NUC.
-
[email protected]replied to [email protected] last edited by
If it gets the wife approval you know you are on to something