Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

[Plugin Tiers][Sujet Principal] APC-UPS

Pour échanger sur les plugins classés en catégorie "Monitoring"
samiweb
Timide
Messages : 35
Inscription : 06 janv. 2016, 08:54

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par samiweb » 17 août 2018, 23:39

petit up ? :)

samiweb
Timide
Messages : 35
Inscription : 06 janv. 2016, 08:54

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par samiweb » 23 août 2018, 12:58

bon bein
j'ai lu 33 pages vu que pas de reponse ...
pour ceux qui ont un pb sur la lecture des valeurs, voir la commande acpaccess qui donnent les valeurs, si elle donne des valeurs a 0 ce plugin ne fait que les lires, du coup voir coté acupsd pour modifier sa conf
dommage qu'il n'y ai pas un post epinglé qui reprend toutes les FAQ

code67
Timide
Messages : 2
Inscription : 13 mars 2018, 13:35

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par code67 » 05 oct. 2018, 14:11

Bonjour à tous,

Merci à Lunarok pour ce plugin.

ça fait un moment que je coince à faire fonctionner ce plugin sur mon installation, je pense avoir tout essayé c'est pourquoi je demande de l'aide.

Alors voici mon installation : Jeedom tourne sur une Odroid C2, mon routeur est une Freebox, sur mon réseau j'ai un NAS Syno DS214 sur lequel est branché un APC ES700G par la liaison usb.

Dans la config du Syno, l'onduleur est bien visible, les infos sont bien remontées, le serveur réseau UPS est bien activé, l'adresse IP le l'Odroid est bien dans la liste des périphériques Diskstation autorisés.

Dans le plugin APC-UPS, l'équipement est bien créé l'Adresse apcupsd est bien celle du NAS.

En fouillant dans les infos du NAS j'ai trouvé dans la liste des ports utilisés par le Syno que celui pour l'UPS est le port 3493 (https://www.synology.com/fr-fr/knowledg ... y_services), ce que j'ai mis dans la configuration de l’équipement.

Pour fini dans la gestion des ports de la freebox j'ai mis en place la redirection du port 3493 vers l'IP du Syno.

lorsque le plugin est actif j'ai comme erreur :
Erreur sur apcups::pull() : The command /sbin/apcaccess status 192.168.0.10:3493 has failed or not returned any string.

C'est quoi que c'est que j'ai pu faire faut?

Merci pour votre aide

Avatar de l’utilisateur
fwehrle
Actif
Messages : 2824
Inscription : 01 juil. 2015, 11:03
Localisation : Strasbourg

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par fwehrle » 05 oct. 2018, 15:06

Pour fini dans la gestion des ports de la freebox j'ai mis en place la redirection du port 3493 vers l'IP du Syno.
Tu parles de la redirection NAT des ports EXTERNES? Surtout pas ... Tu ouvres une porte depuis l'exterieure qui n'est pas utile ici.
D'autant que dans ton reseau interne, à moins d'un firewall, tout les ports sont accessibles...
Peu-être est-il necessaire d'authoriser le ports dans le firewall du syno, je ne me souviens plus.. mais je ne crois pas.
Jeedom 3 sur Debian 9 en VM Proxmox 5 sur NUC Intel.
(Anciennement sur Docker sur Syno DS-415+ / MariaDB / DSM 6)
Teleinfo / RFXCom / Stick ZWave / IPX / Serveur Traccar / Blea

code67
Timide
Messages : 2
Inscription : 13 mars 2018, 13:35

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par code67 » 05 oct. 2018, 21:57

Merci Fwehrle,

Bon j'ai retiré la redirection des ports vers le port 3493 dans la partie connexion Internet / gestion des ports de la freebox. Cela ne fonctionne toujours pas, j'ai toujours le même message d'erreur.

Je me demande si c'est le bon Port apcupsd qu'il faut indiquer dans la configuration de l'équipement.


Pour essayer j'ai rajouté l'IP de mon PC dans la liste des périphériques Diskstation autorisés. et j'ai tenté de me connecter sur l'adresse "http://192.168.0.10:3493/" dans firefox, c'est l'adresse de mon Syno.
j'ai les messages

Code : Tout sélectionner

ERR INVALID-ARGUMENT
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
ERR UNKNOWN-COMMAND
Ce qui voudrait dire qu'il n'y a personne qui répond.

Du coup j'ai scanné tous les ports de mon Syno avec l'utilitaire Advanced Port Scanner et j'ai trouvé "Port 631 ( TCP) : CUPS 2.0".

Là dans Firefox j'ai le message

Code : Tout sélectionner

Web Interface is Disabled

The web interface is currently disabled. Run "cupsctl WebInterface=yes" to enable it.
Ce qui me plait bien
Malheureusement en mettant le port 631 dans la config de l'équipement j'ai toujours le message "The command /sbin/apcaccess status 192.168.0.10:631 has failed or not returned any string."

Koto41
Timide
Messages : 71
Inscription : 24 oct. 2017, 14:57

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par Koto41 » 31 oct. 2018, 15:42

Bonjour,

Je viens d'acheter le Pluging "APC-UPS" sur le market.

Je possède un onduleur APC Smart USP 750 (model : SMT750i), il y a deux connections 1x USB & 1x RJ45

Je ne comprends pas trop comment récupérer les infos via mon installation.
J'ai un PC qui tourne sous ProxMox avec une VM sur Jeedom.

Où raccorder le RJ45 de l'onduleur, directement sur la Freebox ?
Où raccorder l'USB ? Sur le PC ProxMox ? Y'en a t'il besoin si l'onduleur est raccordé au RJ45 ?
Doit on installer "apcupsd" sous ProxMox ou sur la VM Jeedom ?
Qui pourrait m'aiguiller sur les manipulations a effectuer pour que cela fonctionne ?

Perso je l’installerai bien sur ProxMox, mais comment le récupère t'on sous Jeedom...

Corrigez moi si je me trompe....

Merci

Arnaud
Hardware :
- Serveur sous Proxmox VE 5.1-35 avec VM Jeedom v3.3.19
- Raspberry Pi 2 Modèle B 1GB
- Onduleur APC Smart UPS 750
Software :
- PfSense CE 2.4.4-RELEASE-p2
- Jeedom v3.3.19
- Raspbian Stretch v4.9

Koto41
Timide
Messages : 71
Inscription : 24 oct. 2017, 14:57

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par Koto41 » 07 nov. 2018, 06:09

Salut,

Bon j'ai trouvé, il fallait déclarer l'USB dans la VM Jeedom sous ProxMox.
Cela fonctionne désormais.

Par contre il me manque des infos
APC Smart UPS750.png
APC Smart UPS750.png (12.27 Kio) Consulté 1894 fois

Qui a un APC Smart UPC 750 ?
Est que l'APC Smart UPC 750 les fournis ?
Si oui comment les récupérer ?

Voici mes logs :

Code : Tout sélectionner

[2018-11-07 06:20:02][DEBUG] : Get information string APC      : 001,027,0664 DATE     : 2018-11-07 06:19:57 +0100   HOSTNAME : Jeedom VERSION  : 3.14.14 (31 May 2016) debian UPSNAME  : jeedom UPS_IDEN CABLE    : USB Cable DRIVER   : USB UPS Driver UPSMODE  : Stand Alone STARTTIME: 2018-11-07 05:59:45 +0100   MODEL    : Smart-UPS 750  STATUS   : ONLINE  BCHARGE  : 100.0 Percent TIMELEFT : 56.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  : 2010-11-20 SERIALNO : AS1206291417   NOMBATTV : 24.0 Volts FIRMWARE : COM 02.1 / UPS.05.I END APC  : 2018-11-07 06:20:02 +0100    from apcaccess
[2018-11-07 06:20:02][DEBUG] : Get information key APC with value 001,027,0664
[2018-11-07 06:20:02][DEBUG] : Get information key DATE with value 2018-11-07 06:19:57 +0100
[2018-11-07 06:20:02][DEBUG] : Get information key HOSTNAME with value Jeedom
[2018-11-07 06:20:02][DEBUG] : Get information key VERSION with value 3.14.14 (31 May 2016) debian
[2018-11-07 06:20:02][DEBUG] : Get information key UPSNAME with value jeedom UPS_IDEN
[2018-11-07 06:20:02][DEBUG] : Get information key CABLE with value USB Cable
[2018-11-07 06:20:02][DEBUG] : Get information key DRIVER with value USB UPS Driver
[2018-11-07 06:20:02][DEBUG] : Get information key UPSMODE with value Stand Alone
[2018-11-07 06:20:02][DEBUG] : Get information key STARTTIME with value 2018-11-07 05:59:45 +0100
[2018-11-07 06:20:02][DEBUG] : Get information key MODEL with value Smart-UPS 750
[2018-11-07 06:20:02][DEBUG] : Get information key STATUS with value ONLINE
[2018-11-07 06:20:02][DEBUG] : Get information key BCHARGE with value 100.0 Percent
[2018-11-07 06:20:02][DEBUG] : Get information key TIMELEFT with value 56.0 Minutes
[2018-11-07 06:20:02][DEBUG] : Get information key MBATTCHG with value 5 Percent
[2018-11-07 06:20:02][DEBUG] : Get information key MINTIMEL with value 3 Minutes
[2018-11-07 06:20:02][DEBUG] : Get information key MAXTIME with value 0 Seconds
[2018-11-07 06:20:02][DEBUG] : Get information key ALARMDEL with value No alarm
[2018-11-07 06:20:02][DEBUG] : Get information key BATTV with value 27.0 Volts
[2018-11-07 06:20:02][DEBUG] : Get information key NUMXFERS with value 0
[2018-11-07 06:20:02][DEBUG] : Get information key TONBATT with value 0 Seconds
[2018-11-07 06:20:02][DEBUG] : Get information key CUMONBATT with value 0 Seconds
[2018-11-07 06:20:02][DEBUG] : Get information key XOFFBATT with value N/A
[2018-11-07 06:20:02][DEBUG] : Get information key STATFLAG with value 0x05000008
[2018-11-07 06:20:02][DEBUG] : Get information key MANDATE with value 2010-11-20
[2018-11-07 06:20:02][DEBUG] : Get information key SERIALNO with value AS1206291417
[2018-11-07 06:20:02][DEBUG] : Get information key NOMBATTV with value 24.0 Volts
[2018-11-07 06:20:02][DEBUG] : Get information key FIRMWARE with value COM 02.1 / UPS.05.I
[2018-11-07 06:20:02][DEBUG] : Get information key END APC with value 2018-11-07 06:20:02 +0100
[2018-11-07 06:20:02][DEBUG] : Update command bcharge
[2018-11-07 06:20:02][DEBUG] :  => apply default case
[2018-11-07 06:20:02][DEBUG] :  => update battery status
[2018-11-07 06:20:02][DEBUG] :  => update command bcharge with 100.0
[2018-11-07 06:20:02][DEBUG] : Update command event
[2018-11-07 06:20:02][DEBUG] :  => ignore
[2018-11-07 06:20:02][DEBUG] : Update command timeleft
[2018-11-07 06:20:02][DEBUG] :  => apply default case
[2018-11-07 06:20:02][DEBUG] :  => update command timeleft with 56.0
[2018-11-07 06:20:02][DEBUG] : Update command outpower
[2018-11-07 06:20:02][DEBUG] :  => apply outpower case
[2018-11-07 06:20:02][DEBUG] :  => update command outpower with 0
[2018-11-07 06:20:02][DEBUG] : Update command linev
[2018-11-07 06:20:02][DEBUG] :  => apply default case
[2018-11-07 06:20:02][DEBUG] :  => update command linev with 0
[2018-11-07 06:20:02][DEBUG] : Update command loadpct
[2018-11-07 06:20:02][DEBUG] :  => apply default case
[2018-11-07 06:20:02][DEBUG] :  => update command loadpct with 0
[2018-11-07 06:20:02][DEBUG] : Update command model
[2018-11-07 06:20:02][DEBUG] :  => apply model case
[2018-11-07 06:20:02][DEBUG] :  => update command model with Smart-UPS 750
[2018-11-07 06:20:02][DEBUG] : Update command battv
[2018-11-07 06:20:02][DEBUG] :  => apply default case
[2018-11-07 06:20:02][DEBUG] :  => update command battv with 27.0
[2018-11-07 06:20:02][DEBUG] : Update command status
[2018-11-07 06:20:02][DEBUG] :  => apply default case
[2018-11-07 06:20:02][DEBUG] :  => update command status with ONLINE
@+ Arnaud
Hardware :
- Serveur sous Proxmox VE 5.1-35 avec VM Jeedom v3.3.19
- Raspberry Pi 2 Modèle B 1GB
- Onduleur APC Smart UPS 750
Software :
- PfSense CE 2.4.4-RELEASE-p2
- Jeedom v3.3.19
- Raspbian Stretch v4.9

Avatar de l’utilisateur
bartounet
Actif
Messages : 2541
Inscription : 14 juil. 2016, 10:09

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par bartounet » 21 nov. 2018, 21:56

Bonsoir.
Tout d'abord je voulais féliciter Lunarok pour ce plugin.

J'ai testé la capacité de mon APC 500 ce soir.

J'ai été étonné que en coupant le courant, l'onduleur prévoit une extinction de lui même, mais surtout coupe Jeedom proprement !!!!!
C'est génial !

on le voit bien dans les logs

Code : Tout sélectionner

Nov 21 21:11:33 jeedom apcupsd[581]: Power failure.
Nov 21 21:11:39 jeedom apcupsd[581]: Running on UPS batteries.
Nov 21 21:13:52 jeedom apcupsd[581]: Reached remaining time percentage limit on batteries.
Nov 21 21:13:52 jeedom apcupsd[581]: Initiating system shutdown!
Nov 21 21:13:52 jeedom apcupsd[581]: apcupsd exiting, signal 15
Nov 21 21:13:52 jeedom apcupsd[581]: apcupsd shutdown succeeded
On voit d'ailleurs que mon onduleur tient à peine 3 minutes.
Il faudra que je le change pour un de meilleur capacité. ( de toute facon il est donnée à 12 minutes à 50% capacité)


Mais mon interrogation, c'est qu'est ce qui à dit à Jeedom de s'éteindre proprement ? Apccupsd ou le plugin Jeedom ?

Je suis du coup en train de me faire un script / scénario pour éteindre mes VM propres sur mon esxi avant coupure de Jeedom et de l'APC
Jeedom à jour Debian 9
VM VMWARE ESXi 6.7 ( SSD)
Stick ZWave / FIBARO / Ikea Light / Yeelight / Google Home
Wifi Unifi / PFSENSE / Reverse Proxy DMZ SSL

Passionné de bidouillage informatique en tout genre
Mon blog : http://blog.info16.fr

Avatar de l’utilisateur
cadavor
Actif
Messages : 1284
Inscription : 21 juin 2015, 22:00
Localisation : 34

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par cadavor » 22 nov. 2018, 11:16

bartounet a écrit :
21 nov. 2018, 21:56
Bonsoir.
Tout d'abord je voulais féliciter Lunarok pour ce plugin.

J'ai testé la capacité de mon APC 500 ce soir.

J'ai été étonné que en coupant le courant, l'onduleur prévoit une extinction de lui même, mais surtout coupe Jeedom proprement !!!!!
C'est génial !

on le voit bien dans les logs

Code : Tout sélectionner

Nov 21 21:11:33 jeedom apcupsd[581]: Power failure.
Nov 21 21:11:39 jeedom apcupsd[581]: Running on UPS batteries.
Nov 21 21:13:52 jeedom apcupsd[581]: Reached remaining time percentage limit on batteries.
Nov 21 21:13:52 jeedom apcupsd[581]: Initiating system shutdown!
Nov 21 21:13:52 jeedom apcupsd[581]: apcupsd exiting, signal 15
Nov 21 21:13:52 jeedom apcupsd[581]: apcupsd shutdown succeeded
On voit d'ailleurs que mon onduleur tient à peine 3 minutes.
Il faudra que je le change pour un de meilleur capacité. ( de toute facon il est donnée à 12 minutes à 50% capacité)


Mais mon interrogation, c'est qu'est ce qui à dit à Jeedom de s'éteindre proprement ? Apccupsd ou le plugin Jeedom ?

Je suis du coup en train de me faire un script / scénario pour éteindre mes VM propres sur mon esxi avant coupure de Jeedom et de l'APC
C'est apcusd qui gere (Reached remaining time percentage limit on batteries.)
Jeedom Stable 3.3
NUC Z83 + Aeotec Z-Stick Gen5
Z-Wave FGR + FGMS + FGDS + FGFS + FGK + FGWPE + ZW062 + ZW080
GH Mini + Orvibo AllOne + Playbulb + Miband2

Avatar de l’utilisateur
bartounet
Actif
Messages : 2541
Inscription : 14 juil. 2016, 10:09

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par bartounet » 22 nov. 2018, 12:06

C'est ce que je pensais.
Merci
Jeedom à jour Debian 9
VM VMWARE ESXi 6.7 ( SSD)
Stick ZWave / FIBARO / Ikea Light / Yeelight / Google Home
Wifi Unifi / PFSENSE / Reverse Proxy DMZ SSL

Passionné de bidouillage informatique en tout genre
Mon blog : http://blog.info16.fr

Avatar de l’utilisateur
Theking31
Actif
Messages : 1182
Inscription : 21 sept. 2017, 11:13
Localisation : Toulouse - Le Vernet

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par Theking31 » 29 nov. 2018, 13:18

bartounet a écrit :
21 nov. 2018, 21:56

Code : Tout sélectionner

Nov 21 21:11:33 jeedom apcupsd[581]: Power failure.
Nov 21 21:11:39 jeedom apcupsd[581]: Running on UPS batteries.
Nov 21 21:13:52 jeedom apcupsd[581]: Reached remaining time percentage limit on batteries.
Nov 21 21:13:52 jeedom apcupsd[581]: Initiating system shutdown!
Nov 21 21:13:52 jeedom apcupsd[581]: apcupsd exiting, signal 15
Nov 21 21:13:52 jeedom apcupsd[581]: apcupsd shutdown succeeded
Bonjour,

Dans quel log tu as trouvé ça ???
Jeedom 4.0.23 sur Intel NUC 6CAYH | Linux 4.9.0-11-amd64 | Debian 9.11
Rfxcom | Z-Wave Plus Z-Stick GEN5 | Conbee 2 | => sur hub alimenté
Blea| Brodlink | Xiaomi |ESPeasy | Wifilightv2

eldoctor62
Actif
Messages : 1089
Inscription : 12 nov. 2014, 15:44

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par eldoctor62 » 07 déc. 2018, 18:06

Bonjour a tous,

Quelqu'un saurait me dire s'il est bien compatible avec un odroid C2 et un APC-BE550G ?

Merki
Odroid C2
Razberry / RFXCOM / Teleinfo / MyFox HC2 / ESP8266
--
Just Have Fun

soofiane84
Timide
Messages : 229
Inscription : 02 janv. 2017, 13:35

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par soofiane84 » 11 déc. 2018, 18:25

Bonjour a tous, j'ai un apc bx7000, pouvez-vous svp me donner un lien pour le cable usb compatible pour que je puisse utilisé ce plugin ? Merci d'avance.

Envoyé de mon Mi MIX 2 en utilisant Tapatalk


chapsteph
Timide
Messages : 71
Inscription : 25 mars 2016, 15:59

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par chapsteph » 26 déc. 2018, 17:59

Bonjour,

J'ai un souci avec la liaison entre Jeedom et mon Onduleur APC Backups 700 depuis le changement de la batterie sur celui ci.
Je suis toujours en commlost impossible de recupérer les infos de l'onduleur branché en USB en direct sur Jeedom (rpi)
voici le log

Code : Tout sélectionner


[2018-12-26 17:52:04][DEBUG] : Get information string APC      : 001,018,0450 DATE     : 2018-12-26 17:52:04 +0100   HOSTNAME : jeedom VERSION  : 3.14.12 (29 March 2014) debian UPSNAME  : jeedom UPS_IDEN CABLE    : USB Cable DRIVER   : USB UPS Driver UPSMODE  : Stand Alone STARTTIME: 2018-12-26 17:51:39 +0100   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  : 2018-12-26 17:52:04 +0100    from apcaccess
[2018-12-26 17:52:04][DEBUG] : Get information key APC with value 001,018,0450
[2018-12-26 17:52:04][DEBUG] : Get information key DATE with value 2018-12-26 17:52:04 +0100
[2018-12-26 17:52:04][DEBUG] : Get information key HOSTNAME with value jeedom
[2018-12-26 17:52:04][DEBUG] : Get information key VERSION with value 3.14.12 (29 March 2014) debian
[2018-12-26 17:52:04][DEBUG] : Get information key UPSNAME with value jeedom UPS_IDEN
[2018-12-26 17:52:04][DEBUG] : Get information key CABLE with value USB Cable
[2018-12-26 17:52:04][DEBUG] : Get information key DRIVER with value USB UPS Driver
[2018-12-26 17:52:04][DEBUG] : Get information key UPSMODE with value Stand Alone
[2018-12-26 17:52:04][DEBUG] : Get information key STARTTIME with value 2018-12-26 17:51:39 +0100
[2018-12-26 17:52:04][DEBUG] : Get information key STATUS with value COMMLOST
[2018-12-26 17:52:04][DEBUG] : Get information key MBATTCHG with value 5 Percent
[2018-12-26 17:52:04][DEBUG] : Get information key MINTIMEL with value 3 Minutes
[2018-12-26 17:52:04][DEBUG] : Get information key MAXTIME with value 0 Seconds
[2018-12-26 17:52:04][DEBUG] : Get information key NUMXFERS with value 0
[2018-12-26 17:52:04][DEBUG] : Get information key TONBATT with value 0 Seconds
[2018-12-26 17:52:04][DEBUG] : Get information key CUMONBATT with value 0 Seconds
[2018-12-26 17:52:04][DEBUG] : Get information key XOFFBATT with value N/A
[2018-12-26 17:52:04][DEBUG] : Get information key STATFLAG with value 0x05000100
[2018-12-26 17:52:04][DEBUG] : Get information key END APC with value 2018-12-26 17:52:04 +0100
[2018-12-26 17:52:04][DEBUG] : Update command loadpct
[2018-12-26 17:52:04][DEBUG] :  => apply default case
[2018-12-26 17:52:04][DEBUG] :  => update command loadpct with
[2018-12-26 17:52:04][DEBUG] : Update command bcharge
[2018-12-26 17:52:04][DEBUG] :  => apply default case
[2018-12-26 17:52:04][DEBUG] :  => update battery status
[2018-12-26 17:52:04][DEBUG] :  => update command bcharge with
[2018-12-26 17:52:04][DEBUG] : Update command linev
[2018-12-26 17:52:04][DEBUG] :  => apply default case
[2018-12-26 17:52:04][DEBUG] :  => update command linev with
[2018-12-26 17:52:04][DEBUG] : Update command event
[2018-12-26 17:52:04][DEBUG] :  => ignore
[2018-12-26 17:52:04][DEBUG] : Update command model
[2018-12-26 17:52:04][DEBUG] :  => apply model case
[2018-12-26 17:52:04][DEBUG] :  => update command model with
[2018-12-26 17:52:04][DEBUG] : Update command outpower
[2018-12-26 17:52:04][DEBUG] :  => apply outpower case
[2018-12-26 17:52:04][DEBUG] :  => update command outpower with 0
[2018-12-26 17:52:04][DEBUG] : Update command status
[2018-12-26 17:52:04][DEBUG] :  => apply default case
[2018-12-26 17:52:04][DEBUG] :  => update command status with COMMLOST
[2018-12-26 17:52:04][DEBUG] : Update command timeleft
[2018-12-26 17:52:04][DEBUG] :  => apply default case
[2018-12-26 17:52:04][DEBUG] :  => update command timeleft with COMMLOST
[2018-12-26 17:52:04][DEBUG] : Update command battv
[2018-12-26 17:52:04][DEBUG] :  => apply default case
[2018-12-26 17:52:04][DEBUG] :  => update command battv with COMMLOST

chapsteph
Timide
Messages : 71
Inscription : 25 mars 2016, 15:59

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par chapsteph » 16 janv. 2019, 14:25

Personne ?

eldoctor62
Actif
Messages : 1089
Inscription : 12 nov. 2014, 15:44

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par eldoctor62 » 03 févr. 2019, 11:53

@lunarok

Hello,

En Lsusb j’ai bien : American power conversion uninterruptible power supply

J’ai un odroid c2 avec instal fraîche d’hier

L’installation des dépendances n’a pas posé de soucis, il a installé libusb et apcupsd-cgi

A la fin du logs j’ai bien : fichier conf modifié

J’ai l’impression de ne pas communiquer avec londuleur

Je me demande si le fichier conf est bien renseigné ... port etc ...

J’ai fait systemctl stop apcupsd
Puis apctest

Arrivé à setting up the port

J’ai une fatal erreur :

Apctest fatal error in apctest at line 321
Apctest error termination completed

Bien sûr le résultat est que la tuile est vide ...

Comment configurer le plug ou contrôler qu’un truc ne coince pas stp ?

Merci
Odroid C2
Razberry / RFXCOM / Teleinfo / MyFox HC2 / ESP8266
--
Just Have Fun

eldoctor62
Actif
Messages : 1089
Inscription : 12 nov. 2014, 15:44

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par eldoctor62 » 07 févr. 2019, 18:13

Je viens de remarquer que la compatibilité ne fonctionne pas sur une install clean de Stretch.

Il faut passer par Jessie !!

J'ai fait mes tests sur un odroid et c'est mon constat !

Je verrai si ca tourne toujours après un :

apt update
apt full-upgrade

en stretch...
Odroid C2
Razberry / RFXCOM / Teleinfo / MyFox HC2 / ESP8266
--
Just Have Fun

eldoctor62
Actif
Messages : 1089
Inscription : 12 nov. 2014, 15:44

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par eldoctor62 » 08 févr. 2019, 16:57

Le upgrade en stretch a merdé...

Juste pour savoir quelqu’un la en fonctionnel direct sur un stretch 1ère instal ??
Odroid C2
Razberry / RFXCOM / Teleinfo / MyFox HC2 / ESP8266
--
Just Have Fun

Avatar de l’utilisateur
Theking31
Actif
Messages : 1182
Inscription : 21 sept. 2017, 11:13
Localisation : Toulouse - Le Vernet

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par Theking31 » 08 févr. 2019, 17:46

Oui, marche bien...
Jeedom 4.0.23 sur Intel NUC 6CAYH | Linux 4.9.0-11-amd64 | Debian 9.11
Rfxcom | Z-Wave Plus Z-Stick GEN5 | Conbee 2 | => sur hub alimenté
Blea| Brodlink | Xiaomi |ESPeasy | Wifilightv2

eldoctor62
Actif
Messages : 1089
Inscription : 12 nov. 2014, 15:44

Re: [Plugin Tiers][Sujet Principal] APC-UPS

Message par eldoctor62 » 08 févr. 2019, 17:47

Mince sur une install windows et jessis marche nickel j’ai beau faire et refaire même sans installer Jeedom marche pa !!
Sur odroid ?
Sinon quel stretch ?
Odroid C2
Razberry / RFXCOM / Teleinfo / MyFox HC2 / ESP8266
--
Just Have Fun

Répondre

Revenir vers « [Catégorie] Monitoring »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 5 invités