Module Developers

You have developed a module for the MagicMirror? Join the group and get a "Module Developer" badge!

Private

Posts

  • RE: [ERROR] unable to write js/positions.js
    uname -m
    armv7l
    
    cat /etc/os-release 
    PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
    
    free -h
                   total        used        free      shared  buff/cache   available
    Mem:           425Mi       316Mi        99Mi       8.1Mi        67Mi       108Mi
    Swap:          732Mi       274Mi       457Mi
    
    swapon -s
    Filename				Type		Size		Used		Priority
    /var/swap                               file		204796		0		-2
    /dev/zram0                              partition	544892		299760		15
    
    zramctl 
    NAME       ALGORITHM DISKSIZE   DATA COMPR  TOTAL STREAMS MOUNTPOINT
    /dev/zram0 lz4         532.1M 292.7M 98.2M 101.8M       4 [SWAP]
    
    
    Jan 26 22:00:46 kid-mirror kernel: Out of memory: Killed process 23127 (WebKitWebProces) total-vm:1178000kB, anon-rss:184084kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:1044kB oom_score_adj:0
    
    posted in Troubleshooting
  • RE: [ERROR] unable to write js/positions.js

    Although it’s not related to your problem - I have a lot of trouble getting MM to run on the 512MB Pi3 A+.

    It freezes often - possibly it’s bad h/w or sd card although it all tests fine - but after several days of running and it ends up frozen and inaccessible. (ie can’t ssh to it, etc unless I restart it)

    I tried using some of the lower memory options instead of using electron without much success. It runs for a little longer but eventually still dies. None of my Pi3 B models with the 4GB RAM have had similar problems - so I tend to think it is something related to RAM

    Just to say that you may find the experience in running on the Pi 3 A+ to be “complicated”

    posted in Troubleshooting
  • RE: How to modify my MMM-CalendarExt3?

    Then use Ext3Agenda in the normal way vertical way.

    In any event, it sounds like you don’t want the month view - and Ext3 does have just a week view - so maybe it’s as simple as just using week view for you.

    Ext3Agenda supports calendars in the same way AFAIK as Ext3 - so I would expect if Ext3 works then Ext3Agenda also works

    posted in Custom CSS
  • RE: How to modify my MMM-CalendarExt3?

    I would try using Ext3Agenda version in horizontal layout - it is by the same author and it sounds like the Horizontal layout might be what you want

    https://github.com/MMRIZE/MMM-CalendarExt3Agenda

    https://github.com/MMRIZE/MMM-CalendarExt3Agenda/wiki/Horizontal-layout

    posted in Custom CSS
  • RE: MMM-CalendarExt3 only one calendar not updating

    Something even stranger - if I immediately refresh the page it also works. Here I mean is:

    npm run server
    got to browser and bring up host:8080
    calendar will say “Loading” for a very long time
    (despite the events getting broadcast)

    But if I :
    npm run server
    go to browser and bring up host:8080
    calender says “Loading”
    Refresh the page immediately
    calendar says “Loading”
    calendar will immediately show the events as soon as the events are broadcast

    posted in Troubleshooting
  • RE: MMM-CalendarExt3 only one calendar not updating

    I added various log outputs to node_helper.js and calendar.js

    node_helper is sending the socket notification for CALENDAR_EVENTS
    this is not received by the front end code in calendar.js

    I don’t know what happens to it, but I added logging to print out in calendar.js whenever the socketNotificationReceived handler is called and it doesn’t print.

    (unless I refresh the page - at which point it does)

    posted in Troubleshooting
  • RE: MMM-CalendarExt3 only one calendar not updating

    @sdetweil You mean fetchInterval: 5 * 60 * 1000?

    the calendar module doesn’t have refreshinterval does it?

    posted in Troubleshooting
  • RE: MMM-CalendarExt3 only one calendar not updating

    @sdetweil No errors in the console log

    If I wait long enough where this seems anywhere between 15min to an hour or more, they do appear without a manual refresh.

    maybe it’s a complexity issue - when I curl the calender link (it’s a google private ICS link) - the resulting file is 4.8MB - I imagine parsing that is somewhat time-consuming

    posted in Troubleshooting
  • RE: MMM-CalendarExt3 only one calendar not updating

    @sdetweil No, I’m stopped testing Ext3 and I am only testing the default calendar.

    it is not working - I see Loading... for some number of minutes or hours, I haven’t determined any consistency. This test run is now past 45 mins and it still says Loading… despite having broadcast the events 9 times:

    [2025-01-27 14:25:24.525] [LOG]   Starting MagicMirror: v2.31.0-develop 
    ...
    [2025-01-27 14:25:31.806] [LOG]   Create new calendarfetcher for URL ...
    [2025-01-27 14:26:21.083] [INFO]  Calendar-Fetcher: Broadcasting 22 events from ...
    [2025-01-27 14:32:08.812] [INFO]  Calendar-Fetcher: Broadcasting 22 events from ...
    [2025-01-27 14:37:55.863] [INFO]  Calendar-Fetcher: Broadcasting 22 events from
    [2025-01-27 14:43:42.948] [INFO]  Calendar-Fetcher: Broadcasting 22 events from
    [2025-01-27 14:49:30.144] [INFO]  Calendar-Fetcher: Broadcasting 22 events from 
    ...
    [2025-01-27 15:12:37.552] [INFO]  Calendar-Fetcher: Broadcasting 21 events from 
    

    still says Loading ... - if I refresh the browser page - then they all appear immediately

    posted in Troubleshooting
  • RE: MMM-CalendarExt3 only one calendar not updating

    I did yes - so the current test results are this

    The calendar did eventually appear - but it took quite some time - I wasn’t watching, so I don’t know when exactly - I’ll test again. But it was several minutes after the log output of “broadcasting 22 events”

    posted in Troubleshooting