MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. SvenSommer
    3. Best
    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: 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: 27" barn wood frame mirror (Alexa controlled)

      Very nicely done!
      What are the rotary switches in the last pictures for?

      posted in Show your Mirror
      SvenSommerS
      SvenSommer
    • RE: MMM-Globe

      @schlachtkreuzer6
      done, I also included the sources from binderth and made a pull request.

      posted in Utilities
      SvenSommerS
      SvenSommer
    • RE: Send Notification from one module to another module

      It seemed the sender is now a object not only a string with several properties. Therefore this code snippet has changed a little by sender to sender.name:

      notificationReceived: function(notification, payload, sender){
        if(notification === "NEW_STUFF" && sender.name === "modula"){
          //handle the payload: {foo: "bar"}
        }
      }
      
      posted in Development
      SvenSommerS
      SvenSommer
    • RE: A thin MM with metal frame, hidden IR camera and 32" Inch HDTV

      @Arthur
      Sure, I already thought about this. Unfortunately I’m very busy this week. Hope to get it done on the weekend.

      posted in Show your Mirror
      SvenSommerS
      SvenSommer
    • RE: MMM-Globe

      @lolobyte
      Thank you for the links.
      For central america I found the following source the most usefull. Unfortunately it’s only available in high resulution.
      http://goes.gsfc.nasa.gov/goescolor/goeseast/overview2/color_lrg/latestfull.jpg
      alt text

      Has anybody found more usefull sources by now?

      posted in Utilities
      SvenSommerS
      SvenSommer
    • RE: Calendar times in 24 hour format?

      @MrEdOne
      timeFormat uses the formatting of your operating system.
      When “24” is configured the format “hh:mm” is returned. Which is exactly, what you are looking for.
      Here is the code snippet from calender.js:

      		switch (config.timeFormat) {
      		case 12: {
      			moment.updateLocale(config.language, {
      				longDateFormat: {
      					LT: "h:mm A"
      				}
      			});
      			break;
      		}
      		case 24: {
      			moment.updateLocale(config.language, {
      				longDateFormat: {
      					LT: "hh:mm"
      				}
      			});
      			break;
      		}
      

      What do you get, when typing date in your console?

      0_1501007853673_492bdac5-1124-4fcf-b5bf-c69605f21853-image.png
      If it’s not in displayed in a format of 24h, change the setting of your OS.

      Maybe this helps?

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

      @Arthur: The costs, used parts and main challenges I experienced when building my smart mirror are now updated on my blog on
      http://robstechlog.com/2017/06/25/building-a-big-magicmirror-with-metal-frame-the-summary-parts-prices/

      posted in Show your Mirror
      SvenSommerS
      SvenSommer
    • RE: MMM-Globe

      @LukeCodewalker, @Burner911
      I just integrated the ‘centralAmericaDiscNat’ option and made a pull request.

      posted in Utilities
      SvenSommerS
      SvenSommer
    • RE: Calendar times in 24 hour format?

      Then I have no idea. Sorry…

      posted in Feature Requests
      SvenSommerS
      SvenSommer
    • 1
    • 2
    • 3
    • 2 / 3