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

    Posts

    Recent Best Controversial
    • RE: gauge.js

      @Charley yes it’s what I tried…

      posted in General Discussion
      S
      sispheor
    • RE: gauge.js

      @Charley Doesn’t work…

      Uncaught TypeError: Cannot read property 'getContext' of null
      
      posted in General Discussion
      S
      sispheor
    • RE: gauge.js

      @Charley OK thanks, I’ll try this in a couple minutes.

      posted in General Discussion
      S
      sispheor
    • RE: gauge.js

      @Charley Yes the table is visible. Only the gauge doesn’t appear.

      posted in General Discussion
      S
      sispheor
    • RE: gauge.js

      @Charley here is the code
      https://github.com/Sispheor/MMM-BMP-sensor/blob/dev/MMM-BMP-sensor.js

      posted in General Discussion
      S
      sispheor
    • RE: gauge.js

      @Charley yes, I haven’t shown it but it’s present.

      posted in General Discussion
      S
      sispheor
    • RE: gauge.js

      @E3V3A demo pictures are on the first link I left.
      But yes, the GitHub repo should also contains some.

      posted in General Discussion
      S
      sispheor
    • gauge.js

      Hello guys, I’m trying to make working the gauge.js lib on my MM.

      Nothing appears on the screen. No error in logs or the console.

      Here is what I do, I just copied the content of the example available here.

      getScripts: function() {
              return ["http://bernii.github.io/gauge.js/dist/gauge.min.js"];
          },
      
       getDom: function () {
              let wrapper = document.createElement("div");
              // add a gauge
              let opts = {
                angle: 0.15, /// The span of the gauge arc
                lineWidth: 0.44, // The line thickness
                pointer: {
                  length: 0.9, // Relative to gauge radius
                  strokeWidth: 0.035 // The thickness
                },
                colorStart: '#6FADCF',   // Colors
                colorStop: '#8FC0DA',    // just experiment with them
                strokeColor: '#E0E0E0'   // to see which ones work best for you
              };
              let target = document.createElement("canvas");
              let gauge = new Gauge(target).setOptions(opts); // create sexy gauge!
              gauge.maxValue = 3000; // set max gauge value
              gauge.setMinValue(0);  // set min value
              gauge.set(1250); // set actual value
              wrapper.appendChild(target);
      
             return wrapper;
      }
      

      Any idea of what I’m missing here?

      Thanks a lot !

      posted in General Discussion
      S
      sispheor
    • MMM-quote-of-the-day

      Hi guys,
      I haven’t found anything that fit what I had in mind so I made it.

      Here is the link to the module if you want to try it: https://github.com/Sispheor/MMM-quote-of-the-day

      Features:

      • show a random quote on the screen
      • configure update interval
      • translation on the fly of the quote in the language of your choice
      • renew the quote from your module, the api or kalliope assistant

      Result (in english here)
      0_1521379174396_quote-of-the-day_english_example.PNG

      Integration with Kalliope assistant demo
      https://www.youtube.com/watch?v=eWxtJsHDU2o

      And the repo
      [card:sispheor/MMM-quote-of-the-day]

      posted in Education
      S
      sispheor
    • RE: Kalliope assistant + MM

      @marcnlx Uninstall pulse audio and work only with alsa.
      We’ve remove pulseaudio from our doc.

      posted in Fun & Games
      S
      sispheor
    • RE: bmp180 plugin to get a web barometer? with indoor temperature etc? would be great

      up !
      I’m interested too.

      If this doen’t exist I’ll try to make it.

      posted in Requests
      S
      sispheor
    • RE: Random quotes (with API)

      I haven’t found anything that fit what I had in mind so I made it.

      Here is the link to the module if you want to try it: https://github.com/Sispheor/MMM-quote-of-the-day

      Features:

      • show a random quote on the screen
      • configure update interval
      • translation on the fly of the quote in the language of your choice
      • renew the quote from your module, the api or kalliope assistant

      Result (in english here)
      0_1521320215976_quote-of-the-day_english_example.PNG

      Renew the quote via Kalliope demo:
      https://www.youtube.com/watch?v=eWxtJsHDU2o&feature=youtu.be

      posted in Requests
      S
      sispheor
    • RE: Kalliope assistant + MM

      @marcnlx take a look to starter kits. It contains example. Also there is an example of usage of each neuron on the website.
      Have fun !

      posted in Fun & Games
      S
      sispheor
    • RE: Kalliope assistant + MM

      @marcnlx @marcnlx you’ve set http://127.0.0.1:8080/kalliope for the neuron but the mirror up is 192.168.1.16. doesn’t it?

      Also, notification and payload are not needed in the config of the module.

      posted in Fun & Games
      S
      sispheor
    • RE: Kalliope assistant + MM

      @marcnlx why are you trying to reach the URL from your browser? It’s an API. It should be accessed from a script only.

      posted in Fun & Games
      S
      sispheor
    • RE: Kalliope assistant + MM

      Kalliope is not an IA but a framework to make an assistant. Kalliope is like Ansible actually by design.
      From neuron you can cover almost all features provided by current assistant like Google or Alexa.

      There is a Android app to control kalliope from your phone and a “Tasker” neuron to control your phone from kalliope.

      Users have to make their brain in the language they want by using neuron. We provide “starter kit” to give a basic config and new user to understand the concept.

      I Understand that is not what you are looking for. You should give a try to another app.

      posted in Fun & Games
      S
      sispheor
    • RE: Kalliope assistant + MM

      @E3V3A but yes you are right, a good script should be idempotent.
      I’ll enhance it.

      posted in Fun & Games
      S
      sispheor
    • RE: Kalliope assistant + MM

      @NoNameRo sorry, forgot one word

      sudo python setup.py install
      
      posted in Fun & Games
      S
      sispheor
    • RE: Kalliope assistant + MM

      @E3V3A
      Actually, we consider here that the user start the installation from a fresh install raspbian.
      So he is using Python 2 and pip2.

      posted in Fun & Games
      S
      sispheor
    • RE: Kalliope assistant + MM

      @NoNameRo said in Kalliope assistant + MM:

      SpeechRecognition

      Hi,

      I had this one time.
      Can you try to install the lib manually?

      sudo pip install SpeechRecognition
      

      Then run the install again from the kalliope folder (in /home/pi)

      sudo python setup.py
      

      It’s weird, sometime pip doesn’t find this lib.

      posted in Fun & Games
      S
      sispheor
    • 1
    • 2
    • 3
    • 4
    • 2 / 4