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

    Posts

    Recent Best Controversial
    • RE: Struggling with Weather... module

      in addition… looking at “ukmetofficedatahub.js”
      API Base URL looks like this…
      apiBase: “https://api-metoffice.apiconnect.ibmcloud.com/v0/forecasts/point/<hourly/3hourly/daily>”,

      where as the next section down API URL is stated to be
      “https://metoffice.apiconnect.ibmcloud.com/metoffice/production/api”

      seems to be a mismatch although im still looking at where to test that theory…
      i would have hoped which ever way the URL is structured its the JS info thats the important bit, not the structure of the URL

      posted in Troubleshooting
      D
      D3dl3g
    • RE: Struggling with Weather... module

      @sdetweil

      could it be *js file setup.

      been poking around on the Met Office website

      is this “request” something that could be used

      GET https://api-metoffice.apiconnect.ibmcloud.com/v0/forecasts/point/hourly?latitude=52.################&longitude=-1.################
      Headers:
      Accept: application/json
      X-IBM-Client-Id: e52######################
      X-IBM-Client-Secret: *********
      

      a “Header”

      cache-control: no-cache, no-store, max-age=0, must-revalidate
      content-length: 3634
      content-type: application/json
      expires: 0
      pragma: no-cache
      x-global-transaction-id: 9####################
      x-ratelimit-limit: name=rate-limit-1,360;
      x-ratelimit-remaining: name=rate-limit-1,358;
      

      theres also a “Body” that starts

      {
          "type": "FeatureCollection",
          "features": [
              {
                  "type": "Feature",
                  "geometry": {
                      "type": "Point",
                      "coordinates": [
                          -1.###,
                          52.###,
                          ###
                      ]
                  },
                  "properties": {
                      "requestPointDistance": 736.6499,
                      "modelRunDate": "2022-06-28T13:00Z",
                      "timeSeries": [
                          {
                              "time": "2022-06-28T13:00Z",
                              "screenTemperature": 19.6,
                              "maxScreenAirTemp": 19.6,
                              "minScreenAirTemp": 19.1,
                              "screenDewPointTemperature": 7.7,
                              "feelsLikeTemperature": 16.83,
                              "windSpeed10m": 5.1,
                              "windDirectionFrom10m": 200,
                              "windGustSpeed10m": 11.3,
                              "max10mWindGust": 13.42,
                              "visibility": 24714,
                              "screenRelativeHumidity": 46.06,
                              "mslp": 101420,
                              "uvIndex": 4,
                              "significantWeatherCode": 3,
                              "precipitationRate": 0,
                              "totalPrecipAmount": 0,
                              "totalSnowAmount": 0,
                              "probOfPrecipitation": 1
      

      i hashed out sensitive info BTW, the Long/lat and API Keys

      posted in Troubleshooting
      D
      D3dl3g
    • RE: Struggling with Weather... module

      @sdetweil
      :grinning_face_with_smiling_eyes: always the way.

      posted in Troubleshooting
      D
      D3dl3g
    • RE: Struggling with Weather... module

      @sdetweil
      many restarts as i was modifying and testing layouts and features
      8c0b4cd7-65aa-481a-b183-060cb0ef9ca5-image.png

      couple of syntax errors, when i was playing around last night.
      daa33a85-88ae-4317-9374-a71ea4d61c43-image.png

      (blanked out sensitve info on calendar line)
      d5285b65-22af-483d-a9cf-5ebb1831694d-image.png

      posted in Troubleshooting
      D
      D3dl3g
    • RE: Struggling with Weather... module

      @sdetweil said in Struggling with Weather... module:

      you can do pm2 flush to empty the log and then start again (pm2 restart all)

      bf704162-d1b7-46ef-adea-3bda155af77d-image.png

      posted in Troubleshooting
      D
      D3dl3g
    • RE: Struggling with Weather... module

      @thgmirror I’d gladly try, but I’d need an API key, my friend.
      without an API for that particular weather service, it will just come up with “loading” as the server will not give the info to you.

      i saw the post of yours earlier, but as it didnt match my issue with UK Met Office weather service.

      posted in Troubleshooting
      D
      D3dl3g
    • RE: Struggling with Weather... module

      @sdetweil

      ce169421-e550-4506-82ec-9468556769d4-image.png

      posted in Troubleshooting
      D
      D3dl3g
    • Struggling with Weather... module

      hi all
      been trying for a while to get the default “weather” app to work for me and im struggling a little bit, NPM syntax check comes back clean.
      6fb032b7-3a67-45a9-bceb-24b71ee413b8-image.png

      im 95% sure i have all the relevant info in the config.js file.
      83848943-1277-4345-a212-c482bae3b322-image.png

      But im not seeing weather output on screen. 64f3c4ef-666f-4162-b397-2dd39792e637-image.png

      Figured i’d put it here instead of Discord.

      All suggestions warmly recieved

      posted in Troubleshooting
      D
      D3dl3g
    • HowTo: LXC Server, RPi 0 Client.

      Hi all,

      I’ve spent the past week furiously trying to get MM to run in an LXC in “server mode” and to use a Pi0 as the “Client” that will be attached to the screen of the MM.

      I put together a Github for how to do it, I’d really appreciate any feedback for making the Pi0 side more lightweight, if at all possible, but also posting here just so people are aware it is an option for those who want to utilise LXC for their MM Server or a Pi0 as their client regardless of what server option they pick.

      https://github.com/D3dl3g/Magic-Mirror

      posted in Hardware proxmox pve lxc serveronly raspberry pi zero w raspberry pi pi0 pi0 2w
      D
      D3dl3g
    • 1 / 1