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

cedrikl

@cedrikl

0
Reputation
1
Profile views
2
Posts
0
Followers
0
Following
Joined Feb 4, 2023, 9:23 PM
Last Online Apr 9, 2023, 8:29 PM

cedrikl Unfollow Follow

Latest posts made by cedrikl

  • RE: [Weather - Env Canada] Forcast days name is the reverse order of the data.

    @crazylegs Thanks for looking into it. I finally found what was the issue and while trying to make a PR for it found out that it was fixed on develop 1 month before I started to look at it. This is probably why you couldn’t see the problem. Here is the commit in question: https://github.com/MichMich/MagicMirror/commit/a975b44fbbca53a7f2111dc971486cbeebb0f6ff

    posted in Bug Hunt
    C
    cedrikl
    Mar 19, 2023, 7:57 PM
  • [Weather - Env Canada] Forcast days name is the reverse order of the data.

    When submitting a new issue, please supply the following information:
    Platform:

    • Raspberry Pi 4
    • Debian GNU/Linux 11 (bullseye)
    • Kernel: Linux 5.15.84-v8+
    • Architecture: arm64
    • Electron: ./MagicMirror/node_modules/.bin/electron --version = v22.0.0
    • Node Version: node -v = v16.19.0
      MagicMirror² Version: “version”: “2.22.0”

    Description: In the weather forecast the day name is in reverse order from the data. This was observed at around 15:30 so it may be specific to the late day scenario in the code.

    Steps to Reproduce: List the step by step process to reproduce the issue.

    Expected Results:
    I expected the first line (top) of the forecast to be “Sun” that matches the 2°C/2°C Sunday forecast. Followed top to bottom by Mon, Tue, Wed, Thu. The data is top to bottom in chronological order, only the day name isn’t.

    Actual Results:
    MM-Actual-Picture imgur link

    Configuration:

    let config = {
            address: "localhost",
            port: 8080,
            basePath: "/", 
            ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],  
            useHttps: false, 
            httpsPrivateKey: "", 
            httpsCertificate: "",
            language: "en",
            locale: "en-US",
            logLevel: ["INFO", "LOG", "WARN", "ERROR"],
            timeFormat: 24,
            units: "metric",
            modules: [
                    {
                            module: "MMM-Cursor",
                            config: {
                                    timeout: 2000
                            }
                    },
                    {
                            module: "alert",
                    },
                    {
                            module: "updatenotification",
                            position: "top_bar"
                    },
                    {
                            module: "clock",
                            position: "top_right"
                    },
                    {
                            module: "compliments",
                            position: "top_right"
                    },
                    {
                            module: "weather",
                            position: "bottom_right",
                            config: {
                                    updateInterval: 3600000,
                                    weatherProvider: "envcanada",
                                    siteCode: 's0000635',
                                    provCode: 'QC',
                                    type: "current",
                                    location: "Montreal",
                                    showHumidity: true,
                                    useBeaufort: false,
                                    windUnits: "metric"
                            }
                    },
                    {
                            module: "weather",
                            position: "bottom_right",
                            header: "Weather Forecast",
                            config: {
                                    updateInterval: 3600000,
                                    weatherProvider: "envcanada",
                                    siteCode: 's0000635',
                                    provCode: 'QC',
                                    type: "forecast",
                                    location: "Montreal,Canada",
                                    showPrecipitationAmount: true,
                                    fade: false,
                                    ignoreToday: true
                            }
                    },
    ...
    

    Additional Notes: Code appears to be here MagicMirror/modules/default/weather/providers/envcanada.js

    Forecast was:
    MM-Actual-Forecast imgur link
    XML Export (same URL code uses)

    This isn’t the first time the EnvCanada is buggy but my previous issues may be all linked to this order issue. For an even more weird view set ignoreToday to false.

    posted in Bug Hunt
    C
    cedrikl
    Feb 4, 2023, 9:58 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy