Bonjour,
Suite au passage de ma jeedom smart en Débian Buster (j’étais en Stretch) et V4, le plugin APC ne fonctionne plus : il est en commlost depuis décembre.
J’ai épluché le forum, tenté les options proposées, mais rien n’y fait.
La connexion cable de l’onduleur est intacte, et la remontée de l’onduleur fonctionne bien quand connecté en USB sur ordi.
Voici une partie des opérations que j’ai essayées :
• Suppression / réinstallation plugin, relance dépendance (plusieurs fois)
• retrait de tous les dongle USB pour ne laisser que l’onduleur (si ça avait été une insuffisance d’alimentation), relance plugin et jeedom
• la commande lsusb en ssh remonte
Bus 001 Device 009: ID 051d:0002 American Power Conversion Uninterruptible Power Supply => APC onduleur
Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC => Port réseau ?
Bus 001 Device 011: ID 1cf1:0030 Dresden Elektronik => Zigbee Conbee 2
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub => bus USB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
• Décharge totale onduleur ainsi que RAZ onduleur => pas de changement
• La commande apcaccess en ssh remonte
APC : 001,017,0421
DATE : 2022-12-29 10:52:10 +0000
HOSTNAME : Jeedom
VERSION : 3.14.14 (31 May 2016) debian
CABLE : USB Cable
DRIVER : USB UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2022-12-29 10:51:00 +0000
STATUS : COMMLOST
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME : 0 Seconds
NUMXFERS : 0
TONBATT : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000100
END APC : 2022-12-29 11:25:37 +0000
• Log package en debug ;
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_apcups
+ echo 1
+ echo 2
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
Get:2 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
Get:4 http://www.deb-multimedia.org buster InRelease [17.8 kB]
Get:5 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
Ign:6 https://oph.mdrjr.net/meveric all InRelease
Ign:7 https://oph.mdrjr.net/meveric buster InRelease
Err:8 https://oph.mdrjr.net/meveric all Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
Err:9 https://oph.mdrjr.net/meveric buster Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
Err:3 https://repo.jeedom.com/odroid stable InRelease
502 Bad Gateway [IP: 51.178.69.128 443]
Reading package lists...
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: The repository 'https://oph.mdrjr.net/meveric all Release' no longer has a Release file.
E: Repository 'http://ftp.uk.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: The repository 'https://oph.mdrjr.net/meveric buster Release' no longer has a Release file.
E: Repository 'http://www.deb-multimedia.org buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Repository 'http://ftp.uk.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y apcupsd
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libusb-0.1-4
Suggested packages:
apcupsd-cgi
Recommended packages:
apcupsd-doc s-nail | mailx
The following NEW packages will be installed:
apcupsd libusb-0.1-4
0 upgraded, 2 newly installed, 0 to remove and 62 not upgraded.
Need to get 266 kB of archives.
After this operation, 906 kB of additional disk space will be used.
Get:1 http://ftp.uk.debian.org/debian buster/main arm64 libusb-0.1-4 arm64 2:0.1.12-32 [21.5 kB]
Get:2 http://ftp.uk.debian.org/debian buster/main arm64 apcupsd arm64 3.14.14-2 [244 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 266 kB in 0s (1,357 kB/s)
Selecting previously unselected package libusb-0.1-4:arm64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 75720 files and directories currently installed.)
Preparing to unpack .../libusb-0.1-4_2%3a0.1.12-32_arm64.deb ...
Unpacking libusb-0.1-4:arm64 (2:0.1.12-32) ...
Selecting previously unselected package apcupsd.
Preparing to unpack .../apcupsd_3.14.14-2_arm64.deb ...
Unpacking apcupsd (3.14.14-2) ...
Setting up libusb-0.1-4:arm64 (2:0.1.12-32) ...
Setting up apcupsd (3.14.14-2) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Created symlink /etc/systemd/system/multi-user.target.wants/apcupsd.service → /lib/systemd/system/apcupsd.service.
Processing triggers for systemd (241-7~deb10u4) ...
Processing triggers for libc-bin (2.28-10) ...
+ echo 4
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end apcups
+ rm /tmp/jeedom_install_in_progress_apcups
+ echo '*******************End of package installation******************'
*******************End of package installation******************
• LOG
[2023-03-06 21:01:12]DEBUG : Get information string APC : 001,017,0421 DATE : 2022-12-29 11:36:04 +0000 HOSTNAME : Jeedom VERSION : 3.14.14 (31 May 2016) debian CABLE : USB Cable DRIVER : USB UPS Driver UPSMODE : Stand Alone STARTTIME: 2022-12-29 11:35:39 +0000 STATUS : COMMLOST MBATTCHG : 5 Percent MINTIMEL : 3 Minutes MAXTIME : 0 Seconds NUMXFERS : 0 TONBATT : 0 Seconds CUMONBATT: 0 Seconds XOFFBATT : N/A STATFLAG : 0x05000100 END APC : 2023-03-06 20:01:12 +0000 from apcaccess
[2023-03-06 21:01:12]DEBUG : Get information key APC with value 001,017,0421
[2023-03-06 21:01:12]DEBUG : Get information key DATE with value 2022-12-29 11:36:04 +0000
[2023-03-06 21:01:12]DEBUG : Get information key HOSTNAME with value Jeedom
[2023-03-06 21:01:12]DEBUG : Get information key VERSION with value 3.14.14 (31 May 2016) debian
[2023-03-06 21:01:12]DEBUG : Get information key CABLE with value USB Cable
[2023-03-06 21:01:12]DEBUG : Get information key DRIVER with value USB UPS Driver
[2023-03-06 21:01:12]DEBUG : Get information key UPSMODE with value Stand Alone
[2023-03-06 21:01:12]DEBUG : Get information key STARTTIME with value 2022-12-29 11:35:39 +0000
[2023-03-06 21:01:12]DEBUG : Get information key STATUS with value COMMLOST
[2023-03-06 21:01:12]DEBUG : Get information key MBATTCHG with value 5 Percent
[2023-03-06 21:01:12]DEBUG : Get information key MINTIMEL with value 3 Minutes
[2023-03-06 21:01:12]DEBUG : Get information key MAXTIME with value 0 Seconds
[2023-03-06 21:01:12]DEBUG : Get information key NUMXFERS with value 0
[2023-03-06 21:01:12]DEBUG : Get information key TONBATT with value 0 Seconds
[2023-03-06 21:01:12]DEBUG : Get information key CUMONBATT with value 0 Seconds
[2023-03-06 21:01:12]DEBUG : Get information key XOFFBATT with value N/A
[2023-03-06 21:01:12]DEBUG : Get information key STATFLAG with value 0x05000100
[2023-03-06 21:01:12]DEBUG : Get information key END APC with value 2023-03-06 20:01:12 +0000
[2023-03-06 21:01:12]DEBUG : Update command bcharge
[2023-03-06 21:01:12]DEBUG : => apply default case
[2023-03-06 21:01:12]DEBUG : => update battery status
[2023-03-06 21:01:12]DEBUG : => update command bcharge with
[2023-03-06 21:01:12]DEBUG : Update command event
[2023-03-06 21:01:12]DEBUG : => ignore
[2023-03-06 21:01:12]DEBUG : Update command timeleft
[2023-03-06 21:01:12]DEBUG : => apply default case
[2023-03-06 21:01:12]DEBUG : => update command timeleft with
[2023-03-06 21:01:12]DEBUG : Update command outpower
[2023-03-06 21:01:12]DEBUG : => apply outpower case
[2023-03-06 21:01:12]DEBUG : => update command outpower with 0
[2023-03-06 21:01:12]DEBUG : Update command linev
[2023-03-06 21:01:12]DEBUG : => apply default case
[2023-03-06 21:01:12]DEBUG : => update command linev with 0
[2023-03-06 21:01:12]DEBUG : Update command loadpct
[2023-03-06 21:01:12]DEBUG : => apply default case
[2023-03-06 21:01:12]DEBUG : => update command loadpct with 0
[2023-03-06 21:01:12]DEBUG : Update command model
[2023-03-06 21:01:12]DEBUG : => apply model case
[2023-03-06 21:01:12]DEBUG : => update command model with 0
[2023-03-06 21:01:12]DEBUG : Update command battv
[2023-03-06 21:01:12]DEBUG : => apply default case
[2023-03-06 21:01:12]DEBUG : => update command battv with 0
[2023-03-06 21:01:12]DEBUG : Update command status
[2023-03-06 21:01:12]DEBUG : => apply default case
[2023-03-06 21:01:12]DEBUG : => update command status with COMMLOST
Santé Jeedom :
Si Lunarok ou quelqu’un a une idée, je serais hyper reconnaissant. Je galère depuis plus de deux mois. J’ai essayé de trouver par moi-même mais cette fois pas réussi. Si besoin de plus d’infos, dites moi.
Merci