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

    Posts

    Recent Best Controversial
    • RE: oneweathermap

      @ray I’m really sorry, I’ve got things wrong.

      I’m not sure why, but I thought you meant that you were using the Open Weather Map configuration for the default weather module, which is what I’m doing. At least that explains why our experiences don’t match up.

      Sorry :confounded_face:

      posted in Troubleshooting
      TipponT
      Tippon
    • RE: Multiple instances

      @elmago What is it that you want to do exactly?

      As @sdetweil says, only one instance can be on the screen at a time. Are you trying to run one on the screen and access another one remotely? If you are, this may help.

      I’ve got two instances running, and they have different modules and a different port. The ‘standard’ MM instance uses the mm.sh that’s generated from @sdetweil’s script:

      cd ./MagicMirror
      DISPLAY=:0 npm start
      

      while my second instance runs as a server, and doesn’t display on the Pi’s screen. My second instance is in the MagicMirror2 folder and uses this script:

      cd ./MagicMirror2
      DISPLAY=:0 npm run server
      

      I use a separate .sh script, but someone more knowledgeable could probably combine them. The first section of the config.js lets you define which port you want MM to use, so I changed it on the one I wanted to view remotely.

      var config = 
      {
        address: '0.0.0.0',
        port: 12345,
        ipWhitelist: [
          '127.0.0.1',
          '::ffff:127.0.0.1',
          '::1',
          '::ffff:192.168.0.1/120',
          '192.168.0.1/24'
        ],
      
      posted in Tutorials
      TipponT
      Tippon
    • RE: oneweathermap

      @ray said in oneweathermap:

      @tippon unfortunately, I have the newer version so location ID is no longer there just coordinate

      I’ve got the up to date version too. You can put the locationID in yourself. This is the config for one of my weather modules, with my personal data removed:

          {
            module: 'weather',
            position: 'top_right',
            config: {
      		weatherProvider: 'openweathermap',
                      type: 'current',
      		apiKey: "xxxxxxxxxxxxxxxxx",
      		locationID: 1234567
      		}
          },
      

      As you can see, I’ve removed the coordinates lines and added in the locationID line instead.

      You can use the options from the documentation here to change the config to suit your needs:

      https://docs.magicmirror.builders/modules/weather.html#configuration-options

      posted in Troubleshooting
      TipponT
      Tippon
    • RE: oneweathermap

      @ray Try just using the location ID and see if it’s more accurate. I’m pretty sure I had problems when I tried to use both.

      You can comment out the coordinate lines by putting // in front of them, so you don’t have to delete and retype them :)

      posted in Troubleshooting
      TipponT
      Tippon
    • RE: oneweathermap

      @ray Hi Ray :)

      Try changing your weather location in the config file. Instead of using the latitude and longitude, try using locationID and using the value from the Open Weather Map site for your area here (from the end of the url):

      https://openweathermap.org/city/5406990

      So in your case it would be

      locationID: 5406990
      

      I found that this worked for me when the latitude and longitude didn’t :)

      posted in Troubleshooting
      TipponT
      Tippon
    • RE: Exact matches for phrases in config.js?

      @lavolp3 @sdetweil Thanks for the replies, it worked perfectly! :)

      I tried a space before and after ‘live’, and both at once. I made a separate entry for ‘delivery’ too, and put it after the ‘live’ line. The ‘delivery’ line wasn’t necessary, but I tried it as an override (which didn’t work), and liked the way it looked :D

      {keyword: 'live ', symbol: 'music', color: 'Aqua'},
      {keyword: 'delivery', symbol: 'truck', color: 'GreenYellow'},
      
      posted in Troubleshooting
      TipponT
      Tippon
    • Exact matches for phrases in config.js?

      I recently updated my default calendar module to use colours and symbols for repeating events, using the customEvents option from here:

      https://docs.magicmirror.builders/modules/calendar.html#configuration-options

      but I’ve since found out that if the keyword is part of another word, the second word triggers the custom colour and symbol too. As an example, I’ve used ‘live’ for live music events, but ‘delivery’ triggers the same colour and symbol.

      Does anyone know the correct term for this so that I can try to figure it out please? I can only find answers for creating the Javascript in the first place, but I want a way to limit the term from my config.js, if that’s possible.

      posted in Troubleshooting
      TipponT
      Tippon
    • RE: Which camera feed module?

      @bravooscar That looks great, thanks :)

      posted in General Discussion
      TipponT
      Tippon
    • Which camera feed module?

      Hi all :)

      I’m looking to add a camera feed to my mirror to display a live stream from at least two IP cameras. I’ve got the two existing cameras set up to stream an RTSP feed, but I’m not sure which is the best way to get the feeds to my mirror.

      MMM-RTSPStream seems to be abandoned, and there are a few posts here already saying that MM updates are breaking functionality, so I want to avoid that.

      MMM-SmartWebDisplay looks good, and so does MMM-MotionEye, but I was wondering if anyone has any experience with them before I start.

      posted in General Discussion
      TipponT
      Tippon
    • RE: Documentation Suggestion

      @sdetweil Thank you for the advice :)

      Thank you too for being patient with me. I’m finding that I’m struggling more than usual recently when I try to learn something new, and you’ve been very helpful with your replies to my questions :)

      posted in General Discussion
      TipponT
      Tippon
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 3 / 6