Re: Module Jeedom pour MagicMirror²
Publié : 24 oct. 2018, 10:47
Bonjour à tous,
Je me lance à mon tour pour le moment avec un simple écran avec MM.
Un grand merci à @prysme pour son taff.
Actuellement pour les test je lance MM sur mon pc sous windows, avec la configuration d'origine par de problème mais si s'ajoute MM-Jeedom et les paramètre MM se lance bien avec la date mais Jeedom maison reste avec le status Loading....
Pouvez-vous me dire ou est le problème?
J'ai changer chacune des valeurs concernant l'IP, le NDD, le port ou le HTTPS mais rien ne change.
Merci d'avance pour vos retour.
Je me lance à mon tour pour le moment avec un simple écran avec MM.
Un grand merci à @prysme pour son taff.
Actuellement pour les test je lance MM sur mon pc sous windows, avec la configuration d'origine par de problème mais si s'ajoute MM-Jeedom et les paramètre MM se lance bien avec la date mais Jeedom maison reste avec le status Loading....
Pouvez-vous me dire ou est le problème?
Code : Tout sélectionner
/* Magic Mirror Config Sample
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*
* For more information how you can configurate 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, 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"],
language: "fr",
timeFormat: 24,
units: "metric",
modules: [
{
//module: "alert",
module: "",
},
{
//module: "updatenotification",
module: "",
position: "top_bar"
},
{
module: "clock",
position: "top_right"
},
{
//module: "calendar",
module: "",
header: "US Holidays",
position: "top_left",
config: {
calendars: [
{
symbol: "calendar-check-o ",
url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
}
]
}
},
{
//module: "compliments",
module: "",
position: "lower_third"
},
{
//module: "currentweather",
module: "",
position: "top_right",
config: {
location: "New York",
locationID: "", //ID from http://bulk.openweathermap.org/sample/; unzip the gz file and find your city
appid: "YOUR_OPENWEATHER_API_KEY"
}
},
{
//module: "weatherforecast",
module: "",
position: "top_right",
header: "Weather Forecast",
config: {
location: "New York",
locationID: "5128581", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "YOUR_OPENWEATHER_API_KEY"
}
},
{
//module: "newsfeed",
module: "",
position: "bottom_bar",
config: {
feeds: [
{
title: "New York Times",
url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
}
],
showSourceTitle: true,
showPublishDate: true
}
},
{
module: 'MMM-Jeedom',
header: 'Jeedom Maison',
position: "top_left",
config: {
updateInterval: 3000,
jeedomAPIKey: "Api_Jeedom",
jeedomURL: "192.168.0.17 ou NDD OVH",
jeedomPORT: 443 ou 80 si ip interne,
jeedomHTTPS: true ou false si ip interne,
jeedomAPIPath: "/core/api/jeeApi.php",
sensors: [
{
idx: "647",
symbol: "fa thermometer-full",
customTitle: "Temperature Chambre parents",
unit : "Watt",
},
{
idx: "641",
symbol: "fa fa-thermometer-full",
customTitle: "Temperature Chambre enfants",
unit : "C°",
},
{
idx: "67",
symbol: "fa fa-thermometer-full",
customTitle: "Temperature Salon",
unit : "C°",
},
{
idx: "461",
symbolon: "fa fa-user",
symboloff: "fa fa-user-o",
customTitle: "Vincent",
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;}
Merci d'avance pour vos retour.