@selyjohns Oui une idée mais à la c…
j’essayerais d’indexer le tout :
Voici ton code modifié :
{
module: 'MMM-Jeedom',
header: 'Informations Maison',
position: "bottom_right",
config: {
updateInterval: 3000,
jeedomAPIKey: "XXX",
jeedomURL: "X.X.X.X",
jeedomPORT: 80,
jeedomHTTPS: false,
jeedomAPIPath: "/core/api/jeeApi.php",
sensors: [
{
idx: "473",
symbolon1: "fa fa-user-check",
symboloff1: "fa fa-user-times",
customTitle1: "Josselyn",
boolean1: true,
sameLine1 : true,
},
{
idx: "481",
symbolon2: "fa fa-user-check",
symboloff2: "fa fa-user-times",
customTitle2: "Stéphanie",
boolean2: true,
sameLine2 : true,
},
{
idx:"1183",
sameLine1: true,
unit : "°C",
},
{
idx:"1184",
customTitle: "Salon",
symbol: "fa fa-thermometer-half",
sameLine2: true,
unit : "%",
},
Et voici mon bout de code pour exemple :
sensors: [
{
idx: "778",
//customTitle: "Trajet 1 : ",
sameLine1: true,
unit : "min.",
},
{
idx: "777",
customTitle: "Trajet 1 : ",
sameLine2: true,
},
{
idx: "780",
//customTitle: "Trajet 2 : ",
sameLine1: true,
unit : "min.",
},
{
idx: "779",
customTitle: "Trajet 2 : ",
sameLine2: true,
},