• 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 27.7k 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.
  • L Offline
    lavolp3 Module Developer @timodejong95
    last edited by Apr 22, 2020, 10:40 PM

    @timodejong95 there are no logs above that.
    I get this error before I started the brush

    [2020-04-23 00:19:17.258] [ERROR]  00:19:17 <error> MMM-BluetoothDevices unhandled exception: (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:47 Logger.error)
    [2020-04-23 00:19:17.263] [ERROR]  00:19:17 <error> MMM-BluetoothDevices Error: Error: Couldn't connect to BABSIS OralB after 2 tries. (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:47 Logger.error)
    [2020-04-23 00:19:17.277] [ERROR]  00:19:17 <error> (node:2929) UnhandledPromiseRejectionWarning: TypeError: Converting circular structure to JSON
        --> starting at object with constructor 'DBusObject'
        |     property 'proxy' -> object with constructor 'Object'
        |     property 'org.freedesktop.DBus.Introspectable' -> object with constructor 'DBusInterface'
        --- property '$parent' closes the circle
        at JSON.stringify (<anonymous>)
        at /home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/index.js:24:25
        at processTicksAndRejections (internal/process/task_queues.js:89:5) (/home/pi/MagicMirror/internal/process/warning.js:27 writeOut)
    [2020-04-23 00:19:17.284] [ERROR]  00:19:17 <error> (node:2929) UnhandledPromiseRejectionWarning: TypeError: Converting circular structure to JSON
        --> starting at object with constructor 'DBusObject'
        |     property 'proxy' -> object with constructor 'Object'
        |     property 'org.freedesktop.DBus.Introspectable' -> object with constructor 'DBusInterface'
        --- property '$parent' closes the circle
        at JSON.stringify (<anonymous>)
        at /home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/index.js:24:25
        at processTicksAndRejections (internal/process/task_queues.js:89:5) (/home/pi/MagicMirror/internal/process/warning.js:27 writeOut)
    [2020-04-23 00:19:17.289] [ERROR]  00:19:17 <error> (node:2929) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) (/home/pi/MagicMirror/internal/process/warning.js:27 writeOut)
    [2020-04-23 00:19:17.293] [ERROR]  00:19:17 <error> (node:2929) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) (/home/pi/MagicMirror/internal/process/warning.js:27 writeOut)
    [2020-04-23 00:19:17.296] [ERROR]  00:19:17 <error> (node:2929) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (/home/pi/MagicMirror/internal/process/warning.js:27 writeOut)
    [2020-04-23 00:19:17.299] [ERROR]  00:19:17 <error> (node:2929) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (/home/pi/MagicMirror/internal/process/warning.js:27 writeOut)
    [2020-04-23 00:23:44.731] [LOG]    00:23:44 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
    [2020-04-23 00:23:47.096] [LOG]    00:23:47 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
    [2020-04-23 00:23:57.944] [LOG]    00:23:57 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
    [2020-04-23 00:24:08.935] [LOG]    00:24:08 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
    [2020-04-23 00:24:19.917] [LOG]    00:24:19 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
    [2020-04-23 00:24:30.925] [LOG]    00:24:30 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
    [2020-04-23 00:24:41.961] [LOG]    00:24:41 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
    [2020-04-23 00:24:52.927] [LOG]    00:24:52 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
    [2020-04-23 00:25:03.965] [LOG]    00:25:03 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
    [2020-04-23 00:25:14.860] [LOG]    00:25:14 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
    [2020-04-23 00:25:25.926] [LOG]    00:25:25 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
    [2020-04-23 00:25:36.875] [LOG]    00:25:36 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
    [2020-04-23 00:25:47.877] [LOG]    00:25:47 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
    [2020-04-23 00:25:58.907] [LOG]    00:25:58 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
    
    

    This error vanishes when I deactivate the JSON.stringify function.
    I have the feeling that everything is working, but the battery is not showing up at all.

    Also, when closing the mirror (ctrl+c when I started it with npm start dev ) I get these errors:

    [2020-04-23 00:38:03.482] [ERROR]  00:38:03 <error> (node:4615) UnhandledPromiseRejectionWarning: TypeError: device.destroy is not a function
        at Dongle.disconnectDevices (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Dongle.js:223:28)
        at Dongle.destroy (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Dongle.js:58:17)
        at Class.stop (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/node_helper.js:46:23)
        at App.stop (/home/pi/MagicMirror/js/app.js:252:16)
        at App.<anonymous> (/home/pi/MagicMirror/js/electron.js:108:7)
        at App.emit (events.js:200:13) (/home/pi/MagicMirror/internal/process/warning.js:27 writeOut)
    [2020-04-23 00:38:03.486] [ERROR]  00:38:03 <error> (node:4615) UnhandledPromiseRejectionWarning: TypeError: device.destroy is not a function
        at Dongle.disconnectDevices (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Dongle.js:223:28)
        at Dongle.destroy (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Dongle.js:58:17)
        at Class.stop (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/node_helper.js:46:23)
        at App.stop (/home/pi/MagicMirror/js/app.js:252:16)
        at App.<anonymous> (/home/pi/MagicMirror/js/electron.js:108:7)
        at App.emit (events.js:200:13) (/home/pi/MagicMirror/internal/process/warning.js:27 writeOut)
    [2020-04-23 00:38:03.489] [ERROR]  00:38:03 <error> (node:4615) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4) (/home/pi/MagicMirror/internal/process/warning.js:27 writeOut)
    [2020-04-23 00:38:03.495] [ERROR]  00:38:03 <error> (node:4615) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4) (/home/pi/MagicMirror/internal/process/warning.js:27 writeOut)
    [2020-04-23 00:38:03.503] [ERROR]  00:38:03 <error> (node:4615) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (/home/pi/MagicMirror/internal/process/warning.js:27 writeOut)
    [2020-04-23 00:38:03.509] [ERROR]  00:38:03 <error> (node:4615) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (/home/pi/MagicMirror/internal/process/warning.js:27 writeOut)
    
    

    How to troubleshoot modules
    MMM-soccer v2, MMM-AVStock

    1 Reply Last reply Reply Quote 0
    • L Offline
      lavolp3 Module Developer
      last edited by Apr 22, 2020, 10:41 PM

      @timodejong95
      https://makandracards.com/makandra/28847-dealing-with-typeerror-converting-circular-structure-to-json-on-javascript

      How to troubleshoot modules
      MMM-soccer v2, MMM-AVStock

      1 Reply Last reply Reply Quote 0
      • L Offline
        lavolp3 Module Developer
        last edited by Apr 22, 2020, 10:55 PM

        and more debugging messages, sorry for the spamming:

        [2020-04-23 00:51:53.902] [LOG]    00:51:53 <log> MMM-BluetoothDevices starting hub (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/node_helper.js:23 Class.startHub)
        [2020-04-23 00:51:58.845] [LOG]    00:51:58 <log> MMM-BluetoothDevices unhandled adapter msg: {"serial":1536,"path":"/org/bluez/hci0","interface":"org.freedesktop.DBus.Properties","member":"PropertiesChanged","signature":"sa{sv}as","sender":":1.8","type":4,"flags":1,"body":["org.bluez.Adapter1",[["UUIDs",[[{"type":"a","child":[{"type":"s","child":[]}]}],[["00001112-0000-1000-8000-00805f9b34fb","00001801-0000-1000-8000-00805f9b34fb","0000110e-0000-1000-8000-00805f9b34fb","00001800-0000-1000-8000-00805f9b34fb","00001200-0000-1000-8000-00805f9b34fb","0000110c-0000-1000-8000-00805f9b34fb","0000110a-0000-1000-8000-00805f9b34fb","0000111f-0000-1000-8000-00805f9b34fb","00001805-0000-1000-8000-00805f9b34fb"]]]]],[]]} (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:32 Logger.debug)
        [2020-04-23 00:52:01.474] [LOG]    00:52:01 <log> MMM-BluetoothDevices unhandled adapter msg: {"serial":1542,"path":"/org/bluez/hci0","interface":"org.freedesktop.DBus.Properties","member":"PropertiesChanged","signature":"sa{sv}as","sender":":1.8","type":4,"flags":1,"body":["org.bluez.Adapter1",[["Discovering",[[{"type":"b","child":[]}],[true]]]],[]]} (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:32 Logger.debug)
        [2020-04-23 00:52:01.993] [LOG]    00:52:01 <log> MMM-BluetoothDevices trying to connect to: DIRKS OralB 1/2 (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
        [2020-04-23 00:52:13.667] [LOG]    00:52:13 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
        [2020-04-23 00:52:13.834] [LOG]    00:52:13 <log> MMM-BluetoothDevices awaiting services for device: DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:32 Logger.debug)
        [2020-04-23 00:52:17.445] [LOG]    00:52:17 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
        [2020-04-23 00:52:23.028] [LOG]    00:52:23 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
        [2020-04-23 00:52:33.871] [ERROR]  00:52:33 <error> MMM-BluetoothDevices unhandled exception: (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:47 Logger.error)
        [2020-04-23 00:52:33.875] [ERROR]  00:52:33 <error> MMM-BluetoothDevices Error: Error: waitForServicesResolved: timeout exceeded (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:47 Logger.error)
        [2020-04-23 00:52:33.905] [LOG]    00:52:33 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
        [2020-04-23 00:52:44.875] [LOG]    00:52:44 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
        [2020-04-23 00:52:55.859] [LOG]    00:52:55 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
        [2020-04-23 00:53:06.911] [LOG]    00:53:06 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
        [2020-04-23 00:53:17.884] [LOG]    00:53:17 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
        [2020-04-23 00:53:28.849] [LOG]    00:53:28 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
        

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        T 1 Reply Last reply Apr 23, 2020, 10:12 AM Reply Quote 0
        • T Offline
          timodejong95 @lavolp3
          last edited by timodejong95 Apr 23, 2020, 10:15 AM Apr 23, 2020, 10:12 AM

          @lavolp3 No worries, check I will have a look at this when I find some time, probably this weekend. Seems that the devices couldn’t connect at the first try but failed in de second which is triggered instantly.

          @djerik Thanks for sharing

          I will try and fix the issues you send to be, thanks for sharing and excuses for the bugs! I might write some tests because the manual tests are stacking up and code coverage is always good.

          L 1 Reply Last reply Apr 23, 2020, 10:27 AM Reply Quote 1
          • L Offline
            lavolp3 Module Developer @timodejong95
            last edited by Apr 23, 2020, 10:27 AM

            @timodejong95 said in MMM-OralB / Bluetooth equipped toothbrush integration:

            @lavolp3 No worries, check I will have a look at this when I find some time, probably this weekend. Seems that the devices couldn’t connect at the first try but failed in de second which is triggered instantly.

            I don’t have a problem with that. Devices are connecting well as soon as I activate them. Everything works really well except no battery status shown.
            Apparently the waitForService process ends unresolved, hence is not able to get the information from the battery service

            [2020-04-23 00:52:33.875] [ERROR]  00:52:33  MMM-BluetoothDevices Error: Error: waitForServicesResolved: timeout exceeded (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:47 Logger.error)
            

            How to troubleshoot modules
            MMM-soccer v2, MMM-AVStock

            T 1 Reply Last reply Apr 23, 2020, 10:38 AM Reply Quote 0
            • T Offline
              timodejong95 @lavolp3
              last edited by Apr 23, 2020, 10:38 AM

              @lavolp3 Check I get you. Just to be sure, you did do npm install I changed a package? If not then I will comeback to it when I have tested it myself.

              L 1 Reply Last reply Apr 23, 2020, 10:40 AM Reply Quote 0
              • L Offline
                lavolp3 Module Developer @timodejong95
                last edited by Apr 23, 2020, 10:40 AM

                @timodejong95 said in MMM-OralB / Bluetooth equipped toothbrush integration:

                @lavolp3 Check I get you. Just to be sure, you did do npm install I changed a package? If not then I will comeback to it when I have tested it myself.

                Yes I did.
                Did it now again (but no new installations) and trying again tonight

                How to troubleshoot modules
                MMM-soccer v2, MMM-AVStock

                T 1 Reply Last reply Apr 23, 2020, 11:39 AM Reply Quote 0
                • T Offline
                  timodejong95 @lavolp3
                  last edited by Apr 23, 2020, 11:39 AM

                  @lavolp3 Oké check, well no need to try again tonight because your up-to-date then. I will let you know when I have looked at it. For now you can prevent the errors by removing the battery in the tracks array.

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    timodejong95
                    last edited by Apr 25, 2020, 2:24 PM

                    I have just pushed some new changes which improve connecting, and a few tests cases for device connection. It requires a npm install.

                    @lavolp3 and @djerik if you have some time could you try it out? Also I though you already had it on but if not it might be handy to enable debugLogs.

                    Also I want to thank you for the time you put into this and help me by providing logs and errors so I can improve the module.

                    L 1 Reply Last reply Apr 25, 2020, 10:22 PM Reply Quote 0
                    • L Offline
                      lavolp3 Module Developer @timodejong95
                      last edited by Apr 25, 2020, 10:22 PM

                      @timodejong95 IT WORKED! At least partially, that is.

                      0|mm  | 00:13:17 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:13:17.988] [LOG]
                      0|mm  | 00:13:17 <info> MMM-BluetoothDevices reconnecting to: DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:24 Logger.info)
                      0|mm  | [2020-04-26 00:13:17.995] [LOG]
                      0|mm  | 00:13:17 <log> MMM-BluetoothDevices trying to connect to: DIRKS OralB 1/1 (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:13:21.469] [LOG]
                      0|mm  | 00:13:21 <log> MMM-BluetoothDevices connected to device: DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:13:21.534] [LOG]
                      0|mm  | 00:13:21 <log> MMM-BluetoothDevices awaiting services for device: DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:32 Logger.debug)
                      0|mm  | [2020-04-26 00:13:21.552] [LOG]    00:13:21 <log> MMM-BluetoothDevices waiting for services to be resolved for: DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:32 Logger.debug)
                      0|mm  | [2020-04-26 00:13:29.503] [LOG]
                      0|mm  | 00:13:29 <log> MMM-BluetoothDevices connected to: DIRKS OralB after 1 try (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:13:29.961] [LOG]
                      0|mm  | 00:13:29 <log> MMM-BluetoothDevices battery updated to: 100% for: DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:32 Logger.debug)
                      0|mm  | [2020-04-26 00:13:29.966] [LOG]    00:13:29 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:13:29.979] [LOG]    00:13:29 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:13:30.255] [LOG]
                      0|mm  | 00:13:30 <log> MMM-BluetoothDevices battery updated to: 100% for: DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:32 Logger.debug)
                      0|mm  | [2020-04-26 00:13:30.259] [LOG]    00:13:30 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:13:31.229] [LOG]
                      0|mm  | 00:13:31 <log> MMM-BluetoothDevices battery updated to: 99% for: DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:32 Logger.debug)
                      0|mm  | [2020-04-26 00:13:31.234] [LOG]    00:13:31 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:13:31.466] [LOG]
                      0|mm  | 00:13:31 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:13:31.520] [LOG]
                      0|mm  | 00:13:31 <log> MMM-BluetoothDevices connection lost with device: DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:13:33.303] [LOG]
                      0|mm  | 00:13:33 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:13:33.315] [LOG]
                      0|mm  | 00:13:33 <info> MMM-BluetoothDevices reconnecting to: DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:24 Logger.info)
                      0|mm  | [2020-04-26 00:13:33.318] [LOG]    00:13:33 <log> MMM-BluetoothDevices trying to connect to: DIRKS OralB 1/1 (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:13:43.919] [LOG]
                      0|mm  | 00:13:43 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:13:54.916] [LOG]
                      0|mm  | 00:13:54 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:14:05.881] [LOG]
                      0|mm  | 00:14:05 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:14:13.884] [LOG]
                      0|mm  | 00:14:13 <info> MMM-BluetoothDevices failed to reconnect to: DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:24 Logger.info)
                      0|mm  | [2020-04-26 00:14:13.886] [LOG]    00:14:13 <log> MMM-BluetoothDevices Error: Error: Couldn't connect to DIRKS OralB after 1 try. (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:32 Logger.debug)
                      0|mm  | [2020-04-26 00:14:16.957] [LOG]
                      0|mm  | 00:14:16 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:14:28.049] [LOG]
                      0|mm  | 00:14:28 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:14:38.869] [LOG]
                      0|mm  | 00:14:38 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:14:49.968] [LOG]
                      0|mm  | 00:14:49 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:15:00.855] [LOG]
                      0|mm  | 00:15:00 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:15:12.156] [LOG]
                      0|mm  | 00:15:12 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:15:22.928] [LOG]
                      0|mm  | 00:15:22 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      0|mm  | [2020-04-26 00:15:33.865] [LOG]
                      0|mm  | 00:15:33 <log> MMM-BluetoothDevices received device update for DIRKS OralB (/home/pi/MagicMirror/modules/MMM-BluetoothDevices/src/Logger.js:17 Logger.log)
                      

                      Battery updates are there but only in the beginning.
                      I would assume my battery drains more than this one percent in 2 minutes but may be wrong.
                      Nothing displayed on the mirror.
                      Might still be missing?

                      How to troubleshoot modules
                      MMM-soccer v2, MMM-AVStock

                      T 1 Reply Last reply Apr 27, 2020, 8:37 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 6 / 7
                      6 / 7
                      • First post
                        58/68
                        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