Christian HUGUES
2022-Jul-19 22:42 UTC
[Nut-upsuser] UPS triphase or 3-phase : how to get values for L1, L2 , L3
Hello, we have a triphase UPS (or 3-phase). It is a UPS Infosec Mod5TE and we use the driver ?blazer_usb? (available in /lib/nut/). The ?nut? version is : 2.7.2 On Ubuntu 16.04.1 The UPS is connected with USB. When I use the shell command : upsc ups I have the value of ?ups.load? but this value is the average of the UPS load .. I would like to get the value for each phase (L1, L2, L3). How can I do that ? Regards, ________________________________ MENTION LEGALE : Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont ?tablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le d?truire et d'en avertir imm?diatement l'exp?diteur. Toute utilisation de ce message non conforme ? sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Le r?seau Internet ne permettant pas d'assurer l'int?grit? de ce message, l'Institut Louis Malard? d?cline toute responsabilit? au titre de ce message, dans l'hypoth?se o? il aurait ?t? modifi?. http://www.ilm.pf ________________________________ DISCLAIMER : This message (and any attachments) may contain confidential or privileged information. Unless it's part of a contractual obligation, the information contained in this message has been sent by the signatory on their personal initiative and does not bind Malarde Institute in any way. It's intended only for the recipient(s) to which it was addressed. If you received this in error, please notify the sender by replying and then deleting it from your system. Any review, retransmission, retention, reproduction, or distribution of this message is prohibited and may be unlawful. The integrity and security of this message cannot be guaranteed and it may be subject to data corruption, interception and unauthorized amendment, for which we accept no liability. http://www.ilm.pf ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20220719/945a6464/attachment.htm>
Jim Klimov
2022-Jul-20 19:29 UTC
[Nut-upsuser] UPS triphase or 3-phase : how to get values for L1, L2 , L3
I have seen explicit 3-phase "realpower", "power" and/or "load" values support handled for some MGE/Eaton devices, with code developed after 2.7.4 release (not at a PC now to check further which driver types - snmp probably, netxml and/or usb possibly... looking at https://github.com/networkupstools/nut/search?p=3&q=L2 searching for current codebase state). I thought most other drivers only deal with retrieval of voltage, but in the search hits I see some others mapping "power" or "load" data as well. Blazer drivers are not in that list however; possibly related support may be in nutdrv_qx (voltronic at least), and in riello devices whose codebases seem closely related. Just in case, note you are with an 8-year-old NUT 2.7.2 release. You can try building a newer one to get some current features and bug-fixes, although phase-aware "load" support will not be part of that. However it may be your first step in researching whether other drivers (and/or code transplants e.g. from riello_usb.c to blazer_usb.c) would help with your device. It may also happen that it just does not serve that data, or not in a way we know where to ask (is that model's protocol known and public?) Hope some of this helps, Jim On Wed, Jul 20, 2022 at 12:58 AM Christian HUGUES <chugues at ilm.pf> wrote:> Hello, we have a triphase UPS (or 3-phase). It is a UPS Infosec Mod5TE and > we use the driver ?blazer_usb? (available in /lib/nut/). > > The ?nut? version is : 2.7.2 > > On Ubuntu 16.04.1 > > The UPS is connected with USB. > > > > When I use the shell command : upsc ups > > > > I have the value of ?ups.load? but this value is the average of the UPS > load .. I would like to get the value for each phase (L1, L2, L3). > > How can I do that ? > > > > Regards, > ------------------------------ > MENTION LEGALE : > > Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont > ?tablis a l'intention exclusive de ses destinataires et sont confidentiels. > Si vous recevez ce message par erreur, merci de le d?truire et d'en avertir > imm?diatement l'exp?diteur. Toute utilisation de ce message non conforme ? > sa destination, toute diffusion ou toute publication, totale ou partielle, > est interdite, sauf autorisation expresse. Le r?seau Internet ne permettant > pas d'assurer l'int?grit? de ce message, l'Institut Louis Malard? d?cline > toute responsabilit? au titre de ce message, dans l'hypoth?se o? il aurait > ?t? modifi?. > http://www.ilm.pf > ------------------------------ > DISCLAIMER : > > This message (and any attachments) may contain confidential or privileged > information. Unless it's part of a contractual obligation, the information > contained in this message has been sent by the signatory on their personal > initiative and does not bind Malarde Institute in any way. It's intended > only for the recipient(s) to which it was addressed. If you received this > in error, please notify the sender by replying and then deleting it from > your system. Any review, retransmission, retention, reproduction, or > distribution of this message is prohibited and may be unlawful. The > integrity and security of this message cannot be guaranteed and it may be > subject to data corruption, interception and unauthorized amendment, for > which we accept no liability. > http://www.ilm.pf > ------------------------------ > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20220720/1464596d/attachment.htm>