Bonjour à tous.
J’ai essayé des dizaines de manips et je n’arrive pas à faire remonter les infos de mon onduleur APC 550W.
J’ai installé le plugin. J’ai essayé d’installer les dépendances. J’avais une sombre erreur. La seule façon que j’ai trouvé pour la résoudre et de faire un apt-get install apcupsd depuis mon Rpi (via SSH).
Ensuite, je relance l’install des dépendances, ca me dit que le paquet est deja installé mais par contre ca doit me copier le bon fichier de config (sous /etc/apcupsd).
Sous mon Rpi:
/sbin/apcaccess
fonctionne très bien.
APC : 001,034,0833
DATE : 2020-02-29 19:00:58 +0000
HOSTNAME : raspberrypi
VERSION : 3.14.14 (31 May 2016) debian
UPSNAME : jeedom UPS_IDEN
CABLE : USB Cable
DRIVER : USB UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2020-02-29 19:00:56 +0000
MODEL : Back-UPS ES 550G
STATUS : ONLINE
LINEV : 236.0 Volts
LOADPCT : 0.0 Percent
BCHARGE : 100.0 Percent
TIMELEFT : 42.5 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME : 0 Seconds
SENSE : Medium
LOTRANS : 180.0 Volts
HITRANS : 266.0 Volts
ALARMDEL : 30 Seconds
BATTV : 13.6 Volts
LASTXFER : Low line voltage
NUMXFERS : 0
Sous jeedom, assez étrangement aucun équipement par defaut n’est créé. Je pensais que c’était le cas.
Je crée un équipement. Ce dernier n’apparait pas, mais j’ai un message d’erreur:
L’adresse ne peut etre vide
Rien ne se passe, je fais F5.
Mon équipement apparait:
Je lui mets l’adresse et le port, les infos. Je sauvegarde:
Ca tourne dans le vide indéfiniment. Rien ne se passe.
J’ai deja laissé tourner très longtemps mais la roue crantée continue de tourner… sans rien.
Alors je fais F5. Là, mon équipement semble correct. Lorsque j’interroge les infos, je n’ai jamais aucune remontée:
Voilà, je ne comprends rien.
J’ai essayé de désisntaller le plugin, désinstaller apcupsd sous mon Rpi, tout remettre, ca ne change rien, j’ai toujours ce souci.
Dans les logs du plugin, on dirait que l’équipement crashe des logs toutes les secondes…
[2020-02-29 20:13:37][DEBUG] : Get information key NOMINV with value 230 Volts
[2020-02-29 20:13:37][DEBUG] : Get information key NOMBATTV with value 12.0 Volts
[2020-02-29 20:13:37][DEBUG] : Get information key FIRMWARE with value 870.O4 .I USB FW:O4
[2020-02-29 20:13:37][DEBUG] : Get information key END APC with value 2020-02-29 19:13:37 +0000
[2020-02-29 20:13:37][DEBUG] : Update command loadpct
[2020-02-29 20:13:37][DEBUG] : => apply default case
[2020-02-29 20:13:37][DEBUG] : => update command loadpct with 0.0
[2020-02-29 20:13:37][DEBUG] : Update command bcharge
[2020-02-29 20:13:37][DEBUG] : => apply default case
[2020-02-29 20:13:37][DEBUG] : => update battery status
[2020-02-29 20:13:37][DEBUG] : Get information string APC : 001,034,0833 DATE : 2020-02-29 19:13:03 +0000 HOSTNAME : raspberrypi VERSION : 3.14.14 (31 May 2016) debian UPSNAME : jeedom UPS_IDEN CABLE : USB Cable DRIVER : USB UPS Driver UPSMODE : Stand Alone STARTTIME: 2020-02-29 19:00:56 +0000 MODEL : Back-UPS ES 550G STATUS : ONLINE LINEV : 240.0 Volts LOADPCT : 0.0 Percent BCHARGE : 100.0 Percent TIMELEFT : 42.5 Minutes MBATTCHG : 5 Percent MINTIMEL : 3 Minutes MAXTIME : 0 Seconds SENSE : Medium LOTRANS : 180.0 Volts HITRANS : 266.0 Volts ALARMDEL : 30 Seconds BATTV : 13.7 Volts LASTXFER : Low line voltage NUMXFERS : 0 TONBATT : 0 Seconds CUMONBATT: 0 Seconds XOFFBATT : N/A STATFLAG : 0x05000008 SERIALNO : 5B1937T26615 BATTDATE : 2019-09-14 NOMINV : 230 Volts NOMBATTV : 12.0 Volts FIRMWARE : 870.O4 .I USB FW:O4 END APC : 2020-02-29 19:13:37 +0000 from apcaccess
[2020-02-29 20:13:37][DEBUG] : Get information key APC with value 001,034,0833
[2020-02-29 20:13:37][DEBUG] : Get information key DATE with value 2020-02-29 19:13:03 +0000
[2020-02-29 20:13:37][DEBUG] : Get information key HOSTNAME with value raspberrypi
[2020-02-29 20:13:37][DEBUG] : Get information key VERSION with value 3.14.14 (31 May 2016) debian
[2020-02-29 20:13:37][DEBUG] : Get information key UPSNAME with value jeedom UPS_IDEN
[2020-02-29 20:13:37][DEBUG] : Get information key CABLE with value USB Cable
[2020-02-29 20:13:37][DEBUG] : Get information key DRIVER with value USB UPS Driver
[2020-02-29 20:13:37][DEBUG] : Get information key UPSMODE with value Stand Alone
[2020-02-29 20:13:37][DEBUG] : Get information key STARTTIME with value 2020-02-29 19:00:56 +0000
[2020-02-29 20:13:37][DEBUG] : Get information key MODEL with value Back-UPS ES 550G
[2020-02-29 20:13:37][DEBUG] : Get information key STATUS with value ONLINE
[2020-02-29 20:13:37][DEBUG] : Get information key LINEV with value 240.0 Volts
[2020-02-29 20:13:37][DEBUG] : Get information key LOADPCT with value 0.0 Percent
[2020-02-29 20:13:37][DEBUG] : Get information key BCHARGE with value 100.0 Percent
[2020-02-29 20:13:37][DEBUG] : Get information key TIMELEFT with value 42.5 Minutes
[2020-02-29 20:13:37][DEBUG] : Get information key MBATTCHG with value 5 Percent
[2020-02-29 20:13:37][DEBUG] : Get information key MINTIMEL with value 3 Minutes
[2020-02-29 20:13:37][DEBUG] : Get information key MAXTIME with value 0 Seconds
[2020-02-29 20:13:37][DEBUG] : Get information key SENSE with value Medium
[2020-02-29 20:13:37][DEBUG] : Get information key LOTRANS with value 180.0 Volts
[2020-02-29 20:13:37][DEBUG] : Get information key HITRANS with value 266.0 Volts
[2020-02-29 20:13:37][DEBUG] : Get information key ALARMDEL with value 30 Seconds
[2020-02-29 20:13:37][DEBUG] : Get information key BATTV with value 13.7 Volts
[2020-02-29 20:13:37][DEBUG] : Get information key LASTXFER with value Low line voltage
[2020-02-29 20:13:37][DEBUG] : Get information key NUMXFERS with value 0
[2020-02-29 20:13:37][DEBUG] : Get information key TONBATT with value 0 Seconds
[2020-02-29 20:13:37][DEBUG] : Get information key CUMONBATT with value 0 Seconds
[2020-02-29 20:13:37][DEBUG] : Get information key XOFFBATT with value N/A
[2020-02-29 20:13:37][DEBUG] : Get information key STATFLAG with value 0x05000008
[2020-02-29 20:13:37][DEBUG] : Get information key SERIALNO with value 5B1937T26615
[2020-02-29 20:13:37][DEBUG] : Get information key BATTDATE with value 2019-09-14
[2020-02-29 20:13:37][DEBUG] : Get information key NOMINV with value 230 Volts
[2020-02-29 20:13:37][DEBUG] : Get information key NOMBATTV with value 12.0 Volts
[2020-02-29 20:13:37][DEBUG] : Get information key FIRMWARE with value 870.O4 .I USB FW:O4
[2020-02-29 20:13:37][DEBUG] : Get information key END APC with value 2020-02-29 19:13:37 +0000
etc… ca me parait vraiment bizarre.
Auriez vous un indice svp ?
Merci bcp.