[Nut-upsuser] R: R: NUT and relay on USB
Maurizio Iacaruso
maurizio.iacaruso at gmail.com
Wed Jan 21 13:57:52 UTC 2015
So, the hardware way seems too difficult.
I see the raspberry documentation in order to understand if its possible
replicate an USB signal to GPIO.
So, with a TTL-USB cable I send the signal to the NVR.
I hope this is possible!
Da: Charles Lepple [mailto:clepple at gmail.com]
Inviato: mercoledì 21 gennaio 2015 13:41
A: Maurizio Iacaruso
Cc: NUT List
Oggetto: Re: [Nut-upsuser] R: NUT and relay on USB
On Jan 21, 2015, at 3:41 AM, Maurizio Iacaruso <maurizio.iacaruso at gmail.com
<mailto:maurizio.iacaruso at gmail.com> > wrote:
The device is this
<http://www.dlink.com/it/it/business-solutions/network-storage/network-video
-recorders/dnr-322l-cloud-network-video-recorder>
http://www.dlink.com/it/it/business-solutions/network-storage/network-video-
recorders/dnr-322l-cloud-network-video-recorder , a NVR with USB port for
monitoring UPS. It doesnt support monitoring by LAN.
So, my aim is to replicate the state of the UPS, in the sense that the
information are sent to raspberry (for NUT) AND to NVR, so it may shutdown
properly.
It is not a simple matter to replicate the UPS state, in that sense. In
general, UPS monitoring ports cannot be "shared" by two devices (although
some high-end UPSes have more than one serial port for that purpose).
This is why NUT has 'upsd'. In the following diagram, "communication" is the
USB link between the UPS and the Raspberry Pi (or the NVR). Either the
Raspberry Pi has to share the UPS status through something like upsd (or
something similar, like apcupsd's NIS master mode), or the NVR has to send
the shutdown signal to the Raspberry Pi.
http://www.networkupstools.org/docs/user-manual.chunked/ar01s03.html#_advanc
ed_configuration
--
Charles Lepple
clepple at gmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20150121/5f2a848c/attachment.html>
More information about the Nut-upsuser
mailing list