So, the hardware way seems too difficult.

 

I see the raspberry documentation in order to understand if it’s 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:[email protected]] 
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 <[email protected]
<mailto:[email protected]> > 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 doesn’t 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@gmail

 

 

 

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to