Re:Use This Kernel Parameter in Your Kiosk
by dtgriscom on Saturday November 19, 2022 @06:45AM
(#33669287)
I have a network-controllable outlet switch with a timeout feature. You can configure each outlet to ping a specific IP address; if the address doesn't respond after X seconds then the outlet will be power-cycled.
[ Parent
| on HN ]
Re:Use This Kernel Parameter in Your Kiosk
by mananaysiempre on Saturday November 19, 2022 @07:50AM
(#33669635)
Did you get that as fabulously expensive datacenter gear, or were you able to squeeze it out of a consumer “smart outlet”? I’ve been looking for a thing like that some weeks ago (for reasons that are now moot), and the easiest option seemed to be to buy a handful of the vendor-app-locked whitelabel crap and see which one can be reflashed with open source firmware. Which is not as easy as I’d wish.
Re:Use This Kernel Parameter in Your Kiosk
by yencabulator on Saturday November 19, 2022 @02:37PM
(#33673779)
Shelly relays are known to be easy to control via Wifi. Off the shelf, you'd need to run the actual ping+decide logic elsewhere, though you could re-flash the firmware with custom logic too...
https://shelly-api-docs.shelly.cloud/gen2/General/RPCProtoco...
https://www.amazon.com/stores/page/4E39C18F-DCA3-4726-A8A7-6...
Plus, they're also easy to reflash with other firmwares (e.g. Tasmota, ESPHome).
Re:Use This Kernel Parameter in Your Kiosk
by oakwhiz on Saturday November 19, 2022 @05:52PM
(#33675756)
I want one of these in "plug" form factor that uses a normally-closed relay rather than normally-open. The reason being that the internal power supply and microcontroller could fail by shutting down, preventing things from working at all. There's nothing that can be done about the microcontroller failing while holding the circuit open, though, but power supply failure has been a reoccurring but infrequent thing for me lately and it would be nice to cover that case well.
Edit: For small do-it-yourself computer clusters you probably want it to fail normally-open, this would be for non-redundant stuff