Plugin apc

bonjour, j’ai quelle que problème avec ce plugin et mon onduleur, voila les log et quelles images201

[2019-11-07 20:00:29][DEBUG] : Get information string APC : 001,036,0888 DATE : 2019-11-07 19:00:15 +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: 2019-11-07 18:44:55 +0000 MODEL : Back-UPS XS 700U STATUS : ONLINE LINEV : 222.0 Volts LOADPCT : 13.0 Percent BCHARGE : 100.0 Percent TIMELEFT : 32.9 Minutes MBATTCHG : 5 Percent MINTIMEL : 3 Minutes MAXTIME : 0 Seconds SENSE : Medium LOTRANS : 140.0 Volts HITRANS : 300.0 Volts ALARMDEL : 30 Seconds BATTV : 13.6 Volts LASTXFER : Unacceptable line voltage changes NUMXFERS : 0 TONBATT : 0 Seconds CUMONBATT: 0 Seconds XOFFBATT : N/A SELFTEST : NO STATFLAG : 0x05000008 SERIALNO : 3B1523X08811 BATTDATE : 2015-06-03 NOMINV : 230 Volts NOMBATTV : 12.0 Volts NOMPOWER : 390 Watts FIRMWARE : 924.Z3 .I USB FW:Z3 END APC : 2019-11-07 19:00:29 +0000 from apcaccess
[2019-11-07 20:00:29][DEBUG] : Get information key APC with value 001,036,0888
[2019-11-07 20:00:29][DEBUG] : Get information key DATE with value 2019-11-07 19:00:15 +0000
[2019-11-07 20:00:29][DEBUG] : Get information key HOSTNAME with value raspberrypi
[2019-11-07 20:00:29][DEBUG] : Get information key VERSION with value 3.14.14 (31 May 2016) debian
[2019-11-07 20:00:29][DEBUG] : Get information key UPSNAME with value jeedom UPS_IDEN
[2019-11-07 20:00:29][DEBUG] : Get information key CABLE with value USB Cable
[2019-11-07 20:00:29][DEBUG] : Get information key DRIVER with value USB UPS Driver
[2019-11-07 20:00:29][DEBUG] : Get information key UPSMODE with value Stand Alone
[2019-11-07 20:00:29][DEBUG] : Get information key STARTTIME with value 2019-11-07 18:44:55 +0000
[2019-11-07 20:00:29][DEBUG] : Get information key MODEL with value Back-UPS XS 700U
[2019-11-07 20:00:29][DEBUG] : Get information key STATUS with value ONLINE
[2019-11-07 20:00:29][DEBUG] : Get information key LINEV with value 222.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key LOADPCT with value 13.0 Percent
[2019-11-07 20:00:29][DEBUG] : Get information key BCHARGE with value 100.0 Percent
[2019-11-07 20:00:29][DEBUG] : Get information key TIMELEFT with value 32.9 Minutes
[2019-11-07 20:00:29][DEBUG] : Get information key MBATTCHG with value 5 Percent
[2019-11-07 20:00:29][DEBUG] : Get information key MINTIMEL with value 3 Minutes
[2019-11-07 20:00:29][DEBUG] : Get information key MAXTIME with value 0 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key SENSE with value Medium
[2019-11-07 20:00:29][DEBUG] : Get information key LOTRANS with value 140.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key HITRANS with value 300.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key ALARMDEL with value 30 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key BATTV with value 13.6 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key LASTXFER with value Unacceptable line voltage changes
[2019-11-07 20:00:29][DEBUG] : Get information key NUMXFERS with value 0
[2019-11-07 20:00:29][DEBUG] : Get information key TONBATT with value 0 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key CUMONBATT with value 0 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key XOFFBATT with value N/A
[2019-11-07 20:00:29][DEBUG] : Get information key SELFTEST with value NO
[2019-11-07 20:00:29][DEBUG] : Get information key STATFLAG with value 0x05000008
[2019-11-07 20:00:29][DEBUG] : Get information key SERIALNO with value 3B1523X08811
[2019-11-07 20:00:29][DEBUG] : Get information key BATTDATE with value 2015-06-03
[2019-11-07 20:00:29][DEBUG] : Get information key NOMINV with value 230 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key NOMBATTV with value 12.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key NOMPOWER with value 390 Watts
[2019-11-07 20:00:29][DEBUG] : Get information key FIRMWARE with value 924.Z3 .I USB FW:Z3
[2019-11-07 20:00:29][DEBUG] : Get information key END APC with value 2019-11-07 19:00:29 +0000
[2019-11-07 20:00:29][DEBUG] : Update command event
[2019-11-07 20:00:29][DEBUG] : => ignore
[2019-11-07 20:00:29][DEBUG] : Update command model
[2019-11-07 20:00:29][DEBUG] : => apply model case
[2019-11-07 20:00:29][DEBUG] : => update command model with Back-UPS XS 700U
[2019-11-07 20:00:29][DEBUG] : Update command status
[2019-11-07 20:00:29][DEBUG] : => apply default case
[2019-11-07 20:00:29][DEBUG] : => update command status with ONLINE
[2019-11-07 20:00:29][DEBUG] : Update command bcharge
[2019-11-07 20:00:29][DEBUG] : => apply default case
[2019-11-07 20:00:29][DEBUG] : => update battery status
[2019-11-07 20:00:29][DEBUG] : Get information string APC : 001,036,0888 DATE : 2019-11-07 19:00:15 +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: 2019-11-07 18:44:55 +0000 MODEL : Back-UPS XS 700U STATUS : ONLINE LINEV : 222.0 Volts LOADPCT : 13.0 Percent BCHARGE : 100.0 Percent TIMELEFT : 32.9 Minutes MBATTCHG : 5 Percent MINTIMEL : 3 Minutes MAXTIME : 0 Seconds SENSE : Medium LOTRANS : 140.0 Volts HITRANS : 300.0 Volts ALARMDEL : 30 Seconds BATTV : 13.6 Volts LASTXFER : Unacceptable line voltage changes NUMXFERS : 0 TONBATT : 0 Seconds CUMONBATT: 0 Seconds XOFFBATT : N/A SELFTEST : NO STATFLAG : 0x05000008 SERIALNO : 3B1523X08811 BATTDATE : 2015-06-03 NOMINV : 230 Volts NOMBATTV : 12.0 Volts NOMPOWER : 390 Watts FIRMWARE : 924.Z3 .I USB FW:Z3 END APC : 2019-11-07 19:00:29 +0000 from apcaccess
[2019-11-07 20:00:29][DEBUG] : Get information key APC with value 001,036,0888
[2019-11-07 20:00:29][DEBUG] : Get information key DATE with value 2019-11-07 19:00:15 +0000
[2019-11-07 20:00:29][DEBUG] : Get information key HOSTNAME with value raspberrypi
[2019-11-07 20:00:29][DEBUG] : Get information key VERSION with value 3.14.14 (31 May 2016) debian
[2019-11-07 20:00:29][DEBUG] : Get information key UPSNAME with value jeedom UPS_IDEN
[2019-11-07 20:00:29][DEBUG] : Get information key CABLE with value USB Cable
[2019-11-07 20:00:29][DEBUG] : Get information key DRIVER with value USB UPS Driver
[2019-11-07 20:00:29][DEBUG] : Get information key UPSMODE with value Stand Alone
[2019-11-07 20:00:29][DEBUG] : Get information key STARTTIME with value 2019-11-07 18:44:55 +0000
[2019-11-07 20:00:29][DEBUG] : Get information key MODEL with value Back-UPS XS 700U
[2019-11-07 20:00:29][DEBUG] : Get information key STATUS with value ONLINE
[2019-11-07 20:00:29][DEBUG] : Get information key LINEV with value 222.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key LOADPCT with value 13.0 Percent
[2019-11-07 20:00:29][DEBUG] : Get information key BCHARGE with value 100.0 Percent
[2019-11-07 20:00:29][DEBUG] : Get information key TIMELEFT with value 32.9 Minutes
[2019-11-07 20:00:29][DEBUG] : Get information key MBATTCHG with value 5 Percent
[2019-11-07 20:00:29][DEBUG] : Get information key MINTIMEL with value 3 Minutes
[2019-11-07 20:00:29][DEBUG] : Get information key MAXTIME with value 0 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key SENSE with value Medium
[2019-11-07 20:00:29][DEBUG] : Get information key LOTRANS with value 140.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key HITRANS with value 300.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key ALARMDEL with value 30 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key BATTV with value 13.6 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key LASTXFER with value Unacceptable line voltage changes
[2019-11-07 20:00:29][DEBUG] : Get information key NUMXFERS with value 0
[2019-11-07 20:00:29][DEBUG] : Get information key TONBATT with value 0 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key CUMONBATT with value 0 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key XOFFBATT with value N/A
[2019-11-07 20:00:29][DEBUG] : Get information key SELFTEST with value NO
[2019-11-07 20:00:29][DEBUG] : Get information key STATFLAG with value 0x05000008
[2019-11-07 20:00:29][DEBUG] : Get information key SERIALNO with value 3B1523X08811
[2019-11-07 20:00:29][DEBUG] : Get information key BATTDATE with value 2015-06-03
[2019-11-07 20:00:29][DEBUG] : Get information key NOMINV with value 230 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key NOMBATTV with value 12.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key NOMPOWER with value 390 Watts
[2019-11-07 20:00:29][DEBUG] : Get information key FIRMWARE with value 924.Z3 .I USB FW:Z3
[2019-11-07 20:00:29][DEBUG] : Get information key END APC with value 2019-11-07 19:00:29 +0000
[2019-11-07 20:00:29][DEBUG] : Update command event
[2019-11-07 20:00:29][DEBUG] : => ignore
[2019-11-07 20:00:29][DEBUG] : Update command model
[2019-11-07 20:00:29][DEBUG] : => apply model case
[2019-11-07 20:00:29][DEBUG] : => update command model with Back-UPS XS 700U
[2019-11-07 20:00:29][DEBUG] : Update command status
[2019-11-07 20:00:29][DEBUG] : => apply default case
[2019-11-07 20:00:29][DEBUG] : => update command status with ONLINE
[2019-11-07 20:00:29][DEBUG] : Update command bcharge
[2019-11-07 20:00:29][DEBUG] : => apply default case
[2019-11-07 20:00:29][DEBUG] : => update battery status
[2019-11-07 20:00:29][DEBUG] : Get information string APC : 001,036,0888 DATE : 2019-11-07 19:00:15 +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: 2019-11-07 18:44:55 +0000 MODEL : Back-UPS XS 700U STATUS : ONLINE LINEV : 222.0 Volts LOADPCT : 13.0 Percent BCHARGE : 100.0 Percent TIMELEFT : 32.9 Minutes MBATTCHG : 5 Percent MINTIMEL : 3 Minutes MAXTIME : 0 Seconds SENSE : Medium LOTRANS : 140.0 Volts HITRANS : 300.0 Volts ALARMDEL : 30 Seconds BATTV : 13.6 Volts LASTXFER : Unacceptable line voltage changes NUMXFERS : 0 TONBATT : 0 Seconds CUMONBATT: 0 Seconds XOFFBATT : N/A SELFTEST : NO STATFLAG : 0x05000008 SERIALNO : 3B1523X08811 BATTDATE : 2015-06-03 NOMINV : 230 Volts NOMBATTV : 12.0 Volts NOMPOWER : 390 Watts FIRMWARE : 924.Z3 .I USB FW:Z3 END APC : 2019-11-07 19:00:29 +0000 from apcaccess
[2019-11-07 20:00:29][DEBUG] : Get information key APC with value 001,036,0888
[2019-11-07 20:00:29][DEBUG] : Get information key DATE with value 2019-11-07 19:00:15 +0000
[2019-11-07 20:00:29][DEBUG] : Get information key HOSTNAME with value raspberrypi
[2019-11-07 20:00:29][DEBUG] : Get information key VERSION with value 3.14.14 (31 May 2016) debian
[2019-11-07 20:00:29][DEBUG] : Get information key UPSNAME with value jeedom UPS_IDEN
[2019-11-07 20:00:29][DEBUG] : Get information key CABLE with value USB Cable
[2019-11-07 20:00:29][DEBUG] : Get information key DRIVER with value USB UPS Driver
[2019-11-07 20:00:29][DEBUG] : Get information key UPSMODE with value Stand Alone
[2019-11-07 20:00:29][DEBUG] : Get information key STARTTIME with value 2019-11-07 18:44:55 +0000
[2019-11-07 20:00:29][DEBUG] : Get information key MODEL with value Back-UPS XS 700U
[2019-11-07 20:00:29][DEBUG] : Get information key STATUS with value ONLINE
[2019-11-07 20:00:29][DEBUG] : Get information key LINEV with value 222.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key LOADPCT with value 13.0 Percent
[2019-11-07 20:00:29][DEBUG] : Get information key BCHARGE with value 100.0 Percent
[2019-11-07 20:00:29][DEBUG] : Get information key TIMELEFT with value 32.9 Minutes
[2019-11-07 20:00:29][DEBUG] : Get information key MBATTCHG with value 5 Percent
[2019-11-07 20:00:29][DEBUG] : Get information key MINTIMEL with value 3 Minutes
[2019-11-07 20:00:29][DEBUG] : Get information key MAXTIME with value 0 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key SENSE with value Medium
[2019-11-07 20:00:29][DEBUG] : Get information key LOTRANS with value 140.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key HITRANS with value 300.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key ALARMDEL with value 30 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key BATTV with value 13.6 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key LASTXFER with value Unacceptable line voltage changes
[2019-11-07 20:00:29][DEBUG] : Get information key NUMXFERS with value 0
[2019-11-07 20:00:29][DEBUG] : Get information key TONBATT with value 0 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key CUMONBATT with value 0 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key XOFFBATT with value N/A
[2019-11-07 20:00:29][DEBUG] : Get information key SELFTEST with value NO
[2019-11-07 20:00:29][DEBUG] : Get information key STATFLAG with value 0x05000008
[2019-11-07 20:00:29][DEBUG] : Get information key SERIALNO with value 3B1523X08811
[2019-11-07 20:00:29][DEBUG] : Get information key BATTDATE with value 2015-06-03
[2019-11-07 20:00:29][DEBUG] : Get information key NOMINV with value 230 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key NOMBATTV with value 12.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key NOMPOWER with value 390 Watts
[2019-11-07 20:00:29][DEBUG] : Get information key FIRMWARE with value 924.Z3 .I USB FW:Z3
[2019-11-07 20:00:29][DEBUG] : Get information key END APC with value 2019-11-07 19:00:29 +0000
[2019-11-07 20:00:29][DEBUG] : Update command event
[2019-11-07 20:00:29][DEBUG] : => ignore
[2019-11-07 20:00:29][DEBUG] : Update command model
[2019-11-07 20:00:29][DEBUG] : => apply model case
[2019-11-07 20:00:29][DEBUG] : => update command model with Back-UPS XS 700U
[2019-11-07 20:00:29][DEBUG] : Update command status
[2019-11-07 20:00:29][DEBUG] : => apply default case
[2019-11-07 20:00:29][DEBUG] : => update command status with ONLINE
[2019-11-07 20:00:29][DEBUG] : Update command bcharge
[2019-11-07 20:00:29][DEBUG] : => apply default case
[2019-11-07 20:00:29][DEBUG] : => update battery status
[2019-11-07 20:00:29][DEBUG] : Get information string APC : 001,036,0888 DATE : 2019-11-07 19:00:15 +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: 2019-11-07 18:44:55 +0000 MODEL : Back-UPS XS 700U STATUS : ONLINE LINEV : 222.0 Volts LOADPCT : 13.0 Percent BCHARGE : 100.0 Percent TIMELEFT : 32.9 Minutes MBATTCHG : 5 Percent MINTIMEL : 3 Minutes MAXTIME : 0 Seconds SENSE : Medium LOTRANS : 140.0 Volts HITRANS : 300.0 Volts ALARMDEL : 30 Seconds BATTV : 13.6 Volts LASTXFER : Unacceptable line voltage changes NUMXFERS : 0 TONBATT : 0 Seconds CUMONBATT: 0 Seconds XOFFBATT : N/A SELFTEST : NO STATFLAG : 0x05000008 SERIALNO : 3B1523X08811 BATTDATE : 2015-06-03 NOMINV : 230 Volts NOMBATTV : 12.0 Volts NOMPOWER : 390 Watts FIRMWARE : 924.Z3 .I USB FW:Z3 END APC : 2019-11-07 19:00:29 +0000 from apcaccess
[2019-11-07 20:00:29][DEBUG] : Get information key APC with value 001,036,0888
[2019-11-07 20:00:29][DEBUG] : Get information key DATE with value 2019-11-07 19:00:15 +0000
[2019-11-07 20:00:29][DEBUG] : Get information key HOSTNAME with value raspberrypi
[2019-11-07 20:00:29][DEBUG] : Get information key VERSION with value 3.14.14 (31 May 2016) debian
[2019-11-07 20:00:29][DEBUG] : Get information key UPSNAME with value jeedom UPS_IDEN
[2019-11-07 20:00:29][DEBUG] : Get information key CABLE with value USB Cable
[2019-11-07 20:00:29][DEBUG] : Get information key DRIVER with value USB UPS Driver
[2019-11-07 20:00:29][DEBUG] : Get information key UPSMODE with value Stand Alone
[2019-11-07 20:00:29][DEBUG] : Get information key STARTTIME with value 2019-11-07 18:44:55 +0000
[2019-11-07 20:00:29][DEBUG] : Get information key MODEL with value Back-UPS XS 700U
[2019-11-07 20:00:29][DEBUG] : Get information key STATUS with value ONLINE
[2019-11-07 20:00:29][DEBUG] : Get information key LINEV with value 222.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key LOADPCT with value 13.0 Percent
[2019-11-07 20:00:29][DEBUG] : Get information key BCHARGE with value 100.0 Percent
[2019-11-07 20:00:29][DEBUG] : Get information key TIMELEFT with value 32.9 Minutes
[2019-11-07 20:00:29][DEBUG] : Get information key MBATTCHG with value 5 Percent
[2019-11-07 20:00:29][DEBUG] : Get information key MINTIMEL with value 3 Minutes
[2019-11-07 20:00:29][DEBUG] : Get information key MAXTIME with value 0 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key SENSE with value Medium
[2019-11-07 20:00:29][DEBUG] : Get information key LOTRANS with value 140.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key HITRANS with value 300.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key ALARMDEL with value 30 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key BATTV with value 13.6 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key LASTXFER with value Unacceptable line voltage changes
[2019-11-07 20:00:29][DEBUG] : Get information key NUMXFERS with value 0
[2019-11-07 20:00:29][DEBUG] : Get information key TONBATT with value 0 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key CUMONBATT with value 0 Seconds
[2019-11-07 20:00:29][DEBUG] : Get information key XOFFBATT with value N/A
[2019-11-07 20:00:29][DEBUG] : Get information key SELFTEST with value NO
[2019-11-07 20:00:29][DEBUG] : Get information key STATFLAG with value 0x05000008
[2019-11-07 20:00:29][DEBUG] : Get information key SERIALNO with value 3B1523X08811
[2019-11-07 20:00:29][DEBUG] : Get information key BATTDATE with value 2015-06-03
[2019-11-07 20:00:29][DEBUG] : Get information key NOMINV with value 230 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key NOMBATTV with value 12.0 Volts
[2019-11-07 20:00:29][DEBUG] : Get information key NOMPOWER with value 390 Watts
[2019-11-07 20:00:29][DEBUG] : Get information key FIRMWARE with value 924.Z3 .I USB FW:Z3
[2019-11-07 20:00:29][DEBUG] : Get information key END APC with value 2019-11-07 19:00:29 +0000
[2019-11-07 20:00:29][DEBUG] : Update command event
[2019-11-07 20:00:29][DEBUG] : => ignore
[2019-11-07 20:00:29][DEBUG] : Update command model
[2019-11-07 20:00:29][DEBUG] : => apply model case
[2019-11-07 20:00:29][DEBUG] : => update command model with Back-UPS XS 700U
[2019-11-07 20:00:29][DEBUG] : Update command status
[2019-11-07 20:00:29][DEBUG] : => apply default case
[2019-11-07 20:00:29][DEBUG] : => update command status with ONLINE
[2019-11-07 20:00:29][DEBUG] : Update command bcharge
[2019-11-07 20:00:29][DEBUG] : => apply default case
[2019-11-07 20:00:29][DEBUG] : => update battery status

Bonjour,
Pour moi, déjà, j’ai bien l’onduleur "online"mais aucune données, mais c’est normal, je n’ai pas modifier le fichier apccontrol.
Je ne comprends pas qu’elle ligne ajouter, il me semblais bien l’avoir vue sur une version de Jeedom en 3.3.36, mais la je suis sur une 4.0.28 et je ne la trouve pas ?
Tu pourrais me tuyauter, je testerais après et on comparera les logs…
Merci
Thierry
Edit: je n’avait pas ouvert le fichier, c’est bon, il se renseigne tout seul automatiquement.
Du coup, je ne comprend pas pourquoi je n’ai aucune info:2019-11-21_21-18-11
J’ai aussi se message dans le centre des messages
Erreur sur apcups::pull() : La commande /sbin/apcaccess status 127.0.0.1:3551 a echouée ou n’a pas retournée de résultat.
Et le log en débug:
[2019-11-21 21:19:39][DEBUG] : Get information string APC : 001,027,0670 DATE : 2019-11-21 21:19:08 +0100 HOSTNAME : JeedomBase VERSION : 3.14.14 (31 May 2016) debian UPSNAME : jeedom UPS_IDEN CABLE : USB Cable DRIVER : USB UPS Driver UPSMODE : Stand Alone STARTTIME: 2019-11-21 19:52:44 +0100 MODEL : Smart-UPS C 1000 STATUS : ONLINE BCHARGE : 100.0 Percent TIMELEFT : 18.0 Minutes MBATTCHG : 5 Percent MINTIMEL : 3 Minutes MAXTIME : 0 Seconds ALARMDEL : No alarm BATTV : 27.0 Volts NUMXFERS : 0 TONBATT : 0 Seconds CUMONBATT: 0 Seconds XOFFBATT : N/A STATFLAG : 0x05000008 MANDATE : 2014-09-21 SERIALNO : 3S1438X06464 NOMBATTV : 24.0 Volts FIRMWARE : UPS 09.7 / ID=1005 END APC : 2019-11-21 21:19:39 +0100 from apcaccess
[2019-11-21 21:19:39][DEBUG] : Get information key APC with value 001,027,0670
[2019-11-21 21:19:39][DEBUG] : Get information key DATE with value 2019-11-21 21:19:08 +0100
[2019-11-21 21:19:39][DEBUG] : Get information key HOSTNAME with value JeedomBase
[2019-11-21 21:19:39][DEBUG] : Get information key VERSION with value 3.14.14 (31 May 2016) debian
[2019-11-21 21:19:39][DEBUG] : Get information key UPSNAME with value jeedom UPS_IDEN
[2019-11-21 21:19:39][DEBUG] : Get information key CABLE with value USB Cable
[2019-11-21 21:19:39][DEBUG] : Get information key DRIVER with value USB UPS Driver
[2019-11-21 21:19:39][DEBUG] : Get information key UPSMODE with value Stand Alone
[2019-11-21 21:19:39][DEBUG] : Get information key STARTTIME with value 2019-11-21 19:52:44 +0100
[2019-11-21 21:19:39][DEBUG] : Get information key MODEL with value Smart-UPS C 1000
[2019-11-21 21:19:39][DEBUG] : Get information key STATUS with value ONLINE
[2019-11-21 21:19:39][DEBUG] : Get information key BCHARGE with value 100.0 Percent
[2019-11-21 21:19:39][DEBUG] : Get information key TIMELEFT with value 18.0 Minutes
[2019-11-21 21:19:39][DEBUG] : Get information key MBATTCHG with value 5 Percent
[2019-11-21 21:19:39][DEBUG] : Get information key MINTIMEL with value 3 Minutes
[2019-11-21 21:19:39][DEBUG] : Get information key MAXTIME with value 0 Seconds
[2019-11-21 21:19:39][DEBUG] : Get information key ALARMDEL with value No alarm
[2019-11-21 21:19:39][DEBUG] : Get information key BATTV with value 27.0 Volts
[2019-11-21 21:19:39][DEBUG] : Get information key NUMXFERS with value 0
[2019-11-21 21:19:39][DEBUG] : Get information key TONBATT with value 0 Seconds
[2019-11-21 21:19:39][DEBUG] : Get information key CUMONBATT with value 0 Seconds
[2019-11-21 21:19:39][DEBUG] : Get information key XOFFBATT with value N/A
[2019-11-21 21:19:39][DEBUG] : Get information key STATFLAG with value 0x05000008
[2019-11-21 21:19:39][DEBUG] : Get information key MANDATE with value 2014-09-21
[2019-11-21 21:19:39][DEBUG] : Get information key SERIALNO with value 3S1438X06464
[2019-11-21 21:19:39][DEBUG] : Get information key NOMBATTV with value 24.0 Volts
[2019-11-21 21:19:39][DEBUG] : Get information key FIRMWARE with value UPS 09.7 / ID=1005
[2019-11-21 21:19:39][DEBUG] : Get information key END APC with value 2019-11-21 21:19:39 +0100
[2019-11-21 21:19:39][DEBUG] : Update command event
[2019-11-21 21:19:39][DEBUG] : => ignore
[2019-11-21 21:19:39][DEBUG] : Update command model
[2019-11-21 21:19:39][DEBUG] : => apply model case
[2019-11-21 21:19:39][DEBUG] : => update command model with Smart-UPS C 1000
[2019-11-21 21:19:39][DEBUG] : Update command status
[2019-11-21 21:19:39][DEBUG] : => apply default case
[2019-11-21 21:19:39][DEBUG] : => update command status with ONLINE
[2019-11-21 21:19:39][DEBUG] : Update command bcharge
[2019-11-21 21:19:39][DEBUG] : => apply default case
[2019-11-21 21:19:39][DEBUG] : => update battery status
Voila, problème identique

Il faut modifié quelle fichier ?

J’ai exactement le même soucis que toi, il n’affichait rien non plus, du coup j’ai désactivé le plugin (v 3.3.37). J’aimerais bien avoir une solution également. :slight_smile:

@lunarok il y a pas que moi qui ai le problème. Et après une coupure de courant

Moi, il n’a jamais marché, peut-être que j’ai mal paramétré le plugin mais je n’ai pas eu le temps de chercher en fait, d’où la désactivation.

je crois que j’ai trouvé une solution, PAS GRASSE AU DÉVELOPPEUR DU PLUGIN, m’ai en lisant dans l’ancien forum,

, il faut commentais la ligne 207, est ça a fonctionne chez moi.

Purée… t’as pas peur de faire saigner les yeux des gens en tout cas !

1 « J'aime »

non , mais je trouve des solutions a mes problème.

On parle du fait que te lire provoque de grâves brûlures des rétines. Bientôt Noël, penses à ajouter ca à ta liste :
https://www.amazon.fr/Bescherelle-coffret-langue-française-conjugaison/dp/2401052372/ref=sr_1_2?__mk_fr_FR=ÅMÅŽÕÑ&crid=3TKERVYGCH796&keywords=bescherelle&qid=1574887315&sprefix=besc%2Caps%2C230&sr=8-2

Ça c’est facile, je fait peut être des fautes. Mes moi je trouve des solutions au lieu de faire comme toi de ne pas répondre quand on a un problème, fin de discussion j en est marre des gens qui font des réflexions et qui aide pas.

Sans vouloir rentrer dans la polémique… Merci pour l’info, la manipulation a fonctionné chez moi également, quelqu’un sait d’ou vient ce soucis?

Pareil, merci pour le truc ; j’y ai passé pas mal de temps pour finir par faire la modif dont tu parles.
Ça m’a remis en service mon plugin après une mise à jour Jessie → stretch (!).

1 « J'aime »

Bonjour à tous,

Suite à une mise à jour Jessie=>Stretch (je sais, il était temps…), je me bats pour faire fonctionner le plugin apcups.
J’avais fait la modif citée juste dessus et ça m’avait permis de récupérer le fonctionnement. Cependant, je viens de me rendre compte qu’à chaque reboot de Jeedom, le démon se lance bien, mais n’arrive pas à utiliser le port 3551.

Extrait du syslog :

Jan 24 09:38:37 localhost systemd[1]: apcupsd.service: PID file /var/run/apcupsd.pid not readable (yet?) after start: No such file or directory
Jan 24 09:38:37 localhost apcupsd[418]: apcupsd 3.14.14 (31 May 2016) debian startup succeeded
Jan 24 09:38:37 localhost apcupsd[418]: apcserver: cannot bind port 3551. ERR=Cannot assign requested address

Si je le relance moi même quelques secondes après :

Jan 24 09:43:26 localhost apcupsd[418]: apcupsd exiting, signal 15
Jan 24 09:43:26 localhost apcupsd[418]: apcupsd shutdown succeeded
Jan 24 09:43:26 localhost systemd[1]: apcupsd.service: PID file /var/run/apcupsd.pid not readable (yet?) after start: No such file or directory
Jan 24 09:43:26 localhost apcupsd[6989]: apcupsd 3.14.14 (31 May 2016) debian startup succeeded

…et là tout marche bien !

Du coup, pressentant un problème de réseau pas prêt, j’ai modifié le descripteur du service de la façon suivante : j’ai ajouté l’instruction :

After=network-online.target

…dans [Unit]

 sudo more /lib/systemd/system/apcupsd.service
[Unit]
Description=UPS power management daemon
Documentation=man:apcupsd(8)
After=network-online.target

[Service]
ExecStartPre=/lib/apcupsd/prestart
ExecStart=/sbin/apcupsd
Type=forking
KillMode=process
PIDFile=/var/run/apcupsd.pid

[Install]
WantedBy=multi-user.target

Ce qui a pour effet d’attendre que le réseau soit prêt avant de lancer le service. Depuis ça démarre bien du premier coup.

@lunarok :
je ne sais pas si ça provient uniquement de mon install, ou d’une mise à jour d’OS bancale, mais il semble que le démon apcups démarre trop vite dans mon cas. Serait-il possible de systématiser ma modif dans les futures version (si elle n’a pas d’effet secondaire…) ?

pour info, le problème vient du core, loic a fait la modification en beta/alpha etc, il faut juste attendre que ca soit poussé en stable.

2 « J'aime »

Merci pour les précisions ! Ça fait plaisir de voir que c’est bien suivi.