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

    Posts

    Recent Best Controversial
    • RE: [MMM-JaST] Just another Stock Ticker (new: version 2.x)

      Hi @Jalibu - first, thanks for the great module and all the effort to help.

      I was playing with the Depot feature and added all the quantities. It functions correctly, providing me with the current value based on the current market price of the stock. Now I’m wondering if is there a way to calculate the price gain since purchase, similar to the example provided?

      Is it possible to add the purchase price next to the quantity, so that the price gain or loss can be automatically calculated based on the current price?

      f081915f-8d3a-4338-bd3d-d5990238c801-image.png

      Best regards from Berlin

      -Manuel

      posted in Utilities
      MZ-BERM
      MZ-BER
    • RE: MMM-TwitterLists

      @mattkab Fantastic! Thank you very much for putting that together. Will test that later the day.

      posted in Utilities
      MZ-BERM
      MZ-BER
    • ChatGPT is creating Modules

      Hey there - just tested ChatGPT from OpenAI to create a module for the MM. The first lines of the description are looking very promising :astonished_face: . Unfortunately, I’m getting a timeout in ChatGPT because of limited network capacity. Hope they will get back soon to test that more in detail.

      Anyone else experience with ChatGPT?

      27153771-2a45-43b8-b12d-5dab7c9a3f2f-image.png

      posted in Development
      MZ-BERM
      MZ-BER
    • RE: MMM-Multimonth

      Thank you! Is there also an option to disable it or can I only hide that via css?

      posted in Utilities
      MZ-BERM
      MZ-BER
    • RE: Magic(Dashboard)Mirror

      Hello there - I finally got it to upload. I added the files (config.js, custom.css and main.css) to my Github. You can find it here:
      https://github.com/mazim-co/Dashboard-Backup

      NOTES:

      1.) I removed all sensible information like API Keys and Access Tokens in the config.js. So, you have to follow the steps from each module (if requried) to get your own credentials.

      2.) To get the same UI as my dasboard you have to replace the original main.css with my main.css.

      3.) If you change the main.css you’ll get a notification every quarter as soon as MagicMirror will be updated. Because it will have a conflict with the original file. To inititate the MagicMirror update you can do a git reset --hard and replace the main.css again afterwards.

      4.) The custom.css is designed in portrait mode for a 27 inch screen (LG 27MP89HM-S)

      5.) For some modules you have to install valid-url and rrule-alt (e.g. MMM-MyCalendar).
      For example:

      cd MagicMirror/modules/MMM-MyCalendar
      npm install valid-url
      npm install rrule-alt
      

      Good Luck! :beaming_face_with_smiling_eyes:

      posted in Show your Mirror
      MZ-BERM
      MZ-BER
    • RE: MMM-Todoist scrolling list (Marquee)

      Quick update on this. Maybe someone else is looking for a similar way to automatically scroll through the list. You can added following code to the custom.css file:

      /* MMM-Todoist Scrolling Animation */
      .MMM-Todoist .divTable {
             white-space: nowrap;
             overflow: hidden;
             height:150px;   /* increase or decrease the height of the scrolling area*/
             box-sizing: border-box;
      }
      
      .MMM-Todoist .divTable div {
             -webkit-animation: divTable 25s linear infinite alternate;   /* adjust the seconds for the scrolling speed */
      }
      
      @-webkit-keyframes divTable {
            0% { -webkit-transform: translateY(5%); }
          100% { -webkit-transform: translateY(-70%); }
      }
      

      So the shopping or ToDo list is scrolling from the top to the bottom and back to the top again. Here an example: http://jsfiddle.net/51d4umwo/1/

      posted in Development
      MZ-BERM
      MZ-BER
    • RE: MMM-MyVolvo

      @MMRIZE Thank you!!

      posted in Transport
      MZ-BERM
      MZ-BER
    • RE: Magic(Dashboard)Mirror

      Hey everyone! Since last July I updated the Dashboard a bit and added new modules. If you are interested in the config.js and custom.css, I’ll upload the files on github later this week. So you can get in advantage of it.

      Here some pics from the most recent dashboard.

      d4.jpg D1.jpg d2.jpg d3.jpg
      posted in Show your Mirror
      MZ-BERM
      MZ-BER
    • RE: MMM-MyVolvo

      @JerryP Hey! Yes, it is the license plate. Give me a moment I’ll see if I can find the right regex pattern for Netherlands plates.

      EDIT:

      I updated the regex pattern. It should work now for Netherlands and Sweden.
      Just do a git pull.

      posted in Transport
      MZ-BERM
      MZ-BER
    • MMM-MyVolvo

      Hello there - I updated and redesigned a module. :raising_hands:

      The module retrieves informations from your Volvo vehicle through the Volvo Cars API.
      Have a look on my github repository to see all details: MMM-MyVolvo

      4609aff1-5c54-4cfa-b926-78075e13159f-image.png

      Notes:

      • The module is build on the initial module from eouia (archived).
      • I removed the maps functionality and replaced it with a placeholder for your Volvo Image.
      • It only works for Volvos with a German License Plate (More countries will follow soon).
      • Since the community of Volvo owners with a MagicMirror is small, I wasn’t able to test that in detail. There could be the possibility of bugs.
      • I’m a developer beginner and just started to learn programming. I might not be able to help you with all issues.
      posted in Transport
      MZ-BERM
      MZ-BER
    • RE: Volvo on Call

      @strawberry-3-141 True! Good catch! So I guess every variation can also have an E at the end. Do you know if there is a whitespace between the last digit and the E? If it is without a space, this will work:

      ^([A-Z]{1,3}-[A-Z]{1,2}\s[0-9,E]{1,5})\s([\w\s]+)\:\s(.+)$

      posted in Troubleshooting
      MZ-BERM
      MZ-BER
    • RE: Volvo on Call

      @sdetweil said in Volvo on Call:

      German Number Plates can have the following format:

      ABC-D 123
      
      ABC-DE 12 
      
      AB-C 123 
      
      A-BC 1234
      

      I’m using this regex to get the variations: ^([A-Z]{1,3}-[A-Z]{1,2}\s[0-9]{1,4})\s([\w\s]+)\:\s(.+)$

      posted in Troubleshooting
      MZ-BERM
      MZ-BER
    • RE: Volvo on Call

      I got it to work! Finally.

      The whole problem was my licence plate. The regular expression wasn’t able to grab the right groups. Thank you @sdetweil for helping me to investigate.

      posted in Troubleshooting
      MZ-BERM
      MZ-BER
    • RE: Volvo on Call

      @sdetweil Yes, I guess voc list should work. But really quick to voc dashboard

      That is the list I’m getting

      B-PY 186 Position             : (52.55352783203125, 13.4XXXXXXXXXX6, '2022-03-06 20:20:32+01:00', None, None)
      B-PY 186 Door lock            : Locked
      B-PY 186 Heater               : Off
      B-PY 186 Odometer             : 34484 km
      B-PY 186 Trip meter 1         : 131 km
      B-PY 186 Trip meter 2         : 1 km
      B-PY 186 Fuel amount          : 40 L
      B-PY 186 Fuel level           : 72 %
      B-PY 186 Fuel consumption     : 9.9 L/100 km
      B-PY 186 Range                : 440 km
      B-PY 186 Average speed        : 31 km/h
      B-PY 186 Last trip            : 2022-03-06 20:20:32+01:00
      B-PY 186 Engine               : On
      B-PY 186 Door lock            : On
      B-PY 186 Hood                 : Closed
      B-PY 186 Tailgate             : Closed
      B-PY 186 Front left door      : Closed
      B-PY 186 Front right door     : Closed
      B-PY 186 Rear left door       : Closed
      B-PY 186 Rear right door      : Closed
      B-PY 186 Front left window    : Closed
      B-PY 186 Front right window   : Closed
      B-PY 186 Rear left window     : Closed
      B-PY 186 Rear right window    : Closed
      B-PY 186 Front right tyre     : OK
      B-PY 186 Front left tyre      : OK
      B-PY 186 Rear right tyre      : OK
      B-PY 186 Rear left tyre       : OK
      B-PY 186 Washer fluid         : OK
      B-PY 186 Brake Fluid          : OK
      B-PY 186 Service              : OK
      B-PY 186 Bulbs                : OK
      B-PY 186 Doors                : Closed
      B-PY 186 Windows              : Closed
      

      With the regular expression /^([^\s]+)\s([\w\s]+)\:\s(.+)$/gm it is not perfectly matching the groups:

      32a5261a-5834-40ce-acec-4775b24fca0a-image.png

      B-PY 186 should be always in group 1. Do you have an idea to adjust the expression?

      posted in Troubleshooting
      MZ-BERM
      MZ-BER
    • RE: Volvo on Call

      @sdetweil Right! And I guess it is doing so? Or am I wrong? b5cae454-af0f-4887-abbb-bd6117d3fe82-image.png

      posted in Troubleshooting
      MZ-BERM
      MZ-BER
    • RE: Volvo on Call

      @sdetweil Your one is not working. Here are the details I try to get:

      B-PY 186 (V90/2019) YV1PWAKUDK1XXXXXX

      I also played a bit with the expression and removed the white space:

      before:

      listResult: function(output) {
          var re = /^([^ ]+)\s\(([^\)]+)\)\s([^ ]+)$/gm
      

      after:

      listResult: function(output) {
          var re = /^([^]+)\s\(([^\)]+)\)\s([^]+)$/gm
      

      That is working based on regex101 and I dont get the error anymore. But nothing is loaded into the MM

      posted in Troubleshooting
      MZ-BERM
      MZ-BER
    • RE: New PIR sensor problem

      @freddy_boy you missed to install the second extension. I had the same problem.

      posted in Troubleshooting
      MZ-BERM
      MZ-BER
    • RE: Volvo on Call

      @sdetweil Yes, I also checked that with regex101. Can I just parse in the details I have?

      listResult: function(output) {
          var re = B-PY 186 (V90) XVASS123345
      
      posted in Troubleshooting
      MZ-BERM
      MZ-BER
    • RE: Volvo on Call

      @sdetweil Alright, I added the console.log before the call listResult() and it is getting the details from my car. I feel sooo close to get this running but I dont know where it is stuck. :anguished_face:

      91d24ae5-cc19-4460-8dca-fae88fc947e2-image.png

      Is maybe the regex search not getting the details viewed?

      listResult: function(output) {
          var re = /^([^ ]+)\s\(([^\)]+)\)\s([^ ]+)$/gm
      
      posted in Troubleshooting
      MZ-BERM
      MZ-BER
    • RE: Volvo on Call

      @sdetweil Thank you for the explanation. Is the function executing voc list in the terminal? If I’m doing manually voc list I’m getting a result.

      Is there a way to see what the script is getting back in detail?

      Again, thank you very much!

      posted in Troubleshooting
      MZ-BERM
      MZ-BER
    • 1
    • 2
    • 3
    • 4
    • 5
    • 2 / 5