MMM-Jeedom qui ne fonctionne plus pour le magicmirror

bonjour, j’utilise MMM-Jeedom pour mon magic-mirror mais depuis quelques temps il ne fonctionne plus.
Je ne sais pas de ou cela viens.
J’ai mis simplement a jour le mirroir mais le plugin m’affiche 'loading…" et rien, aucune connexion.
voici mon fichier config sur le miroir :

{
			module: "MMM-Jeedom",
			header: "Jeedom Maison",
			position: "bottom_left",
			config: {
				updateInterval: 3000,
			    jeedomAPIKey: "MA CLEF JEEDOM", 
				jeedomURL: "IP LOCAL",
				jeedomPORT: 80,
				jeedomHTTPS: false,
				jeedomAPIPath: "/core/api/jeeApi.php",
				sensors: [
				
				{
					idx: "39725",
					symbol: "fa fa-music",
					customTitle: "Artiste Google",
					hideempty:false,
				},
				{
					idx: "39724",
					symbol: "fa fa-music",
					customTitle: "Titre Google",
					hideempty:false,
				},
				{
					idx: "36707", 
					symbol: "fa fa-bolt",
					customTitle: "Consommation Maison",
					unit : "A",
      				},
				{
					idx: "14833",
					symbol: "fa fa-thermometer-full",
					customTitle: "Temperature Bucher",
					unit : "C°",
				},
				{
					idx: "2109",
					symbol: "fa fa-thermometer-full",
					customTitle: "Temperature Chambre Parents",
					unit : "C°",
				},
				{
					idx: "38585",
					symbol: "fa fa-thermometer-full",
					customTitle: "Temperature Chambre tony",
					unit : "C°",
				},
				]
			}
		},	

Merci de votre aide.

Est-ce que ta clef API jeedom n’aurait pas changé ?

Non, j’ai bien regardé justement de ce cote, je comprends pas, les ports sont ok, ip aussi. je pige pas ce qui bloque.

Salut, pour ma part je viens d’installer le magic mirror sur une fresh instal en buster et le MMM-Jeedom marche bien. c’était juste pour info si ça peu aider. je suis en jeedom V4.
Par contre je cherchais des info sur le custom css du MM. pour modifier les couleurs des icones on/off (pour la mise en place de du fichier css et les paramètre à rentré quelqu’un a des info je suis novice en programmation et en css. merci

Salut kris1208, question bête mais côté MM tu as de logs (pm2 log …) ? dans node ou dans le navigateur (F12) ?

J’utilise aussi ce module associé à MMM-PIR-sensor.
J’ai du faire quelques modifications dans le code car les infos ne se mettait plus à jour une fois qu’il avait eu une détection de mouvement du PIR
PS pour le dev : J’ai fait un push request sur le github

Je tenterais un npm install dans le répertoire modules

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.

Commence par essayer de remplacer la ligne :
jeedomURL: « http://192.168.0.242 »,
Par
jeedomURL: « 192.168.0.242 »,

Bonjour DaBoss,

Oui, j’ai mis le http:// pour tester. Mais ça ne fonctionne pas non plus sans

Une question, au niveau de l’installation des modules en général.

Module installation

Git clone this repo into ~/MagicMirror/modules directory :

cd ~/MagicMirror/modules
git clone https://github.com/prysme01/MMM-Jeedom.git

and add the configuration section in your Magic Mirror config file :

Il ne faut pas après avoir cloner, aller dans le dossier et faire un npm install ?
Beaucoup de notices d’installation de modules l’omette.

Donc, j’ai effacé le dossier /modules/MMM-Jeedom, je l’ai recréé et cloné l’image dedans. C’est tout.
J’ai remis le fichier config.js d’origine, c’est à dire vierge. J’ai reconfiguré mon MM, puis j’ai collé le bout de code de MMM-Jeedom :

/* Magic Mirror Config Sample
 *
 * By Michael Teeuw http://michaelteeuw.nl
 * MIT Licensed.
 *
 * For more information on how you can configure this file
 * See https://github.com/MichMich/MagicMirror#configuration
 *
 */

var config = {
	address: "localhost", // Address to listen on, can be:
	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
	                      // - another specific IPv4/6 to listen on a specific interface
	                      // - "0.0.0.0", "::" to listen on any interface
	                      // Default, when address config is left out or empty, is "localhost"
	port: 8080,
	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
	                                                       // or add a specific IPv4 of 192.168.1.5 :
	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],

	useHttps: false, 		// Support HTTPS or not, default "false" will use HTTP
	httpsPrivateKey: "", 	// HTTPS private key path, only require when useHttps is true
	httpsCertificate: "", 	// HTTPS Certificate path, only require when useHttps is true

	language: "fr",
	timeFormat: 24,
	units: "metric",
	// serverOnly:  true/false/"local" ,
			     // local for armv6l processors, default
			     //   starts serveronly and then starts chrome browser
			     // false, default for all  NON-armv6l devices
			     // true, force serveronly mode, because you want to.. no UI on this device

	modules: [
		{
			module: "alert",
		},
		{
			module: "updatenotification",
			position: "top_bar"
		},
		{
			module: "clock",
			position: "top_left"
		},
		{
			module: "calendar",
			header: "US Holidays",
			position: "top_left",
			config: {
				calendars: [
					{
						symbol: "calendar-check",
						url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"					}
				]
			}
		},
		{
			module: "compliments",
			position: "lower_third"
		},
		{
			module: "currentweather",
			position: "top_right",
			config: {
				location: "New York",
				locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
				appid: "YOUR_OPENWEATHER_API_KEY"
			}
		},
		{
			module: "weatherforecast",
			position: "top_right",
			header: "Weather Forecast",
			config: {
				location: "New York",
				locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
				appid: "YOUR_OPENWEATHER_API_KEY"
			}
		},
		{
			module: "newsfeed",
			position: "bottom_bar",
			config: 
			{
				feeds: 
				[
					{
						title: "New York Times",
						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
					}
				],
				showSourceTitle: true,
				showPublishDate: true,
				broadcastNewsFeeds: true,
				broadcastNewsUpdates: true
			}
		},
		{
			module: 'MMM-Jeedom',
			header: 'Jeedom Maison',
			position: "top_center",
			config: 
			{
				updateInterval: 5000,
			    jeedomAPIKey: "AtSO4wbWxxxxxxxxxxxxxgbhYllKBFI9E", 
				jeedomURL: "192.168.0.242",
				jeedomPORT: 80,
				jeedomHTTPS: false,
				jeedomAPIPath: "/core/api/jeeApi.php",
				displayLastUpdate: true,
				sensors: 
				[
					{
					idx: "1617", 
					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,

					},
				]
			}
		},
	]

};

/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}

J’ai effacé les logs de pm2 puis j’ai redémarré le PI.
Toujours en Loading, mais curieusement, il n’y a pas de message d’erreur pour Jeedom, tout à l’air de bien se passer

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-09T12:44:07: PM2 log: pid=782 msg=failed to kill - retrying in 100ms
PM2        | 2020-05-09T12:44:07: PM2 log: pid=782 msg=failed to kill - retrying in 100ms
PM2        | 2020-05-09T12:44:07: PM2 log: pid=782 msg=failed to kill - retrying in 100ms
PM2        | 2020-05-09T12:44:07: PM2 log: pid=782 msg=failed to kill - retrying in 100ms
PM2        | 2020-05-09T12:44:07: PM2 log: pid=782 msg=failed to kill - retrying in 100ms
PM2        | 2020-05-09T12:44:07: PM2 log: pid=782 msg=failed to kill - retrying in 100ms
PM2        | 2020-05-09T12:44:07: PM2 log: pid=782 msg=failed to kill - retrying in 100ms
PM2        | 2020-05-09T12:44:08: PM2 log: pid=782 msg=failed to kill - retrying in 100ms
PM2        | 2020-05-09T12:44:08: PM2 log: pid=782 msg=failed to kill - retrying in 100ms
PM2        | 2020-05-09T12:44:08: PM2 log: pid=782 msg=failed to kill - retrying in 100ms
PM2        | 2020-05-09T12:44:08: PM2 log: Process with pid 782 still alive after 1600ms, sending it SIGKILL now...
PM2        | 2020-05-09T12:44:08: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
PM2        | 2020-05-09T12:44:08: PM2 log: pid=782 msg=process killed
PM2        | 2020-05-09T12:44:08: PM2 log: App [mm:0] starting in -fork mode-
PM2        | 2020-05-09T12:44:08: PM2 log: App [mm:0] online

/home/pi/.pm2/logs/mm-error.log last 15 lines:
/home/pi/.pm2/logs/mm-out.log last 15 lines:
0|mm       | [2020-05-09 12:32:29.986] [LOG]    Sockets connected & modules started ...
0|mm       | [2020-05-09 12:32:30.609] [LOG]    Launching application.
0|mm       | [2020-05-09 12:32:41.032] [LOG]    Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
0|mm       | [2020-05-09 12:32:41.136] [LOG]    Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
0|mm       | [2020-05-09 12:44:06.756] [LOG]    Shutting down server...
0|mm       | [2020-05-09 12:44:06.758] [LOG]    Stopping module helper: updatenotification
0|mm       | [2020-05-09 12:44:06.759] [LOG]    Stopping module helper: calendar
0|mm       | [2020-05-09 12:44:06.760] [LOG]    Stopping module helper: newsfeed
0|mm       | [2020-05-09 12:44:06.761] [LOG]    Stopping module helper: MMM-Jeedom
0|mm       |
0|mm       | > magicmirror@2.11.0 start /home/pi/MagicMirror
0|mm       | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
0|mm       |
0|mm       | [2020-05-09 12:44:12.157] [LOG]    Starting MagicMirror: v2.11.0
0|mm       | [2020-05-09 12:44:12.172] [LOG]    Loading config ...

0|mm  | [2020-05-09 12:44:12.256] [LOG]
0|mm  | Initializing new module helper ...
0|mm  | [2020-05-09 12:44:12.257] [LOG]    Module helper loaded: updatenotification
0|mm  | [2020-05-09 12:44:12.258] [LOG]
0|mm  | No helper found for module: clock.
0|mm  | [2020-05-09 12:44:12.878] [LOG]
0|mm  | Initializing new module helper ...
0|mm  | [2020-05-09 12:44:12.879] [LOG]    Module helper loaded: calendar
0|mm  | [2020-05-09 12:44:12.880] [LOG]    No helper found for module: compliments.
0|mm  | [2020-05-09 12:44:12.883] [LOG]    No helper found for module: currentweather.
0|mm  | [2020-05-09 12:44:12.885] [LOG]    No helper found for module: weatherforecast.
0|mm  | [2020-05-09 12:44:12.926] [LOG]
0|mm  | Initializing new module helper ...
0|mm  | [2020-05-09 12:44:12.927] [LOG]    Module helper loaded: newsfeed
0|mm  | [2020-05-09 12:44:12.930] [LOG]    Initializing new module helper ...
0|mm  | [2020-05-09 12:44:12.931] [LOG]    Module helper loaded: MMM-Jeedom
0|mm  | [2020-05-09 12:44:12.933] [LOG]    All module helpers loaded.
0|mm  | [2020-05-09 12:44:13.108] [LOG]
0|mm  | Starting server on port 8080 ...
0|mm  | [2020-05-09 12:44:13.129] [LOG]
0|mm  | Server started ...
0|mm  | [2020-05-09 12:44:13.131] [LOG]    Connecting socket for: updatenotification
0|mm  | [2020-05-09 12:44:13.132] [LOG]    Connecting socket for: calendar
0|mm  | [2020-05-09 12:44:13.134] [LOG]    Starting node helper for: calendar
0|mm  | [2020-05-09 12:44:13.136] [LOG]    Connecting socket for: newsfeed
0|mm  | [2020-05-09 12:44:13.137] [LOG]
0|mm  | Starting module: newsfeed
0|mm  | [2020-05-09 12:44:13.139] [LOG]    Connecting socket for: MMM-Jeedom
0|mm  | [2020-05-09 12:44:13.141] [LOG]    Sockets connected & modules started ...
0|mm  | [2020-05-09 12:44:13.268] [LOG]
0|mm  | Launching application.
0|mm  | [2020-05-09 12:44:16.988] [LOG]
0|mm  | Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
0|mm  | [2020-05-09 12:44:17.037] [LOG]
0|mm  | Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000

Lorsque je fais un wget, c’est toujours pareil
pi@raspberrypi:~ $ wget http://192.168.0.242:80/core/api/jeeApi.php?apikey=AtSO4wbWWxxxxxxxxllKBFI9E&type=cmd&id=2617
[1] 1509
[2] 1510
pi@raspberrypi:~ $
Redirection de la sortie vers « wget-log.8 ».
^C
[1]- Fini wget http://192.168.0.242:80/core/api/jeeApi.php?apikey=AtSO4wbWxxxxxxxxxhYllKBFI9E
[2]+ Fini type=cmd

J’ai vraiment besoin d’un avis éclairé. Merci

Pour le npm install, j’avoue ne pas savoir.

Je comprend pas en revanche tes wget ?.

Dans un premier temps, peut-être tu l’as déjà fait mais est ce que ton url « api » tu l’as testé dans un navigateur du devrait avoir comme résultat ta valeur …

Ensuite si tu fait un wget, il faut aller voir le contenu du fichier « wget-log.8 », c’est lui qui contient le résultat de la commande …

Si tu veux faire un test avec wget met touteston url déjà entre «  »
Tu véras qu’il télécharge un fichier commencant par jeedApixxxxxxxxxxxx et c’est dans ce fichier que tu a la json de le resultat (ou pas :wink: ).

Merci DaBoss,

Je n’avais pas bien compris le fonctionnement de wget en ligne de commande.
Résultat, il m’a bien créé un fichier avec la bonne valeur à l’intérieur.

Donc, les requêtes vers Jeedom fonctionnent bien.
Pourtant, MM est toujours en loading.

comprends pas !

Ah déjà une bonne chose :wink:
Côté jeedom est-ce que tu vois des appels à l’api ? ou le magicmirror ne les fait même pas ?

Comment puis-je voir ça dans jeedom ?

Dans les logs, puis à gauche api.

Moi je suis ne mode debug par défaut sur le jeedom ou je regarde peut-etre il faut augmenté le niveau de log pour avoir api
Dans SYSTEME > CONFIGURATION > onglet LOG … tu augmente me niveau pour API

Je suis aussi en debug. Mais dans Analyse/Logs il n’y a rien.
Quel est le niveau de log le plus haut ?

Et bien debug je pense que c’est le plus haut.

Tu n’as donc pas « api » ?
image

Non, pas du tout
Capture