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

    Posts

    Recent Best Controversial
    • RE: Start and Stop the MagicMirror

      @mike-0
      Have you considered this? https://github.com/gfischershaw/MMM-Touch
      It can define your touch gesture then assign jobs even shell scripts execution.

      posted in Forum
      M
      MMRIZE
    • RE: Connecting Modules to Each Other

      @tonkxy
      Hmmmm… I cannot understand the setCurrentWeatherType.

      Anyway, I recommend you this module; https://github.com/BrianHepler/MMM-WeatherBackground
      You need to study how MM module works, at least to train how to use.

      You don’t need to pull weather info from an external weather API like Darksky. Already there are many modules showing weather info on MM screen and spitting that info out through notification.

      For example, default weather module also emit notifications of weather info periodically. All you need to do is catching that notification and consume them in your module.

      default weather module would emit CURRENTWEATHER_TYPE notification.
      You can catch that notification like this.

      
      notificationReceived: function (notification, payload, sender) {
        if (notification === 'CURRENTWEATHER_TYPE') {
           console.log(payload) // manipulate payload then extract data what you need.
           // do your job
        }
      }
      

      Anyway, Study the above module. That has almost all features you are trying. (except the image source)

      posted in Troubleshooting
      M
      MMRIZE
    • RE: Blank Screen after New Installment

      @rxldavid
      You need ‘request’ module. It was deprecated from MM, but your quote of the day module is depending on it.

      • the best thing is to request module developers fixing it.
      • you can install ‘request’ module by yourself
        Go to quote of day module directory then;
      npm install request
      
      posted in Troubleshooting
      M
      MMRIZE
    • RE: Connecting Modules to Each Other

      @tonkxy
      And there be already similar modules. Look inside and study how they did.

      posted in Troubleshooting
      M
      MMRIZE
    • RE: Connecting Modules to Each Other

      @tonkxy
      Usually some module might spit out some notifications with various data those want to be consumed.
      With luck you can gather all data you need from the notifications.

      Some modules might provide public method functions to interact with other modules.

      Some modules might provide WebAPI url endpoints to communicate with world.

      Well, even if there exists nothing to use, you can inject or reassign(overwrite) MM module methods for your needs, because MM module is not encapsulated by default.

      posted in Troubleshooting
      M
      MMRIZE
    • RE: Voice Assistant

      @jairojosy
      This would be unnecessary worrying, but I have to point these things;

      • Implementing Google Assistant in a device doesn’t mean you can handle that device with voice commands. The two things are less related.
      • For native commanding MM with voice, you need to host Custom Device Actions by yourself. (Or you can depend on IFTTT, but somewhat limited features)
      • To get the benefit of native flawless conversation, you might need dyanmic or local fulfillment, but in that case Certificated server is needed.

      However, whole the experience will probably be interesting and funny. Good luck to you.

      posted in Requests
      M
      MMRIZE
    • RE: Voice Assistant

      @jairojosy
      Ok.
      I assume you are using Google Assistant Service SDK with Python library.
      You may get the response from Assistant Server as AssistResponse. You can find some member data of that response like audio_out or screen_out, or DialogStateOut.supplemental_display_text or whatever you need.

      Once you extract the data you need, the next thing you need to do is emit that data into MM. A usual way might be REST-like requesting/responsing. You need to build MM module which can handle HTTP request/response, like GET http://localhost:8080/MMM-MyGoogleAssistant/message?... I think you can make your python app to request your data through that REST-like URL.

      Another way might be using MQTT, or websocket messaging. Or if you have some experience, you can execute your python app inside your node module then get the stdout as an input stream.

      I recommend implementing with native MM module by nodeJS instead of external Python thing. but decision is yours.

      posted in Requests
      M
      MMRIZE
    • RE: Voice Assistant

      @jairojosy
      Use already existing module like MMM-GoogleAssistant.
      Your python app is not compatible with MM. At least you need to hook the output response then transmit to MM, and also you need to build a receiver module to get and display conversation. I will not say it is impossible, but not so quite simple. Why are you reinventing wheel again?

      posted in Requests
      M
      MMRIZE
    • RE: Need help with resizing regions

      @techlady
      Unfortunately, MMM-CalendarExt2 doesn’t respect MM’s default show/hide mechanism, so you need some tweek to achieve your goal with some paging modules.
      I’m regretting that I made that way, I thought it was a nice idea at that time. Anyway CalExt2 is going to its life ends due to dying dependencies. So at this moment I have no plan to improve. (Maybe new module instead?)

      posted in Custom CSS
      M
      MMRIZE
    • RE: I have a question about the default alert

      @ray
      https://docs.magicmirror.builders/modules/alert.html#developer-notes

      posted in Troubleshooting
      M
      MMRIZE
    • 1 / 1