• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-OralB / Bluetooth equipped toothbrush integration

Scheduled Pinned Locked Moved Development
68 Posts 13 Posters 26.6k Views 20 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    Fistandantilus
    last edited by yawns Jul 2, 2017, 9:53 AM Jul 2, 2017, 6:12 AM

    Just sent a mail to Oral-B ;)

    Hi,

    you may already have heard about the raspberry pi project Magic Mirror (https://magicmirror.builders/). This is a project to display information on a mirror using a semi transparent mirror glas and a monitor behind. As most mirrors are used in bathrooms what is obviously? Exactly people are using toothbrushes in front of it. The timer and the app you are offering are great but as we already have the possibility to display information on the mirror itself we would like to get rid of addidional equipment and would like to build a module that is able to visualize the information your toothbrushes are sending. We kindly request your support to get that feature into the project.

    best regards,
    Sven

    1 Reply Last reply Reply Quote 0
    • S Offline
      SvenSommer
      last edited by SvenSommer Jul 2, 2017, 10:09 PM Jul 2, 2017, 10:09 PM

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

      Looking for some building inspiration?
      Check out my large, thin and metal framed mirror on robstechlog.com.

      Modules released:
      MMM-GoogleAnalytics
      MMM-GrafanaChart
      MMM-GrafanaGauges

      1 Reply Last reply Reply Quote 0
      • G Offline
        goofy
        last edited by Oct 30, 2017, 8:47 AM

        Hello,
        this is a very interesting project :)
        Do you have any updates for us :)

        For me - i have also a Oral-B 6500 Series - is it helpful for you to get data from me ?

        1 Reply Last reply Reply Quote 0
        • F Offline
          Fistandantilus
          last edited by Oct 30, 2017, 9:15 AM

          Unfortunately I did not get any response from Braun/Oral B so far :(

          I’m also still very interested in a working solution. Just a reliable timer which correctly recognizes the running brush would be enough. I don’t need all features the original app has.

          F.

          1 Reply Last reply Reply Quote 0
          • G Offline
            goofy
            last edited by Oct 30, 2017, 3:32 PM

            Hello,
            one thing - what for a kind of usb bluetooth stick do you use ?
            i remember that you need a bluetooth v4.0 to read out data, maybe
            this is the problem ?

            1 Reply Last reply Reply Quote 0
            • F Offline
              Fistandantilus
              last edited by Fistandantilus Oct 30, 2017, 4:01 PM Oct 30, 2017, 3:57 PM

              I am using a Logilink BT0015. The stick isn’t the problem as the Bluetooth connection ist established. Currently there are only API available for iOS and Android. So in general it should be possible communicate with the brush using Debian as well. but someone has to write a library/a driver to read all data. The module here is something like a showcase that to just uses the Bluetooth connection and interpret its connection time but is is not able to read data from the brush itself. We cannot just use the connection status as the brush does not disconnect Bluetooth when you stop brushing so the timer would keep running.

              1 Reply Last reply Reply Quote 0
              • G Offline
                goofy
                last edited by yawns Nov 5, 2017, 7:37 AM Nov 4, 2017, 1:19 PM

                Hello,
                i wrote a email too - and i got an answer - but they write, that they don’t know about
                an sdk and if it’s posible to connect from a Linux to the toothbrush …
                They give me two links - but …
                http://www.pg.com/de_DE/
                www.scienceinthebox.com

                My result of my tests :)
                node --version
                v6.11.5
                npm --version
                3.10.10

                [Scenario 1 Start and Stop after 10 Sec]

                pi@raspberrypi:~/MagicMirror/modules/MMM-OralB $ sudo node brushTimer.js
                scanning started...
                Toothbrush connection ALIVE atSat Nov 04 2017 14:06:35 GMT+0100 (CET)
                Toothbrush is running
                0:1
                0:2
                
                0:41
                0:42
                Toothbrush connection LOST at Sat Nov 04 2017 14:07:17 GMT+0100 (CET) was alive since Sat Nov 04 2017 14:06:35 GMT+0100 (CET)
                Cooldown was432060 sec => => resetting timer
                [Scenario 2 Start and Stop after 3sec]
                Toothbrush connection ALIVE atSat Nov 04 2017 14:07:49 GMT+0100 (CET)
                Toothbrush is running
                0:1
                0:2
                
                0:35
                0:36
                Toothbrush connection LOST at Sat Nov 04 2017 14:08:25 GMT+0100 (CET) was alive since Sat Nov 04 2017 14:07:49 GMT+0100 (CET)
                Cooldown was432128 sec => => resetting timer
                [Scenario 3 Start, wait like 10 seconds and stop. Start again within the next 10 seconds for like 5 seconds]
                Toothbrush connection ALIVE atSat Nov 04 2017 14:09:59 GMT+0100 (CET)
                Toothbrush is running
                0:1
                0:2
                
                1:3
                1:4
                Toothbrush connection LOST at Sat Nov 04 2017 14:11:04 GMT+0100 (CET) was alive since Sat Nov 04 2017 14:09:59 GMT+0100 (CET)
                Cooldown was432286 sec => => resetting timer
                [Scenario 4 Start, wait like 10 seconds and stop. Start again after 40 seconds and stop 3sec later.]
                Toothbrush connection ALIVE atSat Nov 04 2017 14:11:59 GMT+0100 (CET)
                Toothbrush is running
                0:1
                0:2
                
                0:42
                0:43
                Toothbrush connection LOST at Sat Nov 04 2017 14:12:43 GMT+0100 (CET) was alive since Sat Nov 04 2017 14:11:59 GMT+0100 (CET)
                Cooldown was432385 sec => => resetting timer
                Toothbrush connection ALIVE atSat Nov 04 2017 14:12:50 GMT+0100 (CET)
                Toothbrush is running
                0:1
                0:2
                
                0:36
                0:37
                Toothbrush connection LOST at Sat Nov 04 2017 14:13:28 GMT+0100 (CET) was alive since Sat Nov 04 2017 14:12:50 GMT+0100 (CET)
                Cooldown was432430 sec => => resetting timer
                

                I think next week i try to have a lock on the android sdk … perhaps i can find something.
                PS: do you think it is possible to change the code that it’s possible to add 2 toothbrushs ?
                because - i have two …

                1 Reply Last reply Reply Quote 0
                • D Offline
                  doubleT Module Developer
                  last edited by Jan 4, 2018, 10:35 PM

                  This topic came up again (https://forum.magicmirror.builders/topic/6073/integration-of-the-oral-b-toothbrush-data) so I thought I’d share my thoughts:

                  Without a brush to test, the info from the thread and the documentation got me thinking: You’re only checking the on/off status of the brush right now. How about:
                  A) Having a small dedicated Android device running the SDK to grab and forward the data?
                  B) Using the Oral-B App on your phone would save your data in their cloud, right? And you can access that API, right? So to me it seems like you could get the data from the cloud – provided the app is running on your phone, forwarding the data.

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    Fistandantilus
                    last edited by Jan 4, 2018, 10:52 PM

                    Hi,

                    this all requires additional equipment. I have a bluetooth enabled mirror and the toothbrush. That should be enough! I don´t want to run my phone to record data and display the recorded data later on the mirror. We just need to find a way to directly read and interpret the data using the direct bluetooth connection.
                    Currently the script is just a proof of concept that we are able to read the connection status. The whole data part is still missing. I´m not that close to hardware integration and development that I could do that by my own. I can just offer support to test an maybe enhance the solution once somebody has written a library that is able to read the data send by the brush.

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      Fistandantilus
                      last edited by Jan 4, 2018, 11:14 PM

                      I have just written an additional request to PG asking for support. Lets see if I get an answer…

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 2 / 7
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy