MMM-Jeedom qui ne fonctionne plus pour le magicmirror

Bonjour à tous,

Je viens d’installer le module MMM-Jeedom sur mon MM.
Et ça ne fonctionne pas.
Jeedom en docker sur un syno, MM sur un raspi 3B+ dédié à cela.

Voici mon code MMM-Jeedom :

{

            module: 'MMM-Jeedom',

            header: 'Jeedom MacVlan',

            position: "top_center",

            config: {

                updateInterval: 3000,

                jeedomAPIKey: "AtSO4wbxxxxxxjXmgbhYllKBFI9E", 

                jeedomURL: "http://192.168.0.242",

                jeedomPORT: 80,

                jeedomHTTPS: false,

                jeedomAPIPath: "/core/api/jeeApi.php",

                sensors: [

                {

                    idx: "2617", 

                    symbol: "fa fa-bolt",

                    customTitle: "Consommation Maison",

                    unit : "Watt",

                    },

                {

                    idx: "695",

                    symbol: "fa fa-thermometer-full",

                    customTitle: "Temperature Rez de Chaussee",

                    unit : "C°",

                },

                {

                    idx: "773",

                    symbolon: "fa fa-user",

                    symboloff: "fa fa-user-o",

                    customTitle: "Adrien",

                    boolean : true,

                },

                {

                    idx: "6031",

                    symbol: "fa fa-music",

                    customTitle: "Musique",

                    hideempty:false,

                },

            ]

            },

        },

Voici mon log PM2 :

pi@raspberrypi:~ $ pm2 log
[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
/home/pi/.pm2/pm2.log last 15 lines:
PM2        | 2020-05-08T22:35:14: PM2 log: App [mm:0] starting in -fork mode-
PM2        | 2020-05-08T22:35:14: PM2 log: App [mm:0] online
PM2        | 2020-05-08T23:02:59: PM2 log: Stopping app:mm id:0
PM2        | 2020-05-08T23:02:59: PM2 log: pid=3083 msg=failed to kill - retrying in 100ms
PM2        | 2020-05-08T23:02:59: PM2 log: pid=3083 msg=failed to kill - retrying in 100ms
PM2        | 2020-05-08T23:02:59: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
PM2        | 2020-05-08T23:02:59: PM2 log: pid=3083 msg=process killed
PM2        | 2020-05-08T23:02:59: PM2 log: App [mm:0] starting in -fork mode-
PM2        | 2020-05-08T23:02:59: PM2 log: App [mm:0] online
PM2        | 2020-05-09T00:27:36: PM2 log: Stopping app:mm id:0
PM2        | 2020-05-09T00:27:37: PM2 log: pid=5715 msg=failed to kill - retrying in 100ms
PM2        | 2020-05-09T00:27:37: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
PM2        | 2020-05-09T00:27:37: PM2 log: pid=5715 msg=process killed
PM2        | 2020-05-09T00:27:37: PM2 log: App [mm:0] starting in -fork mode-
PM2        | 2020-05-09T00:27:37: PM2 log: App [mm:0] online

/home/pi/.pm2/logs/mm-error.log last 15 lines:
0|mm       | }
0|mm       | [2020-05-09 00:28:15.025] [ERROR]  Error: getaddrinfo ENOTFOUND http://192.168.0.242
0|mm       |     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
0|mm       |   errno: 'ENOTFOUND',
0|mm       |   code: 'ENOTFOUND',
0|mm       |   syscall: 'getaddrinfo',
0|mm       |   hostname: 'http://192.168.0.242'
0|mm       | }
0|mm       | [2020-05-09 00:28:18.027] [ERROR]  Error: getaddrinfo ENOTFOUND http://192.168.0.242
0|mm       |     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
0|mm       |   errno: 'ENOTFOUND',
0|mm       |   code: 'ENOTFOUND',
0|mm       |   syscall: 'getaddrinfo',
0|mm       |   hostname: 'http://192.168.0.242'
0|mm       | }

/home/pi/.pm2/logs/mm-out.log last 15 lines:
0|mm       | [2020-05-09 00:28:06.021] [LOG]    Whoops! There was an uncaught exception...
0|mm       | [2020-05-09 00:28:06.023] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm       | [2020-05-09 00:28:06.024] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|mm       | [2020-05-09 00:28:09.028] [LOG]    Whoops! There was an uncaught exception...
0|mm       | [2020-05-09 00:28:09.031] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm       | [2020-05-09 00:28:09.033] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|mm       | [2020-05-09 00:28:12.024] [LOG]    Whoops! There was an uncaught exception...
0|mm       | [2020-05-09 00:28:12.026] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm       | [2020-05-09 00:28:12.028] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|mm       | [2020-05-09 00:28:15.024] [LOG]    Whoops! There was an uncaught exception...
0|mm       | [2020-05-09 00:28:15.026] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm       | [2020-05-09 00:28:15.028] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|mm       | [2020-05-09 00:28:18.026] [LOG]    Whoops! There was an uncaught exception...
0|mm       | [2020-05-09 00:28:18.028] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm       | [2020-05-09 00:28:18.030] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

0|mm  | [2020-05-09 00:28:21.025] [LOG]
0|mm  | Whoops! There was an uncaught exception...
0|mm  | [2020-05-09 00:28:21.028] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|mm  | [2020-05-09 00:28:21.029] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|mm  | [2020-05-09 00:28:21.026] [ERROR]  Error: getaddrinfo ENOTFOUND http://192.168.0.242
0|mm  |     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
0|mm  |   errno: 'ENOTFOUND',
0|mm  |   code: 'ENOTFOUND',
0|mm  |   syscall: 'getaddrinfo',
0|mm  |   hostname: 'http://192.168.0.242'
0|mm  | }

Si je fais un wget en console voici le résultat :

pi@raspberrypi:~ $ wget http://192.168.0.242:80/core/api/jeeApi.php?apikey=AtSO4wbWW2i5qxxxxxxxxKBFI9E&type=cmd&id=2617
[1] 17424
[2] 17425
pi@raspberrypi:~ $
Redirection de la sortie vers « wget-log ».

Il reste bloqué comme ça jusqu’à ce que je fasse un ctrl C

^C
[1]-  Fini                    wget http://192.168.0.242:80/core/api/jeeApi.php?apikey=AtSO4wbWxxxxxxxxxmgbhYllKBFI9E
[2]+  Fini                    type=cmd

dans firefox, http://192.168.0.242:80/core/api/jeeApi.php?apikey=AtSO4wbWxxxxbhYllKBFI9E&type=cmd&id=2617 me renvoie la bonne valeur : 434. Ce sont des watts instantanés
J’ai également tenté un curl :

pi@raspberrypi:~ $ curl -H "Content-Type: application/json" -X POST -d '{"jsonrpc": "2.0", "id": "1000", "method": "cmd::execCmd", "params": {"apikey": "AtSO4wbWxxxxxxxmgbhYllKBFI9E", "id": 2617}}' http://192.168.0.254/core/api/jeeApi.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Freebox :: Ressource non trouvée</title>
<link href="/err/err.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="info">
    <div id="errorMsg">
      <h3>Ressource non trouvée</h3>
      <p class="desc">La ressource que vous essayez de consulter n'existe pas, ou n'existe plus</p>
    </div>
</div>

</body>
</html>

Là, je ne comprends pas pourquoi il me parle de la freebox. L’IDX 2617 correspond à ma consommation électrique instantanée.

Je suis dessus depuis 2 jours. J’ai tout vérifié. La clé API, l’adresse IP, le port, les 3 accès API dans Jeedom sont activés. J’en ai marre !! Suis dépité.

Si quelqu’un a une idée du problème, merci d’avance.