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

    Posts

    Recent Best Controversial
    • RE: MMM-MercedesMe

      @kar1507 do you have logs in console or from dev tools ?

      posted in Transport
      A
      ashishtank
    • RE: Multiple Modules of the Same Type, Change Width of One Instance Only

      @tylerj714 Id starts with 1 in MM, but it does not matter. You need to get actual id of the module you are targeting using dev tools.

      a2ebbd99-a2e8-4f18-8bfe-9f5ba88b9d50-image.png

      posted in Custom CSS
      A
      ashishtank
    • RE: Multiple Modules of the Same Type, Change Width of One Instance Only

      @tylerj714 if you are not changing the modules in config (including their order) frequently then you can use ID selector of css. Check the ID of the instance in dev tools you want to change and then use it in custom.css. i.e.

      #module_11_MMM-OpenWeatherMapForecast  {
        width: 500px;
      }
      

      here # is id selector or check if you can play with nth-of-type selector ( I could not get this working)

      posted in Custom CSS
      A
      ashishtank
    • RE: MMM-MercedesMe

      @kar1507 This module is for both electric and other type of cars if supported by MercedesMe Api. did you set the correct vehicle type and correct scope ? as indicated here ? https://github.com/ashishtank/MMM-MercedesMe/blob/main/README.md

      for non electric vehicle set the correct vehicle type and scope should be mb:vehicle:mbdata:vehiclestatus offline_access also instead of elecrtic vehicle you need to subscribe to vehicle status in mercedes portal

      1c137b35-aea8-4ee4-9c65-85840c392595-image.png

      posted in Transport
      A
      ashishtank
    • RE: MMM-MercedesMe

      @kar1507 Sorry for the inconvenience and thanks for pointing out the issue. I will correct it in the documentation, it must be a typo as we tested this multiple times.

      posted in Transport
      A
      ashishtank
    • RE: YouTube Subscriber Counter

      @owain1988
      Good Idea !, Google gives api to get the subscriber count and it can reuse the fbPageCounter module’s UI.

      posted in Requests
      A
      ashishtank
    • RE: Mercedes EV-car me.connet

      @cykelstyre You can check my Mercedes module at https://forum.magicmirror.builders/topic/14562/mmm-mercedesme.

      posted in Requests
      A
      ashishtank
    • MMM-MercedesMe

      Description:

      This module is to show Mercedes vehicle’s fuel/electric charge and available range on Magic Mirror. Multiple instance (cars) are supported with different display style.

      Screenshots:

      Single Dial
      Single dial

      Two Dial
      Two dial

      Download:

      Download MercedesMe

      Your suggestions/feedback and pull requests are welcome :)

      Thanks:

      • Thanks to this forum and community to make this wonderful framework.
      • Jerry P for testing this module on live car data

      Version 1.0.0

      • Charging/Fuel Status
      • Available range
      posted in Transport
      A
      ashishtank
    • RE: MMM-RemoteCompliments-Black Screen

      @shagtimetim is there any errors in console or terminal ?

      posted in Troubleshooting
      A
      ashishtank
    • RE: Weather module - creating new Provider

      @crazylegs : would be a good idea to add node_helper in weather module and allow to have configurable option for weather provider to get the data via node helper proxy. Current code will not change much and current providers can also leverage this. If you are going to do this open an issue on GitHub and propose solution or make a pull request.

      posted in Troubleshooting
      A
      ashishtank
    • RE: Weather module - creating new Provider

      @crazylegs This are CORS errors, it means that weather site of Canada can not be accessed via origin localhost:8080. This only occurs from browser. If you request this from Node helper it should not occur as server clients (non browser) do not check for pre flight requests. When you open it in browser it is not a api request but just GET but when you try to access it via JavaScript code it first do preflight request (OPTIONS verb) to check if you are allowed or not.

      Right now weather module does the request from browser and not from node helper so this issue occurs.

      f5820d64-41d0-479e-b5d2-79b3f6185d36-image.png

      possible solution is that you create a proxy api and call Canada weather api from that api and use proxy api here (which should allow CORS).

      posted in Troubleshooting
      A
      ashishtank
    • RE: module that displays a certain text from a website, the text on the website is updated daily

      @Amoniak there are lots of missing pieces… add console.log with some message in each function and see how the flow works.

      posted in Requests
      A
      ashishtank
    • RE: Covid-19 sparkline

      @JerryP you can ignore this warning.

      posted in Troubleshooting
      A
      ashishtank
    • RE: module that displays a certain text from a website, the text on the website is updated daily

      @Amoniak yes, I checked the response from watch tower in postman and they give data of last 2-3 days or may be from Sunday to this day, so you will need to select the right node. You can use class tabContent as identifier and today’s date for selection of the node. Also check which html parse is good enough, as HTML is very complex to parse you may want to choose right parser which gives speed and is lightweight. i.e. node-html-parser

      2021-01-20-18-33-58-Clipboard

      Other thing you can do is once you have parsed text data from watch tower, you can assign it to poem’s format (title, content and name) and it will just work. later on you can change the UI and text property names if you want.

      posted in Requests
      A
      ashishtank
    • RE: module that displays a certain text from a website, the text on the website is updated daily

      @Amoniak any error in dev console or PM2/terminal ?

      posted in Requests
      A
      ashishtank
    • RE: module that displays a certain text from a website, the text on the website is updated daily

      @Amoniak MMM-PoemOfTheDay is perfect to adapt for your need. Instead of poem site you need to get data from WatchTower site and parse the html response to extract the text.

      posted in Requests
      A
      ashishtank
    • RE: Covid-19 sparkline

      @JerryP this is not failure it is warning that highcharts.js.map file not found. Is there any other error ? is module working ?

      posted in Troubleshooting
      A
      ashishtank
    • RE: Display

      @Bolovai check @George post, you can have one power strip cable coming out of mirror and in that power string you can plug monitor and pi.

      posted in Troubleshooting
      A
      ashishtank
    • RE: Manual Installation Trouble

      @brendan_c23 Below are pm2 commands help. If you want to stop the mirror then use pm2 stop 0 or pm2 stop MagicMirror
      refer : https://pm2.keymetrics.io/docs/usage/quick-start/

      posted in Troubleshooting
      A
      ashishtank
    • RE: Default calendar module: displaying full day events without time

      @sdetweil take care, and get well soon.

      posted in Troubleshooting
      A
      ashishtank
    • 1 / 1