MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. ELMAGO
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    E
    Offline
    • Profile
    • Following 2
    • Followers 4
    • Topics 17
    • Posts 121
    • Groups 0

    ELMAGO

    @ELMAGO

    14
    Reputation
    478
    Profile views
    121
    Posts
    4
    Followers
    2
    Following
    Joined
    Last Online

    ELMAGO Unfollow Follow

    Best posts made by ELMAGO

    • My First

      Bonjour à tous,

      voici mon debut de présentation.
      Je n’en suis qu’a la phase de programmation.
      Pour le moment, sont installé :

      clock
      currentweather
      MMM-Jeedom
      weatherforecast
      newsfeed
      MMM-Spotify (Merci @Sean)

      0_1575565256618_b95e3944-556e-41da-8fe2-64233d722823-image.png

      What do you think ?

      posted in Show your Mirror
      E
      ELMAGO
    • RE: Multiple instances

      @tippon

      Hello

      I did like you and it works perfectly.

      Thank you so much.

      posted in Tutorials
      E
      ELMAGO
    • RE: My First

      @leroyhab said in My First:

      Question subsidiaire : Quel type de miroir envisages-tu d’utiliser ?

      Bonjour

      J’ai mis un plexy avec un film sans tain, voici le résultat :

      0_1575883433230_a0c4155c-e89c-497b-b776-43fd4378e906-image.png

      posted in Show your Mirror
      E
      ELMAGO
    • RE: MMM-VigiCrues

      Hello

      it’s a great module, I live by the Seine and I watch this module every day.

      Thanks to you @grena

      posted in Utilities
      E
      ELMAGO
    • RE: MMM dumpsterday

      @deanonoire

      Great. no problem, you are already doing a lot and it is not urgent.
      I was just wondering if somebody’s enthusiasm hadn’t demoralized you.
      thank you.

      posted in Requests
      E
      ELMAGO
    • RE: My First

      @seramik

      J’en ferais que je le peindrai.

      Voici quelques photos de la construction :

      alt text
      alt text
      alt text
      alt text

      Changement du module METEO :

      alt text

      Bonne journée

      posted in Show your Mirror
      E
      ELMAGO
    • RE: JSON request module

      @wishmaster270

      Re Goodnight

      It’s awesome, it’s exactly what I wanted.

      Thank you so much.

      b3cb1a61-c845-4689-91a3-53944fca4ee8-image.png

      posted in Requests
      E
      ELMAGO
    • RE: My First

      @seramik

      Voici la photo de l’arrière :

      0_1576261332399_015f0118-438d-4210-b7ac-32659a634b35-image.png

      J’ai encore l’alimentation a revoir.

      posted in Show your Mirror
      E
      ELMAGO
    • RE: RTE EcoWatt

      @bugsounet

      Great !
      I am waiting to see.

      PS: I love your signature

      posted in Requests
      E
      ELMAGO
    • RE: My First

      @chassain-0

      L écran a changé depuis
      alt text

      Oui tu peux mais j’utilise jeedom uniquement pour avoir certaines info en box domotique je ne sais pas ce qu’elle vaut je suis plutôt fibaro.

      posted in Show your Mirror
      E
      ELMAGO

    Latest posts made by ELMAGO

    • CSS module MMM-homeassistant-sensors

      Hello everyone,

      I would like the values ​​displayed as on the modules above, aligned to the right :

      6131e27f-8af3-4e24-af6b-492f2aaf0440-image.png

      I’m bad at css, and I need your help.

      Thanks to you

      posted in Troubleshooting
      E
      ELMAGO
    • Vigicrue Data not up to date

      Re: MMM-VigiCrues

      Hello @grena,

      The data is no longer updated.
      What should I do ?

      posted in Utilities
      E
      ELMAGO
    • mmm-vigicrue

      Re: MMM-VigiCrues

      @grena

      Bonjour

      depuis quelques jours le graphique ne se mets plus à jour.

      63182a97-50ba-4fa7-a4b4-1cc94575732e-image.png

      voici ma conf :

      // VIGICRUE
      
      
      		{
      		module: "MMM-VigiCrues",
      		position: "top_left",
      		header: "Vigicrue",
      		config: {
      			stationid: "H505012001", // Station identifer (www.vigicrues.gouv.fr)
      			dataPeriod: 1440,
      			dataInterval : 30,
      			alertTable: 	[
      					{ "value": 9210, "title": "Crue 2016", "color": "yellow" },
      					{ "value": 9640, "title": "Crue 2020", "color": "red" }, 
      					]
      		}
      		},
      
      

      Que dois-je faire ?

      posted in Utilities
      E
      ELMAGO
    • RE: JSON request module

      @wishmaster270

      ok, i test

      posted in Requests
      E
      ELMAGO
    • RE: JSON request module

      @wishmaster270

      good morning

      I don’t mind doing it by hand if you explain to me what I need to change

      posted in Requests
      E
      ELMAGO
    • RE: JSON request module

      Hi @wishmaster270

      I come back here, it will be simpler.

      My code is:

      //INFORMATION HOMEY EUFY
      
      {
         module: "MMM-CommandToNotification",
         disabled: false,
         config: {
          updateInterval: 300,
          commands: [
           
      
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/ETATEUFY",
                 timeout: 1000,
      			
                 notifications: [
                  "ETATEUFY",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/CAMSALLE",
                 timeout: 1000,
      			
                 notifications: [
                  "CAMSALLE",
                  ],
                },
      
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/CAMPALIER",
                 timeout: 1000,
      			
                 notifications: [
                  "CAMPALIER",
                  ],
                },
      
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/CAMARRIERE",
                 timeout: 1000,
      			
                 notifications: [
                  "CAMARRIERE",
                  ],
                },
      
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/CAMGARAGE",
                 timeout: 1000,
      			
                 notifications: [
                  "CAMGARAGE",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/CAMGAUCHE",
                 timeout: 1000,
      			
                 notifications: [
                  "CAMGAUCHE",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/CAMAVANT",
                 timeout: 1000,
      			
                 notifications: [
                  "CAMAVANT",
                  ],
                },
      {
            script: "/usr/bin/curl",
            args: "-s  http://192.168.100.244:3000/TEMPSALLE",
            timeout: 1000,
            notifications: [
             "TEMPSALLE",
             ],
           },
      
           {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/TEMPBUREAU",
                 timeout: 1000,
                 notifications: [
                  "TEMPBUREAU",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/TEMPCHELENA",
                 timeout: 1000,
                 notifications: [
                  "TEMPCHELENA",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/TEMPCHLOUCA",
                 timeout: 1000,
                 notifications: [
                  "TEMPCHLOUCA",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/TEMPCHALAN",
                 timeout: 1000,
                 notifications: [
                  "TEMPCHALAN",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/TEMPCHPARENT",
                 timeout: 1000,
                 notifications: [
                  "TEMPCHPARENT",
                  ],
                },
      {
            	script: "/usr/bin/curl",
            	args: "-s  http://192.168.100.244:3000/AUTBATTMEGANE",
            	timeout: 1000,
            	notifications: [
             	"AUTBATTMEGANE",
             	  ],
           		},
      
           {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/BATTMEGANE",
                 timeout: 1000,
                 notifications: [
                  "BATTMEGANE",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/PLUGMEGANE",
                 timeout: 1000,
      			
                 notifications: [
                  "PLUGMEGANE",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/CHARGEMEGANE",
                 timeout: 1000,
      			
                 notifications: [
                  "CHARGEMEGANE",
                  ],
                },
      
           ]
         },
        },
      

      So I think it launches all requests at the same time, because my server which must answer crashes.

      I wanted to split it like this:

      //INFORMATION HOMEY EUFY
      
      {
         module: "MMM-CommandToNotification",
         disabled: false,
         config: {
          updateInterval: 300,
          commands: [
           
      
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/ETATEUFY",
                 timeout: 1000,
      			
                 notifications: [
                  "ETATEUFY",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/CAMSALLE",
                 timeout: 1000,
      			
                 notifications: [
                  "CAMSALLE",
                  ],
                },
      
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/CAMPALIER",
                 timeout: 1000,
      			
                 notifications: [
                  "CAMPALIER",
                  ],
                },
      
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/CAMARRIERE",
                 timeout: 1000,
      			
                 notifications: [
                  "CAMARRIERE",
                  ],
                },
      
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/CAMGARAGE",
                 timeout: 1000,
      			
                 notifications: [
                  "CAMGARAGE",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/CAMGAUCHE",
                 timeout: 1000,
      			
                 notifications: [
                  "CAMGAUCHE",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/CAMAVANT",
                 timeout: 1000,
      			
                 notifications: [
                  "CAMAVANT",
                  ],
                },
           ]
         },
        },
      
      
      

      and

      //INFORMATION HOMEY EUFY
      
      {
         module: "MMM-CommandToNotification",
         disabled: false,
         config: {
          updateInterval: 300,
          commands: [
           
      
      
      {
            script: "/usr/bin/curl",
            args: "-s  http://192.168.100.244:3000/TEMPSALLE",
            timeout: 1000,
            notifications: [
             "TEMPSALLE",
             ],
           },
      
           {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/TEMPBUREAU",
                 timeout: 1000,
                 notifications: [
                  "TEMPBUREAU",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/TEMPCHELENA",
                 timeout: 1000,
                 notifications: [
                  "TEMPCHELENA",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/TEMPCHLOUCA",
                 timeout: 1000,
                 notifications: [
                  "TEMPCHLOUCA",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/TEMPCHALAN",
                 timeout: 1000,
                 notifications: [
                  "TEMPCHALAN",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/TEMPCHPARENT",
                 timeout: 1000,
                 notifications: [
                  "TEMPCHPARENT",
                  ],
                },
      
      
           ]
         },
        },
      
      
      

      and :

      //INFORMATION HOMEY EUFY
      
      {
         module: "MMM-CommandToNotification",
         disabled: false,
         config: {
          updateInterval: 300,
          commands: [
           
      
      
      
      {
            	script: "/usr/bin/curl",
            	args: "-s  http://192.168.100.244:3000/AUTBATTMEGANE",
            	timeout: 1000,
            	notifications: [
             	"AUTBATTMEGANE",
             	  ],
           		},
      
           {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/BATTMEGANE",
                 timeout: 1000,
                 notifications: [
                  "BATTMEGANE",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/PLUGMEGANE",
                 timeout: 1000,
      			
                 notifications: [
                  "PLUGMEGANE",
                  ],
                },
      {
                 script: "/usr/bin/curl",
                 args: "-s  http://192.168.100.244:3000/CHARGEMEGANE",
                 timeout: 1000,
      			
                 notifications: [
                  "CHARGEMEGANE",
                  ],
                },
      
           ]
         },
        },
      
      
      

      But it doesn’t work, only the last element appears.

      posted in Requests
      E
      ELMAGO
    • RE: RTE EcoWatt

      @bugsounet
      OK mais c’est troublant

      posted in Requests
      E
      ELMAGO
    • RE: RTE EcoWatt

      @bugsounet

      Salut Bugsounet,

      je ne sais pas comment est généré la date mais il y a visiblement un problème, nous sommes le mercredi 14 décembre et il est 20h33…et c’est le match :)

      9167a5f5-d9d9-40a8-bb4b-77d839b1c537-image.png

      Bonne soirée

      posted in Requests
      E
      ELMAGO
    • RE: JSON request module

      @wishmaster270

      good evening,

      I tested the replace function:

      {
      		module: "MMM-ValuesByNotification",
      		position: "top_right",
      		header: "INFORMATION MÉGANE",
      		config: {
      			updateInterval: 300,
      			reuseCount: 100,
      			addClassesRecursive: true,
      			valueFormat: "\"${value}\".replace(\"false\",\"Non\").replace(\"true\",\"Oui\")",
      			groups: [
      				{
      					items: [
      						
      						{
      							notification: "AUTBATTMEGANE",
      							itemTitle: "Autonomie  ",
      							values: [
      								{
      									valueUnit: " Km",
      									valueFormat: "Number(${value}).toFixed(2)",
      									jsonpath: "data",
      								},
      							]
      						},
      						{
      							notification: "BATTMEGANE",
      							itemTitle: "Charge batterie  ",
      							values: [
      								{
      									valueUnit: " %",
      									valueFormat: "Number(${value}).toFixed(2)",
      									jsonpath: "data",
      								},
      							]
      						},
      						{
      							notification: "PLUGMEGANE",
      							itemTitle: "Voirture branchée ",
      							classes: "withIcons",
      							valueFormat: "\"${value}\".replace(\"false\",\"Non\").replace(\"true\",\"Oui\")",
      							values: [
      								{
      									
      									valueFormat: "Number(${value}).toFixed(2)",
      									jsonpath: "data",
      								},
      							]
      						},
      						
      					]
      				},
      			]
      		},
      	},
      
      
      

      But unfortunately it doesn’t work.

      504f3bb6-cb32-49fa-97b6-c872e2b1aa31-image.png

      Would you know why?

      Thanks

      posted in Requests
      E
      ELMAGO
    • RE: RTE EcoWatt

      @bugsounet

      Moi ça marche toujours nickel

      posted in Requests
      E
      ELMAGO