Soucis UPS LAN

Bonjour à tous,
Je viens d’installer une carte reseau dans mon APC 750 XL.

J’ai donc modifier le fichier apcupsd.conf avec l’ip de mon ups

# NISIP <dotted notation ip address>
#  IP address on which NIS server will listen for incoming connections.
#  This is useful if your server is multi-homed (has more than one
#  network interface and IP address). Default value is 0.0.0.0 which
#  means any incoming request will be serviced. Alternatively, you can
#  configure this setting to any specific IP address of your server and 
#  NIS will listen for connections only on that interface. Use the
#  loopback address (127.0.0.1) to accept connections only from the
#  local machine.
NISIP 192.168.0.211

# NISPORT <port> default is 3551 as registered with the IANA
#  port to use for sending STATUS and EVENTS data over the network.
#  It is not used unless NETSERVER is on. If you change this port,
#  you will need to change the corresponding value in the cgi directory
#  and rebuild the cgi programs.
NISPORT 3551

Dans le fichier d’apccontrol j’ai bien la ligne avec mon API Key

#!/bin/sh
#
# Copyright (C) 1999-2002 Riccardo Facchetti <riccardo@master.oasi.gpa.it>
#
#  for apcupsd release 3.14.12 (29 March 2014) - debian
#
# platforms/apccontrol.  Generated from apccontrol.in by configure.
#
#  Note, this is a generic file that can be used by most
#   systems. If a particular system needs to have something
#   special, start with this file, and put a copy in the
#   platform subdirectory.
#

#
# These variables are needed for set up the autoconf other variables.
#
wget --no-check-certificate -qO- "http://127.0.0.1:80/core/api/jeeApi.php?api=__MON_API__&messagetype=saveEvent&type=apcups&hostname=127.0.0.1&event=$1"

prefix=/usr
exec_prefix=${prefix}

APCPID=/var/run/apcupsd.pid
APCUPSD=/sbin/apcupsd
SHUTDOWN=/sbin/shutdown
SCRIPTSHELL=/bin/sh
SCRIPTDIR=/etc/apcupsd
WALL=wall

Mais je n’ai aucune remontée sur mon équipement

Voici ce que me remonte les logs APC

2019-11-03 23:00:11][DEBUG] :  => apply outpower case
[2019-11-03 23:00:11][DEBUG] :  => update command outpower with 0
[2019-11-03 23:00:11][DEBUG] : Update command status
[2019-11-03 23:00:11][DEBUG] :  => apply default case
[2019-11-03 23:00:11][DEBUG] :  => update command status with 0
[2019-11-03 23:00:11][DEBUG] : Update command timeleft
[2019-11-03 23:00:11][DEBUG] :  => apply default case
[2019-11-03 23:00:11][DEBUG] :  => update command timeleft with 0
[2019-11-03 23:00:11][DEBUG] : Update command battv
[2019-11-03 23:00:11][DEBUG] :  => apply default case
[2019-11-03 23:00:11][DEBUG] :  => update command battv with 0
[2019-11-03 23:00:12][DEBUG] : Get information string Terminating due to configuration file errors.  from apcaccess
[2019-11-03 23:00:12][DEBUG] : The information row Terminating due to configuration file errors. is not parsable
[2019-11-03 23:00:12][DEBUG] : Update command bcharge
[2019-11-03 23:00:12][DEBUG] :  => apply default case
[2019-11-03 23:00:12][DEBUG] :  => update battery status
[2019-11-03 23:00:12][DEBUG] :  => update command bcharge with
[2019-11-03 23:00:12][DEBUG] : Update command timeleft
[2019-11-03 23:00:12][DEBUG] :  => apply default case

Merci d’avance pour vos infos.

Bonjour,

J’ai le même comportement, aucune remontée d’info.
Ma configuration est la même à la différence que mon APC est branché en USB sur mon RPi Jeedom avec l’adresse 127.0.0.1

Il doit y avoir quelque chose qui nous échappe…

Bonjour à tous,

J’ai toujours un soucis avec mon plug in APC.
Les infos ne remontent pas.
Mon UPS est un APC Smart-UPS XL 750VA avec la carte reseau.
Son IP est 192.168.0.212

Depuis le dernier post, je suis passé en V4.061 etmon linux est le suivant :

Distributor ID: Debian
Description: Debian GNU/Linux 8.11 (jessie)
Release: 8.11
Codename: jessie

Je pense que mes fichier de config sont foireux car lorsque je lance la commande /sbin/apcaccess voici ce qui me revient :

root@Jeedom:~# /sbin/apcaccess
Terminating due to configuration file errors.

Est ce que quelqu’un (@lunarok) pourrait me renvoyer les fichier de config afin de tester si le soucis viens bien de la

Voici en annexe mes fichiers de config

apccontrol.txt (4,1 Ko) apcupsd.conf.txt (12,3 Ko)