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

    Posts

    Recent Best Controversial
    • RE: MMM-DWD-Pollen

      I checked your region (32) and there is indeed no data from DWD. The only region is 31 with data.

      posted in Health
      C
      CarstenD
    • RE: MMM-DWD-Pollen

      Apparently DWD had changed its numbering. I updated the Readme.

      Those are the new regions:
      10=Schleswig-Holstein und Hamburg
      11=Inseln und Marschen
      12=Geest,Schleswig-Holstein und Hamburg
      20=Mecklenburg-Vorpommern
      30=Niedersachsen und Bremen
      31=Westl. Niedersachsen/Bremen
      32=Östl. Niedersachsen
      40=Nordrhein-Westfalen
      41=Rhein.-Westfäl. Tiefland
      42=Ostwestfalen
      43=Mittelgebirge NRW
      50=Brandenburg und Berlin
      60=Sachsen-Anhalt
      61=Tiefland Sachsen-Anhalt
      62=Harz
      70=Thüringen
      71=Tiefland Thüringen
      72=Mittelgebirge Thüringen
      80=Sachsen
      81=Tiefland Sachsen
      82=Mittelgebirge Sachsen
      90=Hessen
      91=Nordhessen und hess. Mittelgebirge
      92=Rhein-Main
      100=Rheinland-Pfalz und Saarland
      101=Rhein, Pfalz, Nahe und Mosel
      102=Mittelgebirgsbereich Rheinland-Pfalz
      103=Saarland
      110=Baden-Württemberg
      111=Oberrhein und unteres Neckartal
      112=Hohenlohe/mittlerer Neckar/Oberschwaben
      113=Mittelgebirge Baden-Württemberg
      120=Bayern
      121=Allgäu/Oberbayern/Bay. Wald
      122=Donauniederungen
      123=Bayern nördl. der Donau, o. Bayr. Wald, o. Mainfranken
      124=Mainfranken

      posted in Health
      C
      CarstenD
    • RE: MMM-Hue CORS Policy Issue

      There is now a new version available for MMM-Homematic that also works w/o changing the config.

      posted in Troubleshooting
      C
      CarstenD
    • RE: MMM-Hue CORS Policy Issue

      The same problem appears to happen with MMM-Homematic. Getting same errors after update to 2.18.0

      Access to XMLHttpRequest at 'http://192.168.178.xx/addons/xmlapi/state.cgi?datapoint_id=1824' from origin 'http://0.0.0.0:8080' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space private.
      
      posted in Troubleshooting
      C
      CarstenD
    • RE: MMM-DWD-Pollen

      @majorc Thanks. Somehow this does not really work on mine. Now the text is stretching into the right border.
      But good that it works for you.

      posted in Health
      C
      CarstenD
    • RE: Alignmend of modules

      @sdetweil for MMM-DWD-Pollen you can change the following classes in CSS:

      tab-center
      pollen-low
      pollen-low-medium
      pollen-medium
      pollen-mediumhigh
      pollen-high
      pollen-nodata
      
      

      and just make

      text-align: right
      

      That should do the trick. Float will not work - it pushes everything to the right w/o spacing.

      I am still thinking how one can save the space on the right side but I am not an CSS / HTML expert.

      posted in Troubleshooting
      C
      CarstenD
    • RE: MMM-DWD-Pollen

      Added the option to select which Pollen to display through config.

      posted in Health
      C
      CarstenD
    • RE: MMM-DWD-Pollen

      @TechJak7000 said in MMM-DWD-Pollen:

      Astma-Allergi Denmark

      I found some information here: https://github.com/rugaard/pollen
      Thus it looks like Astma-Allergi Denmark does not offer any official API. Thus you have to use this API here (which I guess takes the data from the website) and renders the data accordingly. There are only two regions as far as I can see (East and West?) and 25 pollen. If the API works it should no big problem.

      posted in Health
      C
      CarstenD
    • RE: MMM-DWD-Pollen

      @duxnobis In general yes, I think Switzerland gets data from Meteo Schweiz (https://opendata.swiss/de/dataset/messstationen-des-nationalen-pollenmessnetzes)

      posted in Health
      C
      CarstenD
    • RE: MMM-DWD-Pollen

      @Sachse Glad you got it working with the support from @bhelper. Sorry that I could not reply fast enough. Thanks for using!

      posted in Health
      C
      CarstenD
    • RE: MMM-DWD-Pollen

      New version available with icons as alternative display

      https://github.com/carstendirks/MMM-DWD-Pollen

      posted in Health
      C
      CarstenD
    • RE: MMM-DWD-Pollen

      @thedoorsfanatic
      Hi,

      thanks for the hint. I am parsing for the partregion_id which in case of of Bayern has 4 sub regions 121-124:
      121 Allgäu/Oberbayern
      122 Donauniederungen
      123 Bayern n. der Donau, o. Bayr. Wald, o. Mainfranken
      124 Mainfranken

      There is a map showing the regions (even though the numbers are wrong): https://www.dwd.de/DE/leistungen/gefahrenindizespollen/Gebiete.html?nn=16102&lsbId=463856

      But good idea with the “no data” warning.

      Thanks (btw, I mad a bug fix yesterday that prevented some of the items showing up)

      posted in Health
      C
      CarstenD
    • RE: MMM-DWD-Pollen

      https://github.com/carstendirks/MMM-DWD-Pollen/blob/master/screenshot.png

      posted in Health
      C
      CarstenD
    • MMM-DWD-Pollen

      Description
      Since the existing module to display Pollen information from Germany seems to be broken, I wrote a new module but used the US version as a template (MMM-Pollen).

      The data is sourced from DWD.

      Screenshot
      alt text

      Link:
      MMM-DWD-Pollen

      posted in Health health weather
      C
      CarstenD
    • RE: Calendar module not showing Facebook birthdays

      Same problem after upgrading to 2.7.1 both calendars do not show any data anymore. Even disabling them does not bring up the default calendar.

      posted in Troubleshooting
      C
      CarstenD
    • RE: MMM-EarthWinds

      Thank you for the module. It runs very well but I tried to fix a certain position thus in case of restart it still shows the same view of earth (like Europe in the middle). I saw that you use https://earth.nullschool.net/#current/wind/surface/level/orthographic=-101.59,35.46,441 and thought by modifying the numbers it would change the view but somehow it always starts with a kind of default view. Using https://earth.nullschool.net/#current/wind/surface/level/orthographic=0.04,35.19,441 works in a normal browser but it does not work on MagicMirror.
      Any guidance?

      posted in Education
      C
      CarstenD
    • RE: MMM-Hotword being on all the time (also MMM-AssistantMk2)

      Thank you for the fast answer. That makes sense since I did not change anything. I will play around a bit with the sensitivity and wait for Google API updates.

      BTW: Great modules!

      posted in Troubleshooting
      C
      CarstenD
    • MMM-Hotword being on all the time (also MMM-AssistantMk2)

      I am using MMM-Hotword together with MMM-AssistantMk2 and MMM-NotificationTrigger.

      So far this works great but since some days I have the situation that after correctly recognizing the keyword the microphone stays open which leads to the situation that any following communication is also recognized by Google Assistant as input.

      Sometimes it even creates the situation that an answer spoken by Google Assistant is again recognized by Google Assistant as input - somehow as it would speak with itself.

      This is my config:

      {
            module: "MMM-NotificationTrigger",
            config: {
              triggers:[
                {
                  trigger: "HOTWORD_DETECTED",
                  fires: [
                    {
                      fire:"HOTWORD_PAUSE",
      
                    },
                    {
                      fire:"ASSISTANT_ACTIVATE",
      		delay: 200,
                      payload: function(payload) {
                        return {
                          "profile": payload.hotword
                        }
                      }
                    },
                  ]
                },
                {
                  trigger: "ASSISTANT_DEACTIVATED",
                  fires: [
                    {
                      fire:"HOTWORD_RESUME"
                    }
                  ]
                },
              ]
            }
      },
      
      {
        module: 'MMM-Hotword',
        config: {
          snowboy: [
      	{
      		//hotwords: "smartmirror", //this will be sent to other module for distinguishing which hotword is detected.
      		hotwords: "okhorst",		
      		file: "resources/models/OKHorst.pmdl",
      		sensitivity: '0.7',
      	},
      	{
      		hotwords: "snowboy",
      		file: "resources/models/snowboy.umdl",
      		sensitivity: '0.5',
      	},
      	{
      		file: 'resources/models/jarvis.umdl',
      		sensitivity: '0.8,0.80',
      		hotwords: ['jarvis','jarvis'] //Kitt.ai changed their Jarvis UMDL, it has 2 models in one file. So weird.
      		//anyway, you can give different name for each. ['jarvis_1', 'jarvis_2']. Even though I think this is useless.
      	}
          ],
          record: {
            sampleRate    : 16000,      // audio sample rate
            threshold     : 0.5,        // silence threshold (rec only)
            thresholdStart: null,       // silence threshold to start recording, overrides threshold (rec only)
            thresholdEnd  : null,       // silence threshold to end recording, overrides threshold (rec only)
            silence       : 1.0,        // seconds of silence before ending
            verbose       : true,      // log info to the console
            recordProgram : 'arecord',  // Defaults to 'arecord' - also supports 'rec' and 'sox'
            device        : null        // recording device (e.g.: 'plughw:1')
          },
          autostart: true,              // if 'false', this module will wait for 'HOTWORD_RESUME' notification to start hotwords detection at the beginning.
          autorestart: false,          // You can set this 'true' when you want this module to go back to listening mode automatically again after hotword is detected. But use this carefully when your other modules are using microphone or speaker.
        }
      },
      
      
      {
            module: "MMM-AssistantMk2",
            position: "bottom_right",
            config: {
      		deviceLocation: { // (OPTIONAL)
      			coordinates: { // set the latitude and longitude of the device (rf. mygeoposition.com)
      				latitude: 50.243430, 
      				longitude: 8.652580, 
      			},
      		},
      		defaultProfile: "default", // This default profile should be in `profiles` field.
      		profiles: 	{
      				"default" : 	{
      					profileFile: "default.json", //this path will be `~/MagicMirror/modules/MMM-AssistantMk2/profiles/default.json"
      					lang: "de-DE",
      					},
      				},
      
      
      		},
      },
      
      
      posted in Troubleshooting
      C
      CarstenD
    • RE: Black screen after some hours

      Disabling the notification module did not change the problem. I solved it finally by going through (1) removing and (2) reinstalling screensaver and then (3) disabling screensaver again. Even though for me there is no logical explanation doing it that way, the problem has gone away.

      posted in Troubleshooting
      C
      CarstenD
    • RE: Black screen after some hours

      Running 2.4.1 and getting the black screen after some time. Pi is still accessible and PM2 restart mm makes it work again.
      How do you disable the update notification module?

      posted in Troubleshooting
      C
      CarstenD
    • 1
    • 2
    • 1 / 2