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

    Posts

    Recent Best Controversial
    • RE: A thin MM with metal frame, hidden IR camera and 32" Inch HDTV

      @cowboysdude What are hardware are you going to use? I tried to run the MMM-Facial-Recognition by paviro and the MMM-Voice by fewieden on a RaspberryPi 3 with really disappointing results.
      I appreciate the evaluation of the touch display runs on its own processor!?

      HestiaPi looks really promising. Please share your experiences!

      I’ve been using OpenHab for over two years now. It’s really great if you want to connect several pieces of smart home hardware from different companies. It makes it also very easy to log your data on your own databases without sending data to a cloud service. As I’m a big fan of aggregated data in useful charts I’m really loving this!
      They are working on a big version change, that should by the adaption of new users. Maybe now its a good time to check it out ;)

      posted in Show your Mirror
      SvenSommerS
      SvenSommer
    • RE: A thin MM with metal frame, hidden IR camera and 32" Inch HDTV

      @cowboysdude Thank you!
      I’m very curious how well the touch will work.

      If I understand correctly, do you want to build a command panel?
      Have you ever looked at OpenHab? This is also open source and designed for the control of a smart home.

      If I’m not deceived, there are even modules that show the location plans of Openhab in the Magic Mirror. Have you seen them?

      posted in Show your Mirror
      SvenSommerS
      SvenSommer
    • RE: A thin MM with metal frame, hidden IR camera and 32" Inch HDTV

      @j.e.f.f Thanks you!
      I’ve used a Samsung UE32J6250 it’s a 32" inch HDTV. Samsung released the J6250 Serie 6 with several dimensions starting with 32" inch up to 60" inch. They all share the same hardware in the back, and should be nice to use for a Magic Mirror. Very thin, if solder your own power supply cable to the board.
      They only differ a bit in the price.

      What TV did you use for your My Full-Length Mirror with a “Smart” Top Half ? Are you planning a bigger one?
      I really hope the prices will fall soon and the bigger sizes become more affordable!

      posted in Show your Mirror
      SvenSommerS
      SvenSommer
    • A thin MM with metal frame, hidden IR camera and 32" Inch HDTV

      Description

      When I first run into the Magic Mirror project I was convinced this was something I wanted to build on my own. Without the amazing work and the easy to use framework by Michael Teeuw and this forum, this wouldn’t any possible to archive. And yes, this was real fun!

      Screenshots

      alt text
      alt text

      Further Details

      Checkout my blog on http://www.robstechlog.com/building/ for more details.

      posted in Show your Mirror
      SvenSommerS
      SvenSommer
    • MMM-GrafanaCharts and MMM-GrafanaGauges: Display you data with Charts and Gauges. Beautifully.

      Description:

      Two little modules for the Magic Mirror to include beautiful graphics generated with grafana.

      MMM-GrafanaCharts

      It’s for your graphs! The data that’s currently displayed on my mirror using the MMM-GrafanaCharts is a weather forecast for the next two days.
      If you’re interested in building you own weather chart, check out my blog post Programming your personal weather chart.

      MMM-GrafanaGauges

      Gauges are extremely helpful to monitor individual values ​​and their deviations from the nominal value. With the MMM-GrafanaGauges vital values of my plants are displayed on the mirror.

      Screenshots:

      0_1499632484128_weather_explained.gif

      0_1499632641560_MMM-GrafanaGauges.png

      with graph behind

      alt text

      Download

      [card:SvenSommer/MMM-GrafanaChart]
      [card:SvenSommer/MMM-GrafanaGauges]


      MMM-GrafanaChart- Version 1

      • Initial release
      • Showing charts provided by grafana

      MMM-GrafanaGauges- Version 1

      • Initial release
      • Showing gauges in a row provided by grafana
      posted in Utilities
      SvenSommerS
      SvenSommer
    • RE: MMM-OralB / Bluetooth equipped toothbrush integration

      That’s an quite a nice offer…
      Email is out, I’ll keep you updated.

      posted in Development
      SvenSommerS
      SvenSommer
    • RE: MMM-OralB / Bluetooth equipped toothbrush integration

      Hey @Fistandantilus,
      Thanks for checking out the module. Sorry for disappointing you, but the MMM-OralB-module is not finished yet. The module is not capable of displaying any other message than ‘Searching…’ right now.

      I stopped the development a few month ago, caused by the different matching results, we experienced in the testing phase at the individual toothbrushes.
      But I’m definitely interested in making this module.

      If you want to help me , you could send me your detailed test output of the scenario I pointed out before.

      Here are some details:

      • If the toothbrush is started bluetooth is activated for 3 Seconds.
      • If the brush is paused/stopped bluetooth is activated again for 32 Seconds.

      This leads to the following limited possiblities in tracking a brush session.

      • A start of a session is only trackable, if the programm/script has started with a (for 32 seconds) silent brush.
      • A stop is only trackable 3 seconds after start.
      • A stop/pause leads to a 32 Seconds “cooldown phase”, were no tracking is possible. This will reset the timer to 0:00.

      This is only helpfull if you do not interrupt you brushing session. :smile:

      If you wanna try the current setup you can run the script by:

      1. Enter your module-directory: cd ~/MagicMirror/modules
      2. Clone repository : git clone https://github.com/SvenSommer/MMM-OralB
      3. Enter new directory: cd ~/MagicMirror/modules/MMM-OralB
      4. Install dependencies: sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev
      5. Install noble module: npm install noble
      6. Exceute helper programm to find your brushID (this is not the mac-address): sudo node findBrushId.js
        This should lead to a output like
      Searching for OralB Toothbrushes with manufacturerData: "dc00010205030000000101"...
      changed state to:poweredOn
      Found OralB Tootbrush with ID: 544a1621209f
      
      
      1. Copy and paste your ID into the brushTimer.js file: sudo nano brushTimer.js
        (Save and exit with STRG + O and STRG + X )
      "use strict";
      
      var NodeHelper = require("node_helper");
      var noble = require('noble');
      
      //Copy Paste your ID here 
      var toothbrush_uuid = '544a1621209f';
      
      1. Run script with sudo node brushTimer.js
        This should lead to an output like:
      scanning started...
      Toothbrush is running
      0:1
      0:2
      0:3
      0:4
      0:5
      0:6
      0:7
      0:8
      0:9
      0:10
      0:11
      0:12
      0:13
      0:14
      0:15
      0:16
      0:17
      0:18
      Toothbrush stopped. "Cool down" for 32 seconds needed!
      
      
      posted in Development
      SvenSommerS
      SvenSommer
    • RE: MMM-OralB / Bluetooth equipped toothbrush integration

      @dfuerst
      By now brushtimer.js has already the whole logic the of the final modul implemented. It’s working like this.

      1. If a brush is connected it’s starts the timer. This happens when the “start/stop” button is pushed for the first time. After 3 seconds (mine and your) toothbrush turns off bluetooth connection. This is registred, but nothing happens (timer is still running) until:
      2. Brush is connected again. This means the “start/stop” button was hit again and this time is means to stop the timer, because the brush was already running and is now stopped. (If I understood your test output right, this point never happens when you tested it; your toothbrush isn’t connecting again, when you stopped it)
      3. Because (my) toothbrush doesn’t shut down the connection for 32 seconds after the stop, I have to wait until I can detect a new connection event.

      What you need to set up in your attempt is a timer. When you detect your mac-address you start your timer. And when its gone, stop it.

      Here is a clock object you can integrate and use. You can use Clock.resume() to start/resume the timer or Clock.pause() to wait. If you want to reset use Clock.Stop()
      Everytime the clock-timer is changed you fire a sendSocketNotification('TIMER_UPDATE', totalSeconds) like int the MMM-NetworkScanner-project with sendSocketNotification('MAC_ADDRESSES', macAddresses) to inform the main module an show it to the mirror-screen.

      var Clock = {
        totalSeconds: 0,
      
        start: function () {
          var self = this;
      
          this.interval = setInterval(function () {
            self.totalSeconds += 1;
      
            console.log(Math.floor(self.totalSeconds / 60 % 60) + ':' + parseInt(self.totalSeconds % 60));
          }, 1000);
        },
      
          pause: function () {
            clearInterval(this.interval);
            delete this.interval;
          },
      
          resume: function () {
            if (!this.interval) this.start();
          },
      
          stop: function(){
              this.totalSeconds = 0;
              clearInterval(this.interval);
              delete this.interval;
          }
      };
      
      
      posted in Development
      SvenSommerS
      SvenSommer
    • RE: Toothbrush integration

      @onetwankyfive, @dfuerst
      As this is not an request topic any more I made a new one in the developer section. You can find it here.
      Feel free to move over, if you want to assist the development of the module I’m creating right now.

      posted in Requests
      SvenSommerS
      SvenSommer
    • MMM-OralB / Bluetooth equipped toothbrush integration

      Hey, this topic should continue the development of the MMM-OralB module, to integrate the OralB - Bluetooth equipped toothbrushes.
      It already started here as a request and changed to a develop specific topic.

      posted in Development
      SvenSommerS
      SvenSommer
    • 1 / 1