UPS MGE Ellipse Max 600 - Serveur NUT - Problème

UPS MGE Ellipse Max 600 - Serveur NUT - Problème - Onduleur - Hardware - Périphériques

Marsh Posté le 08-11-2020 à 10:31:43    

Bonjour,
 
Je possède un UPS MGE Ellipse Max 600, connecté USB sur un mini PC sous Debian 10 Buster utiilsé pour ma Domotique sous Jeedom.
 
J'ai créer mon serveur NUT (2.7.4-8), cependant quand l'UPS est connecté en USB, il fini par passer en OnLine Off, c'est à dire coupure de l'ondulé.
Non connecté en USB tout va bien.
 
voici ma configuration:
 
Fichier nut.conf

Code :
  1. MODE=standalone
  2. USPD_OPTIONS="-u root"


 
 
Fichier ups.conf

Code :
  1. [Onduleur]
  2.         driver = usbhid-ups
  3.         port = /dev/ttyS0
  4.         default.battery.voltage.high = 14
  5.         default.battery.voltage.low = 11


 
Fichier upsd.conf

Code :
  1. LISTEN 127.0.0.1 3493


 
Fichier uspd.users

Code :
  1. [admin]
  2.     password = *********
  3.     allowfrom = localhost
  4.     upsmon master
  5.     actions = SET
  6.     instcmds = ALL
  7. [Nutsoft]
  8.     password = ********
  9.     actions = FSD
  10.     upsmon master


 
Fichier upsmon.conf

Code :
  1. # Network UPS Tools: example upsmon configuration
  2. #
  3. # This file contains passwords, so keep it secure.
  4. RUN_AS_USER nut
  5. MONITOR Onduleur@localhost 1 Nutsoft ******** master
  6. NOTIFYCMD /usr/local/bin/nutNotify.sh
  7. #multiple instances running simultaneously
  8. NOTIFYMSG ONLINE "ONLINE %s"
  9. NOTIFYMSG ONBATT "ONBATT %s"
  10. NOTIFYMSG LOWBATT "LOWBATT %s"
  11. NOTIFYMSG FSD "FSD %s"
  12. NOTIFYMSG COMMBAD "COMMBAD %s"
  13. NOTIFYMSG COMMOK "COMMOK %s"
  14. NOTIFYMSG SHUTDOWN "SHUTDOWN %s"
  15. NOTIFYMSG REPLBATT "REPLBATT %s"
  16. NOTIFYMSG NOCOMM "NOCOMM %s"
  17. NOTIFYFLAG ONLINE SYSLOG+EXEC
  18. NOTIFYFLAG ONBATT SYSLOG+EXEC
  19. NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC
  20. NOTIFYFLAG FSD SYSLOG+WALL+EXEC
  21. NOTIFYFLAG COMMBAD SYSLOG+EXEC
  22. NOTIFYFLAG COMMOK SYSLOG+EXEC
  23. NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC
  24. NOTIFYFLAG REPLBATT SYSLOG+EXEC
  25. NOTIFYFLAG NOCOMM SYSLOG+EXEC
  26. #NOTIFYMSG type message
  27. POWERDOWNFLAG /var/lib/nutsoft/killpower
  28. #POWERDOWNFLAG /var/tmp/killpower
  29. #Dans la doc :
  30. #POWERDOWNFLAG /etc/killpower
  31. SHUTDOWNCMD "/sbin/shutdown -h +0"
  32. FINALDELAY 2
  33. MINSUPPLIES 1
  34. RBWARNTIME 604800
  35. NOCOMMWARNTIME 21600
  36. POLLFREQ 15
  37. POLLFREQALERT 30
  38. HOSTSYNC 15
  39. DEADTIME 45


 
Fichier upssched.conf

Code :
  1. LOCKFN /var/lib/nut/upssched.lock
  2. PIPEFN /var/lib/nut/upssched.pipe
  3. CMDSCRIPT /bin/upssched-cmd
  4. AT ONBATT * START-TIMER onbatt1 13
  5. AT ONLINE * CANCEL-TIMER onbatt1
  6. #AT ONBATT * START-TIMER earlyshutdown 30
  7. #AT ONLINE * CANCEL-TIMER earlyshutdown
  8. AT ONBATT * START-TIMER onbattwarn 30
  9. AT ONLINE * CANCEL-TIMER onbattwarn


 
Les commandes dans un terminal:
 
lsusb

Code :
  1. Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  2. Bus 001 Device 005: ID 8087:0a2a Intel Corp.
  3. Bus 001 Device 004: ID 0463:ffff MGE UPS Systems UPS
  4. Bus 001 Device 003: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
  5. Bus 001 Device 002: ID 1cf1:0030 Dresden Elektronik
  6. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


 
ls -l /dev/bus/usb/001

Code :
  1. crw-rw-r-- 1 root root 189, 0 nov.   4 19:00 001
  2. crw-rw-r-- 1 root root 189, 1 nov.   4 19:00 002
  3. crw-rw-r-- 1 root root 189, 2 nov.   4 19:00 003
  4. crw-rw-r-- 1 root nut  189, 3 nov.   8 11:05 004
  5. crw-rw-r-- 1 root root 189, 4 nov.   4 19:00 005


 
 /bin/upsc Onduleur@localhost

Code :
  1. Init SSL without certificate database
  2. battery.charge: 100
  3. battery.charge.low: 20
  4. battery.runtime: 2081
  5. battery.type: PbAc
  6. battery.voltage.high: 14
  7. battery.voltage.low: 11
  8. device.mfr: MGE UPS SYSTEMS
  9. device.model: Ellipse MAX 600
  10. device.serial: PbAc
  11. device.type: ups
  12. driver.name: usbhid-ups
  13. driver.parameter.pollfreq: 30
  14. driver.parameter.pollinterval: 2
  15. driver.parameter.port: /dev/ttyS0
  16. driver.parameter.synchronous: no
  17. driver.version: 2.7.4
  18. driver.version.data: MGE HID 1.39
  19. driver.version.internal: 0.41
  20. input.sensitivity: normal
  21. input.transfer.boost.low: 185
  22. input.transfer.high: 285
  23. input.transfer.low: 165
  24. input.transfer.trim.high: 265
  25. input.voltage.extended: no
  26. outlet.1.desc: PowerShare Outlet 1
  27. outlet.1.id: 2
  28. outlet.1.status: on
  29. outlet.1.switchable: no
  30. outlet.desc: Main Outlet
  31. outlet.id: 1
  32. outlet.switchable: no
  33. output.frequency.nominal: 50
  34. output.voltage: 230.0
  35. output.voltage.nominal: 230
  36. ups.beeper.status: enabled
  37. ups.delay.shutdown: 20
  38. ups.delay.start: 30
  39. ups.firmware: 1.01
  40. ups.load: 0
  41. ups.mfr: MGE UPS SYSTEMS
  42. ups.model: Ellipse MAX 600
  43. ups.power.nominal: 600
  44. ups.productid: ffff
  45. ups.serial: PbAc
  46. ups.status: OL
  47. ups.timer.shutdown: 0
  48. ups.timer.start: 0
  49. ups.vendorid: 0463


 
upsc -l

Code :
  1. Init SSL without certificate database
  2. Onduleur


 
/etc/init.d/ups-monitor status
Pas de résultats
 
sudo invoke-rc.d nut status

Code :
  1. Unit nut.service could not be found.
  2. invoke-rc.d: initscript nut, action "status" failed.


 
 
Merci.


Message édité par Eddie80 le 08-11-2020 à 11:05:59
Reply

Marsh Posté le 08-11-2020 à 10:31:43   

Reply

Marsh Posté le 08-11-2020 à 11:38:17    

J'ai rajouté MAXAGE 15 dans le fichier UPSD.conf
 
Il y du mieux dans le status. Je verrais si ca coupe toujours

Reply

Marsh Posté le 08-11-2020 à 15:16:43    

Eddie80 a écrit :

J'ai rajouté MAXAGE 15 dans le fichier UPSD.conf
 
Il y du mieux dans le status. Je verrais si ca coupe toujours


 
J'ai toujours le problème de coupure ondulé, passage en OL OFF
 
avec: systemctl status nut-monitor.service
 
j'ai

Code :
  1. ● nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller
  2.    Loaded: loaded (/lib/systemd/system/nut-monitor.service; enabled; vendor preset: enabled)
  3.    Active: active (running) since Sun 2020-11-08 11:27:05 CET; 3h 46min ago
  4.   Process: 20912 ExecStart=/sbin/upsmon (code=exited, status=0/SUCCESS)
  5. Main PID: 20914 (upsmon)
  6.     Tasks: 2 (limit: 4915)
  7.    Memory: 1.9M
  8.    CGroup: /system.slice/nut-monitor.service
  9.            ├─20913 /lib/nut/upsmon
  10.            └─20914 /lib/nut/upsmon
  11. nov. 08 14:44:06 jeedom-pc upsmon[20914]: COMMOK Onduleur@localhost
  12. nov. 08 14:44:36 jeedom-pc upsmon[20914]: Poll UPS [Onduleur@localhost] failed - Data stale
  13. nov. 08 14:44:36 jeedom-pc upsmon[20914]: COMMBAD Onduleur@localhost
  14. nov. 08 14:44:51 jeedom-pc upsmon[20914]: Poll UPS [Onduleur@localhost] failed - Data stale
  15. nov. 08 14:45:06 jeedom-pc upsmon[20914]: Poll UPS [Onduleur@localhost] failed - Data stale
  16. nov. 08 14:45:21 jeedom-pc upsmon[20914]: Poll UPS [Onduleur@localhost] failed - Data stale
  17. nov. 08 14:45:36 jeedom-pc upsmon[20914]: COMMOK Onduleur@localhost
  18. nov. 08 14:45:51 jeedom-pc upsmon[20914]: Poll UPS [Onduleur@localhost] failed - Data stale
  19. nov. 08 14:45:51 jeedom-pc upsmon[20914]: COMMBAD Onduleur@localhost
  20. nov. 08 14:46:06 jeedom-pc upsmon[20914]: COMMOK Onduleur@localhost


 
Je viens de mettre le maxage sur 25


Message édité par Eddie80 le 08-11-2020 à 15:18:24
Reply

Marsh Posté le 08-11-2020 à 19:58:35    

J'ai peut être pas ciblé le bon forum...

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed