MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. yomm
    Y
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 10
    • Best 1
    • Controversial 0
    • Groups 0

    yomm

    @yomm

    1
    Reputation
    737
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    yomm Unfollow Follow

    Best posts made by yomm

    • RE: MMM-Lunartic

      I got this… its all in the css.

      posted in Education
      Y
      yomm

    Latest posts made by yomm

    • RE: MMM-Lunartic

      I got this… its all in the css.

      posted in Education
      Y
      yomm
    • RE: MMM-Lunartic

      Hello,

      Thanks a lot for your work on this addon.
      I would like to hide the information about the distance to get just the image. I read carefully the README but I cannot find this configu trick.
      Could you please tell me how ?

      Here is my conf :

                     {
                              disabled: false,
                              module: 'MMM-Lunartic',
                              position: 'top_center', // Best in left, center, or right regions
                              classes: 'scheduler',
                              config: {
                                      module_schedule: {from: '0 21 * * *', to: '0 8 * * *' },
                                      mode: "rotating", // rotating or static
                                      image: "current", // animation, current, DayNight or static
                                      distance: "km", // miles or km
                                      sounds: "no", // howling wolf, only on a full moon
                                      useHeader: false, // true if you want a header
                                      /* header: "The Lunartic is in my head", // Any text you want*/
                                      maxWidth: "200px",
                                      animationSpeed: 10,
                                      rotateInterval: 15000,
                              }
                      },
      

      Thanks for advance.

      posted in Education
      Y
      yomm
    • RE: MMM-NOAA - Another Weather Module

      It looks much better 🙂

      posted in System
      Y
      yomm
    • RE: MMM-NOAA - Another Weather Module

      Hello,

      First of all, thanks for your work.
      I did have the same issue that @gashion had. I read your comment, it fix it !
      But… to be honnest I really prefer the v1 look and feel. So is there a way to revert change and stay back in the v1 version ?

      posted in System
      Y
      yomm
    • RE: MMM-Domoticz : update time ?

      After 6 days, It works perfectly. Thanks you guys !

      To summarize you have to :

      • Change line 56 from
      this.scheduleUpdate(this.config.initialLoadDelay);
      

      to

      this.scheduleUpdate(this.config.updateInterval)
      
      • Change line 169 from
      setTimeout(function() {
      

      to

      setInterval(function() {
      
      • Optionnal, you can adjust timers at lines 13, 14 and 19

      Have fun 🙂

      posted in Development
      Y
      yomm
    • RE: MMM-Domoticz : update time ?

      Hi,

      I try your solution and also change updateInterval from 5000 to 2000.

      I let you know…

      Thanks!

      posted in Development
      Y
      yomm
    • RE: Calendar module width limit

      Thank you ninjjabreadman !

      Exactly what I need !

      .module.MMM-MyCalendar {
      max-width: 300px; 
      }
      
      posted in Bug Hunt
      Y
      yomm
    • Calendar module width limit

      Hello all !

      My installation is on a rpi3. My mirror/screen is a 20’ with a 1650*1050 resolution. MM² and modules are up to date.

      I use Calendar module for a while, his position on the mirror is top_left.

      Recently I add some other calendars with some long name meetings.
      I got a strange behavior : the calendar module expands from the left of the screen to the middle. This happens when long name event are schedule.
      I tried MyCalendar module which is based on Calendar. Same thing happens.

      So is there a way to limit the width of the calendar module to prevent it spreading on the half of the screen ?

      Thanks for your help !

      posted in Bug Hunt
      Y
      yomm
    • RE: MMM-Domoticz : update time ?

      Thankj@strawberry-3.141 said in MMM-Domoticz : update time ?:

      @yomm not sure what files your loading there, but insufficient ressources could be a memory issue.

      Thanks you for your reply.

      The file is this one : https://github.com/M-Arvidsson/MMM-domoticz/blob/master/domoticz.js
      I am very interested by this module but without auto-refresh, it’s quite useless.
      So I installed the module, read your post, read the nodejs doc and just change the function as you mentioned (setTimeout --> setInterval).

      For @djam it seems to be working. On my side, the module is loaded but it doesn’t display anything and send a lot of log like I previously show you.
      My MM(²) is runing on a raspberry pi 2. If I understand what you said, it means that the rpi2 is runing low memory ?
      When i check (free -m) it’s always about 450-480MB free with setTimeout or setInterval.
      I could try on a rpi3 but as far as I know rpi2 and 3 both have 1GB RAM.

      Could you help me please ?

      posted in Development
      Y
      yomm
    • RE: MMM-Domoticz : update time ?

      @strawberry-3.141
      Hi,
      I tried to use setInterval but it doesn’t work for me.
      Here is the message on the console :

      domoticz.js:136 GET http://192.168.0.33:8080/json.htm?type=devices&rid=666 net::ERR8INSUFFICIENT_RESOURCES 
      domoticz.js:131 domoticz: Could not load data.
      domoRequest.onreadystatechange @ domoticz.js:131
      Did not load data
      

      Any idea please ?

      posted in Development
      Y
      yomm