No, I do not want to disassemble a Joystick.
I simply want to add a relay that would be connected to existing relay in UPS
that switches battery ON.
See a picture with connections in enclosed file.
SlawKo
Użytkownik "James Paige" napisał(a):
> Temat: Re: [pygame] Making UPS smart with Py
1) I am sure my UPS is neither being read as a Joystick nor any other device.
It is because it has only 2 connections: AC-input and AC-output.
2) This UPS is made by "Ever" type "MP300".
3) It is connected to the computer by AC-output socket on the UPS and AC-input
of the PSU in my PC. It has no
Hello,
I would like to get some information whether it would be possible to use
Pygame's Joystick package to process simple signal from UPS to trigger clean
shutdown of the Linux machine.
I would like to use 2 buttons from Joystick interface to sense 3 states from
UPS:
A) AC power OK
B) no AC