MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Cliff365
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 14
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by Cliff365

    • RE: Calendar module not updating

      @sdetweil Thank you again! I’ll give it a try.

      posted in Troubleshooting
      Cliff365
      Cliff365
    • Calendar module not updating

      The code executes fine on startup. It also updates fine on another Pi3b also running on Wifi. Daily temperature updates just fine. So the question is two-fold. Is there something I can change so the events are updated as they change?

      Or alternatively, is it okay to plug the pi into a smart plug that cycles daily?

      {
      			module: "calendar",
      			header: "Upcoming Events",
      			position: "top_left",
      			config: {
      				fade: false,
      				displaySymbol: true,
      				MaxTitleLength: 30,
      				fetchInterval: 10000,
      				displayRepeatingCountTitle: false,
      				colored: true,
      				calendars: [
      					{
      						maximumNumberOfDays: 22,
      						symbol: "Cleaning",
      						color: "#00ffff",
      						url: "https://calendar.google.com/calendar/ical/3macalester%40gmail.com/private-69b6bd37705fa371daed31b164fac4fb/basic.ics"
      					},
      
      					{
      						symbol: "calendar-check",
      						symbol: "Home",
      						url: "https://calendar.google.com/calendar/ical/xxxxxx%40gmail.com/private-33242322e68764d9cdxxxxxxxx2/basic.ics"					
      					},
      					{
      						maximumNumberOfDays: 22,
      						symbol: "Jets",
      						color: "#FFFF00",
      						// blue is 0066CC
      						url: "http://sync.roktcalendar.com/webcal/bf459b5e-d2e6-"
      					},
      					{
      						maximumNumberOfDays: 22,
      						symbol: "holidays",
      						color: "#009900",
      						// blue is 0066CC
      						url:"https://calendar.google.com/calendar/ical/en.canadian%23holiday%40group.v.calendar.google.com/public/basic.ics"
      					}
      
      				]
      			}
      
      posted in Troubleshooting
      Cliff365
      Cliff365
    • RE: Schedule MM restart

      @sdetweil Thanks! I think I can manage that.

      posted in General Discussion
      Cliff365
      Cliff365
    • Schedule MM restart

      I’m having issues with a calendar module not updating. Is there a way to schedule a restart of MagicMirror? Something that would exit MM at 3am, and then pm2 would restart it.

      Thanks!

      posted in General Discussion
      Cliff365
      Cliff365
    • RE: Automatic Updates

      @sdetweil I did not know that was possible. Another thanks!

      posted in General Discussion
      Cliff365
      Cliff365
    • RE: Automatic Updates

      @sdetweil Thanks for the quick reply. I use your upgrade script and it is nothing short of amazing. I’ll take your advice and do updates with the script.

      The problem I constantly battle is pm2 is just a little aggressive on restarting MM, and it takes me many tries to finally do a ‘pm2 stop all’ so I can have a command line. I wish I knew how to increase the time for pm2 restarts.

      posted in General Discussion
      Cliff365
      Cliff365
    • Automatic Updates

      I’m running MagicMirror using pm2 if that matters. What I am looking for, if it’s possible, is some way to update MagicMirror and modules on startup. Is such a thing possible, or even desirable?

      posted in General Discussion
      Cliff365
      Cliff365
    • Looking to retrieve transit information for Winnipeg, Canada

      There is no module that addresses this city. There is an api available:
      api.winnipegtransit.com

      I have zero experience coding modules, but I have some outdated coding skills. Is there a transit module I might possibly use as a starting point? One that I could modify with my Winnipeg api?

      posted in General Discussion
      Cliff365
      Cliff365
    • RE: MM and UBUNTU. Made for each other.

      @sdetweil You are amazing! I wish I knew Linux as well I know Windows, but so it goes. Your suggestion worked! Thanks again!

      posted in General Discussion
      Cliff365
      Cliff365
    • RE: MM and UBUNTU. Made for each other.

      Thanks @sdetweil , I entered the lines, but I had a bit of a problem getting MM to not restart while I tried to capture the logs. Hope this provides some insight:

      0|MagicMirror  | Starting server on port 8080 ... 
      0|MagicMirror  | [17.12.2021 16:25.52.307] [LOG]   
      0|MagicMirror  | Server started ...
      0|MagicMirror  | [17.12.2021 16:25.52.312] [LOG]   
      0|MagicMirror  | Connecting socket for: updatenotification
      0|MagicMirror  | [17.12.2021 16:25.52.316] [LOG]   Sockets connected & modules started ...
      0|MagicMirror  | (electron:4583): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
      0|MagicMirror  | (electron:4583): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
      0|MagicMirror  | (electron:4583): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
      0|MagicMirror  | [4583:1217/162552.823896:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /tmp/dbus-rSguYNpjNi: Connection refused
      0|MagicMirror  | [4583:1217/162552.824839:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /tmp/dbus-rSguYNpjNi: Connection refused
      0|MagicMirror  | [17.12.2021 16:25.52.921] [LOG]   
      0|MagicMirror  | Launching application.
      0|MagicMirror  | [4583:1217/162553.058857:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /tmp/dbus-rSguYNpjNi: Connection refused
      0|MagicMirror  | [4613:1217/162553.640227:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
      0|MagicMirror  | [17.12.2021 16:26.01.616] [LOG]   
      0|MagicMirror  | Shutting down server...
      0|MagicMirror  | [17.12.2021 16:26.01.618] [LOG]   Stopping module helper: updatenotification
      PM2            | App [MagicMirror:0] exited with code [0] via signal [SIGINT]
      PM2            | App [MagicMirror:0] starting in -fork mode-
      PM2            | App [MagicMirror:0] online
      0|MagicMirror  | > magicmirror@2.17.1 start /home/cliff/MagicMirror
      0|MagicMirror  | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      0|MagicMirror  | [17.12.2021 16:26.06.425] [LOG]   
      0|MagicMirror  | Starting MagicMirror: v2.17.1
      0|MagicMirror  | [17.12.2021 16:26.06.446] [LOG]   
      0|MagicMirror  | Loading config ...
      0|MagicMirror  | [17.12.2021 16:26.06.466] [LOG]   
      0|MagicMirror  | Loading module helpers ...
      0|MagicMirror  | [17.12.2021 16:26.06.487] [LOG]   
      0|MagicMirror  | No helper found for module: alert.
      0|MagicMirror  | [17.12.2021 16:26.06.550] [LOG]   
      0|MagicMirror  | Initializing new module helper ...
      0|MagicMirror  | [17.12.2021 16:26.06.555] [LOG]   
      0|MagicMirror  | Module helper loaded: updatenotification
      0|MagicMirror  | [17.12.2021 16:26.06.559] [LOG]   No helper found for module: clock.
      0|MagicMirror  | [17.12.2021 16:26.06.563] [LOG]   All module helpers loaded.
      0|MagicMirror  | [17.12.2021 16:26.06.846] [LOG]   
      0|MagicMirror  | Starting server on port 8080 ... 
      0|MagicMirror  | [17.12.2021 16:26.06.895] [LOG]   
      0|MagicMirror  | Server started ...
      0|MagicMirror  | [17.12.2021 16:26.06.900] [LOG]   Connecting socket for: updatenotification
      0|MagicMirror  | [17.12.2021 16:26.06.905] [LOG]   Sockets connected & modules started ...
      0|MagicMirror  | (electron:4673): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
      0|MagicMirror  | (electron:4673): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
      0|MagicMirror  | (electron:4673): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
      0|MagicMirror  | [4673:1217/162607.415011:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /tmp/dbus-rSguYNpjNi: Connection refused
      0|MagicMirror  | [4673:1217/162607.415886:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /tmp/dbus-rSguYNpjNi: Connection refused
      0|MagicMirror  | [17.12.2021 16:26.07.530] [LOG]   
      0|MagicMirror  | Launching application.
      0|MagicMirror  | [4673:1217/162607.651240:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /tmp/dbus-rSguYNpjNi: Connection refused
      0|MagicMirror  | [4705:1217/162608.260106:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
      0|MagicMirror  | [17.12.2021 16:26.09.807] [LOG]   
      0|MagicMirror  | Shutting down server...
      0|MagicMirror  | [17.12.2021 16:26.09.811] [LOG]   Stopping module helper: updatenotification
      PM2            | App [MagicMirror:0] exited with code [0] via signal [SIGINT]
      PM2            | App [MagicMirror:0] starting in -fork mode-
      PM2            | App [MagicMirror:0] online
      0|MagicMirror  | > magicmirror@2.17.1 start /home/cliff/MagicMirror
      0|MagicMirror  | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      ^A0|MagicMirror  | [17.12.2021 16:26.14.742] [LOG]   
      0|MagicMirror  | Starting MagicMirror: v2.17.1
      0|MagicMirror  | [17.12.2021 16:26.14.762] [LOG]   
      0|MagicMirror  | Loading config ...
      0|MagicMirror  | [17.12.2021 16:26.14.779] [LOG]   
      0|MagicMirror  | Loading module helpers ...
      0|MagicMirror  | [17.12.2021 16:26.14.787] [LOG]   No helper found for module: alert.
      0|MagicMirror  | [17.12.2021 16:26.14.838] [LOG]   
      0|MagicMirror  | Initializing new module helper ...
      0|MagicMirror  | [17.12.2021 16:26.14.843] [LOG]   
      0|MagicMirror  | Module helper loaded: updatenotification
      0|MagicMirror  | [17.12.2021 16:26.14.848] [LOG]   No helper found for module: clock.
      0|MagicMirror  | [17.12.2021 16:26.14.851] [LOG]   All module helpers loaded.
      
      posted in General Discussion
      Cliff365
      Cliff365
    • 1
    • 2
    • 1 / 2