similar to: Weekend Puzzle: computer posing as an UPS

Displaying 20 results from an estimated 20000 matches similar to: "Weekend Puzzle: computer posing as an UPS"

2024 Sep 15
2
Weekend Puzzle: computer posing as an UPS
Jim Klimov via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> writes: > I am experimenting with a Raspberry Pi, and it is fed from my PC > (Debian-ish Linux) that is in turn protected by an UPS - so runs NUT. > > As far as the Pi is concerned, the bigger computer is its wall power > source (provides the USB socket) and being a smart machine with NUT > running, it
2024 Sep 28
1
Weekend Puzzle: computer posing as an UPS
I guess I should scratch the idea about fan sockets as the power source: they are rated typically at 0.2A each, so fan headers should be expected 1A max (3A in some vendors/models), well under the 5A that the RPi5 wants. Jim On Sat, Sep 28, 2024 at 11:52?AM Jim Klimov <jimklimov+nut at gmail.com> wrote: > Follow-up: > > * Powering the Raspberry Pi5 from an USB-C port wired on
2024 Sep 28
2
Weekend Puzzle: computer posing as an UPS
Follow-up: * Powering the Raspberry Pi5 from an USB-C port wired on the motherboard was much more promising, it survived over 8 hours building NUT in a loop (in a tmpfs). And in the morning I found it turned off (red light on the Pi). * Per https://stackoverflow.com/questions/4702216/controlling-a-usb-power-supply-on-off-with-linux it seems not possible to programmatically truly power-cycle USB
2024 Sep 27
1
Weekend Puzzle: computer posing as an UPS
FWIW, a few lessons learned: * Different USB-A sized ports (even if marked USB-3.2) did not prove a stable source, with Pi5 occasionally turning off or rebooting. Sort of behaved well for days, but as soon as I added load like package installs or NUT builds, it did not survive 5 minutes... * Might be the MoBo turning off or cycling the port due to "overload"?.. * Tried the
2024 Sep 28
1
Weekend Puzzle: computer posing as an UPS
That, or use a low current source such as the fan header to control a 5v switch feeding the pi from a different source. Same net result, and no excess loads on your mobo. (Might be able to work this into the case using a spare power supply connector to feed it . . .) Still have not figured out why though, but that's not relevant to what you are trying to accomplish. On September 28, 2024
2024 Sep 16
2
Weekend Puzzle: computer posing as an UPS
Kelly Byrd <kbyrd at memcpy.com> writes: > With USB-C ports and cables, there are a ton of profiles, I don't know what > the new Pi's support, but likely something like 3A @ 5V, 9V, or 12V over > USB-C Up to the RPI4, I was pretty sure there wasn't PD, just 5V and it drew what it drew, and you hoped that the supply was big enough. It seems the RPI5 will use PD if
2024 Sep 28
1
Weekend Puzzle: computer posing as an UPS
Jim Klimov via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> writes: > Did anyone trod these side paths yet, any learnings? :D To me, the answer to power for little things is increasingly POE. I think there are POE ejectors that provide adequate USB-C power. You need 802.3at (POE+) surely, but that's normal these days.
2023 May 27
2
unable to connect to APC UPS Connection Refused
I've not been able to connect to my ups using NUT 2.7.4 or NUT 2.8.0. 2.7.4 was installed as a package, 2.8.O was compiled from source. I've messed with permissons, everything is root:root and has the approprate read/execute permissons. I've tried two differnt UPS(es) APC & CyperPower. I'm running PI OS (Raspbian) on a Raspberry Pi3 model B. The port 3493 is open (UFW). I can
2018 Aug 19
2
Protocol for an Arduino based UPS
Hi, I'm building a DIY UPS for a Raspberry Pi using a 12V SLA battery, charger, and an off the shelf 5V regulator. To monitor the battery level I'd like to use an Arduino or similar type device. Since the Arduino can have a serial over USB connection with the Pi I'd like to implement a protocol that can be used with NUT. Does anyone know if something like this has already been done?
2013 Apr 08
1
Designing a Raspberry Pi "UPS"
Hey folks, I'm designing a power management card for a Raspberry Pi, for an embedded application. Basically, here's the bits and pieces that would be on the card: - A 12V SLA battery charger, which can be powered from a wall wart or solar panel. - A pair of 12V->5V switching regulators, one powering the Pi and the other powering a built-in 4-port USB hub. - A USB capable
2003 Dec 30
1
floor of n observations in number generators
I couldnt find a previous posting on this in the archives, maybe it has already been mentioned. If you use a calculation to generate n observations in random number generators and you don't round to the nearest integer you may be generating n-1 numbers not n numbers as you thought depending on the storage precision of the calculation. e.g. > m <- 1000 > pi0 <- 0.9 >
2012 Apr 24
2
Some Help Needed
Dear all, I need to do some calculation where the code used are below. I get error message when I choose k to be large, say greater than 25. The error message is "Error in integrate(temp, lower = 0, upper = 1, k, x, rho, m) : the integral is probably divergent". Can anyone give some help on resolving this. Thanks. Hannah m <- 100 alpha <- 0.05 rho <- 0.1 F0
2006 Oct 02
1
qvalue
Dear colleagues, This is not strictly a R question, but I hope it is ok to ask on the list. I fed a vector of p-values from about 20 million anova tests to the package q-value and obtained this output: > qsummary(asso_p.qvalue) Call: qvalue(p = asso_p.vec) pi0: 1 Cumulative number of significant calls: <1e-04 <0.001 <0.01 <0.025 <0.05 <0.1 <1
2011 Apr 18
1
qvalue
I am using storey's qvalue package but I keep on getting errors. Why is this? > qvalue(p, lambda=0.5)$pi0 [1] "ERROR: p-values not in valid range." Error in qvalue(p, lambda = 0.5)$pi0 : $ operator is invalid for atomic vectors -- Thanks, Jim. [[alternative HTML version deleted]]
2010 Feb 11
1
histogam plots
Hi all, I want to draw a histgram for each row of a matrix and compare them. However the plot I got does not have the same y range and x range, which makes it difficult to make the comparison. Is there a easy way to fix the x range and y range in a xy plot for several plots, instead of specifying them for each plot. The following is my code for generalizing the matrix and draw the histogram.
2023 Jun 16
1
Dummy-ups cycles between online and onbatt every 5 minutes. (Nut 2.8.0)
Now that upsstats.cgi works, I've noticed that dummy-ups changes state every 5 minutes between OL and OB (probably when the 300 second timer expires). The UPS state stays online. Also "online" and "onbatt" are broadcast to the console probably via WALL. (The state changes don't seem to be form the ups as upsshed-cmd doesn't run). Upssched-cmd does run when the UPS
2023 Feb 20
1
Using 'dummy.ups' for a real application, not just testing...
> Do you think there could be some merit in either embellishing dummy-ups or deriving a new driver from it that is sanctioned as a 'file-based' interface for NUT? I'd say one problem would be relative inefficiency and overheads: you have one process talking to the device to extract data, save it into a file, another process to regularly fopen() and read it and tell `upsd` to
2017 Apr 26
0
APC Back-UPS XS1300 battery behaviour on test shutdown
Hi there, Seeing an odd behaviour when running upsmon -c fsd to test my Raspberry Pi (running Jesse Lite) setup as a upsmon master, attached via USB to an APC Back-UPS XS1300. The Raspberry Pi is plugged into the Master outlet on the APC. The UPS clicks onto battery (and the fan spins up) for a few minutes, then resets, then repeats again, while finally remaining on AC power afterwards. The
2010 Mar 10
1
Phishing attempt posing as digium
Did anyone else just get what looks like a phising attempt pretending to be from digium? It appears to be full of links to http://app.en25.com/e/er.aspx I must admit, it looks genuine.
2016 May 25
0
Tripplite SMART2200VS with tripplite_usb: UPS doesn't shut down
Hello, I have a Tripplite SMART2200VS that isn't being shut down when the nut master asks it to. My initial test was simply upsmon -c fsd which caused the system to shut down, but the UPS remained on and providing power to its loads. Looking in the logs (daemon and syslog) it was not clear to me that NUT was telling the UPS to shut down (I was expecting to see "Shutting down the UPS