MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. RGN01
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 14
    • Best 1
    • Controversial 0
    • Groups 0

    RGN01

    @RGN01

    1
    Reputation
    1
    Profile views
    14
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    RGN01 Unfollow Follow

    Best posts made by RGN01

    • RE: MMM-eswordoftheday not showing words

      Being a novice at MM and js, I’m slowly building my knowledge while trying to figure this out!

      I’ve discovered the Developers Window but am not yet clear on what all it does!

      I have found this, though, and it seems to indicate that the return from https://www.spanishdict.com/wordoftheday is blank / null.

      SpanishWordOfTheDay1.png

      My current hypothesis is that the website has changed something but I am pretty much going by trial and error as I’m way out of my depth so if anyone can throw any light I’d be very grateful!

      posted in Troubleshooting
      R
      RGN01

    Latest posts made by RGN01

    • RE: Module Update Interval question

      I can confirm that this is now solved. Thank you, @sdetweil !

      posted in Troubleshooting
      R
      RGN01
    • RE: Module Update Interval question

      Thanks @sdetweil - I missed your reply until this morning so apologies for not reporting back earlier.

      I have now made the change, to 3 hours, and will watch it. As the source only changes once a day that felt like a sensible compromise to ensure it updates but not too often!

      I’ll confirm in the next few days whether this has worked!

      Thanks again!

      posted in Troubleshooting
      R
      RGN01
    • Module Update Interval question

      I have MMM-eswordoftheday installed but have a problem in that it doesn’t automatically update.

      It updates if I restart the MM but not automatically once a day or more frequently.

      What drives the automated updates?

      The pertinent part of config.js is:

          {
            module: 'MMM-eswordoftheday',
            position: 'top_left',
            header: '',
            config: {
              updateInterval: 21600000
            }
      

      I have reduced the update frequency down from 86400000 to 21600000 (what I think is 6 hours) in an effort to sort this, but to no avail!

      Any tips to debug this would be very welcome.

      Thanks.

      Richard

      posted in Troubleshooting
      R
      RGN01
    • RE: MMM-eswordoftheday not showing words

      Great news - Daniel has fixed it and has the details on his GitHub …

      Fix was so easy to implement once he posted that. I simply edited the updated the node_helper.js file as follows:

      //const container = $(".entry--1qTEOKKt")[0];
      const container = $("._1qTEOKKt")[0];
      

      Then rebooted.

      @daniel-windsor, thank you, sir!

      posted in Troubleshooting
      R
      RGN01
    • RE: MMM-eswordoftheday not showing words

      Unfortunately I have not heard from Daniel again. I have tried editing the code but am waaaaay out of my depth!

      Does anyone know of an alternative, or be willing to have a go to fix this, please?

      posted in Troubleshooting
      R
      RGN01
    • RE: MM & Home Assistant (HASS)

      @soubhik-khan Hi. With my face, I don’t do videos - and you can thank me for that!

      Seriously, start with ESPHome on HASS - get an ESPHome node working with a PIR or MW sensor and an LED output. Once you’ve got that working separately to MM, you are ready to connect the two.

      At that point, connect the LED output pin (the 3V3 login pin) to the MM GPIO pin and configure the PIR module on MM as normal.

      That’s it - they are now connected and you can programme HASS, the ESPHome node and MM as you need.

      Hope that helps.

      posted in Hardware
      R
      RGN01
    • RE: MM & Home Assistant (HASS)

      @rgn01 If anyone is interested I’ll share the ESPHome code.

      posted in Hardware
      R
      RGN01
    • MM & Home Assistant (HASS)

      I am finalising my first MagicMirror and was adding the MMM-PIR-Sensor module and had an idea I thought I’d share as it works so well!

      I have HASS (https://www.home-assistant.io/ ) so decided to use a microwave presence detector and add a ESPHome node (https://esphome.io/# ) so added a D1 Mini ESPHome node. The output of the microwave sensor now goes to the D1 Mini, which then sends a logic signal to the MM. The ESPHome node also has a number of temperature monitors and a humidity monitor and also gives fine-grained control over things like quiet times etc.

      Not only does this give me yet more control of the PIR function of the mirror, it also allows me to use the sensor as part of my overall home presence detection, and force off times at night by programming the ESPHome node.

      For those running both, it is well worth having a look at combining them.

      posted in Hardware
      R
      RGN01
    • RE: MMM-eswordoftheday not showing words

      Author (@daniel-windsor) has responded on the Git issue I logged - and has said he will try to fix - so 🤞

      https://github.com/daniel-windsor/MMM-eswordoftheday/issues/2

      Thanks all!

      posted in Troubleshooting
      R
      RGN01
    • RE: MMM-eswordoftheday not showing words

      @sdetweil thank you. Yup, I figured that out, too! A steep learning curve but well worth it!

      As you say, hopefully the module author can assist. 🤞

      posted in Troubleshooting
      R
      RGN01