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.

    Is it possible to ad an Arduino?

    Scheduled Pinned Locked Moved Troubleshooting
    55 Posts 4 Posters 22.3k Views 4 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.
    • S Offline
      Shinji0912 @sdetweil
      last edited by

      @sdetweil alt text
      and
      alt text

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @Shinji0912
        last edited by sdetweil

        @Shinji0912 not acm0 in filter,

        module name part

        ardu

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          Shinji0912 @sdetweil
          last edited by

          @sdetweil Oh okay

          :

          alt text
          alt text
          alt text
          alt text

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @Shinji0912
            last edited by

            @Shinji0912 others appear to have had the same problem, see the changes suggested here

            https://github.com/Dentrax/MMM-ArduPort/issues/3

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 2 Replies Last reply Reply Quote 0
            • S Offline
              Shinji0912 @sdetweil
              last edited by

              @sdetweil Ok, i will try when back @home

              1 Reply Last reply Reply Quote 0
              • S Offline
                Shinji0912 @sdetweil
                last edited by Shinji0912

                @sdetweil Just tried it but it’s not working … now the “waiting for connection” or starting arduports isn’t even displayed on the MagicMirror anymore

                and the console log changed from :

                pi@raspberrypi:~/MagicMirror $ npm run start
                
                > magicmirror@2.12.0 start /home/pi/MagicMirror
                > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                
                [2020-09-24 15:48:02.396] [LOG]    Starting MagicMirror: v2.12.0
                [2020-09-24 15:48:02.409] [LOG]    Loading config ...
                [2020-09-24 15:48:02.421] [LOG]    Loading module helpers ...
                [2020-09-24 15:48:02.444] [LOG]    Initializing new module helper ...
                [2020-09-24 15:48:02.445] [LOG]    Module helper loaded: MMM-ArduPort
                node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
                In the future, you will have to enable it yourself.
                See https://github.com/yagop/node-telegram-bot-api/issues/319. internal/modules/cjs/loader.js:786:30
                [2020-09-24 15:48:04.024] [LOG]    Initializing new module helper ...
                [2020-09-24 15:48:04.025] [LOG]    Module helper loaded: MMM-TelegramBot
                [2020-09-24 15:48:04.027] [LOG]    No helper found for module: MMM-Online-State.
                [2020-09-24 15:48:04.097] [LOG]    Initializing new module helper ...
                [2020-09-24 15:48:04.098] [LOG]    Module helper loaded: updatenotification
                [2020-09-24 15:48:04.100] [LOG]    No helper found for module: clock.
                [2020-09-24 15:48:04.259] [LOG]    Initializing new module helper ...
                [2020-09-24 15:48:04.260] [LOG]    Module helper loaded: MMM-RBB-Weather
                [2020-09-24 15:48:04.904] [LOG]    Initializing new module helper ...
                [2020-09-24 15:48:04.905] [LOG]    Module helper loaded: calendar
                [2020-09-24 15:48:05.663] [LOG]    Initializing new module helper ...
                [2020-09-24 15:48:05.664] [LOG]    Module helper loaded: MMM-NowPlayingOnSpotify
                [2020-09-24 15:48:05.664] [LOG]    All module helpers loaded.
                [2020-09-24 15:48:05.869] [LOG]    Starting server on port 8080 ... 
                [2020-09-24 15:48:05.894] [LOG]    Server started ...
                [2020-09-24 15:48:05.895] [LOG]    Connecting socket for: MMM-ArduPort
                [2020-09-24 15:48:05.897] [LOG]    [MMM-ArduPort]:: Starting node_helper for module [MMM-ArduPort]
                [2020-09-24 15:48:05.898] [LOG]    Connecting socket for: MMM-TelegramBot
                [2020-09-24 15:48:05.899] [LOG]    Connecting socket for: updatenotification
                [2020-09-24 15:48:05.901] [LOG]    Connecting socket for: MMM-RBB-Weather
                [2020-09-24 15:48:05.902] [LOG]    Starting module helper: MMM-RBB-Weather
                [2020-09-24 15:48:05.902] [LOG]    Connecting socket for: calendar
                [2020-09-24 15:48:05.903] [LOG]    Starting node helper for: calendar
                [2020-09-24 15:48:05.904] [LOG]    Connecting socket for: MMM-NowPlayingOnSpotify
                [2020-09-24 15:48:05.905] [LOG]    Sockets connected & modules started ...
                [2020-09-24 15:48:06.097] [LOG]    Launching application.
                [2020-09-24 15:48:09.747] [LOG]    Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/oliver.kuck12%40gmail.com/public/basic.ics - Interval: 300000
                [2020-09-24 15:48:09.956] [LOG]    MMM-RBB-Weather[24.9.2020, 15:48:09]: Load data for ID "18228265" and "0" days ...
                [2020-09-24 15:48:09.970] [INFO]   Checking git for module: MMM-ArduPort
                [2020-09-24 15:48:10.014] [INFO]   Checking git for module: MMM-TelegramBot
                [2020-09-24 15:48:10.057] [INFO]   Checking git for module: MMM-Online-State
                [2020-09-24 15:48:10.104] [INFO]   Checking git for module: MMM-RBB-Weather
                [2020-09-24 15:48:10.148] [INFO]   Checking git for module: MMM-NowPlayingOnSpotify
                [2020-09-24 15:48:10.201] [ERROR]  (node:1251) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
                [2020-09-24 15:48:10.209] [ERROR]  (node:1251) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
                [2020-09-24 15:48:10.357] [LOG]    MMM-RBB-Weather[24.9.2020, 15:48:10]: Fetch data for day "0" ...
                [2020-09-24 15:48:10.397] [LOG]    { debug: 'SerialPort shell started...' }
                [2020-09-24 15:48:10.408] [LOG]    undefined[MMM-ArduPort] SerialPort shell started...
                [2020-09-24 15:48:10.410] [LOG]    { debug: 'Waiting Ardunio to connect on port...' }
                [2020-09-24 15:48:10.411] [LOG]    undefined[MMM-ArduPort] Waiting Ardunio to connect on port...
                [2020-09-24 15:48:10.413] [LOG]    { status: { name: 'connect', data: 'connected' } }
                [2020-09-24 15:48:10.416] [LOG]    { name: 'connect', data: 'connected' }
                [2020-09-24 15:48:11.002] [LOG]    Refreshed access token because it has expired. Expired at: 15:48:09 now is: 15:48:11
                [2020-09-24 15:48:11.093] [LOG]    Refreshed access token because it has expired. Expired at: 16:48:11 now is: 15:48:11
                [2020-09-24 15:48:11.189] [LOG]    MMM-RBB-Weather[24.9.2020, 15:48:11]: Data received, send to module ...
                [2020-09-24 15:48:11.328] [INFO]   Calendar-Fetcher: Broadcasting 0 events.
                [2020-09-24 15:48:12.086] [LOG]    { status: { name: 'setup', data: 'starting' } }
                [2020-09-24 15:48:12.093] [LOG]    { name: 'setup', data: 'starting' }
                [2020-09-24 15:48:12.187] [LOG]    { status: { name: 'setup', data: 'started' } }
                [2020-09-24 15:48:12.189] [LOG]    { name: 'setup', data: 'started' }
                [2020-09-24 15:48:12.258] [LOG]    { sensor: { name: 'DHT11', data: '0' } }
                
                

                to this :

                pi@raspberrypi:~/MagicMirror $ npm run start
                
                > magicmirror@2.12.0 start /home/pi/MagicMirror
                > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                
                [2020-09-24 15:52:40.905] [LOG]    Starting MagicMirror: v2.12.0
                [2020-09-24 15:52:40.918] [LOG]    Loading config ...
                [2020-09-24 15:52:40.930] [LOG]    Loading module helpers ...
                [2020-09-24 15:52:40.953] [LOG]    Initializing new module helper ...
                [2020-09-24 15:52:40.954] [LOG]    Module helper loaded: MMM-ArduPort
                node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
                In the future, you will have to enable it yourself.
                See https://github.com/yagop/node-telegram-bot-api/issues/319. internal/modules/cjs/loader.js:786:30
                [2020-09-24 15:52:42.568] [LOG]    Initializing new module helper ...
                [2020-09-24 15:52:42.569] [LOG]    Module helper loaded: MMM-TelegramBot
                [2020-09-24 15:52:42.571] [LOG]    No helper found for module: MMM-Online-State.
                [2020-09-24 15:52:42.641] [LOG]    Initializing new module helper ...
                [2020-09-24 15:52:42.642] [LOG]    Module helper loaded: updatenotification
                [2020-09-24 15:52:42.644] [LOG]    No helper found for module: clock.
                [2020-09-24 15:52:42.801] [LOG]    Initializing new module helper ...
                [2020-09-24 15:52:42.802] [LOG]    Module helper loaded: MMM-RBB-Weather
                [2020-09-24 15:52:43.439] [LOG]    Initializing new module helper ...
                [2020-09-24 15:52:43.440] [LOG]    Module helper loaded: calendar
                [2020-09-24 15:52:44.199] [LOG]    Initializing new module helper ...
                [2020-09-24 15:52:44.200] [LOG]    Module helper loaded: MMM-NowPlayingOnSpotify
                [2020-09-24 15:52:44.201] [LOG]    All module helpers loaded.
                [2020-09-24 15:52:44.413] [LOG]    Starting server on port 8080 ... 
                [2020-09-24 15:52:44.436] [LOG]    Server started ...
                [2020-09-24 15:52:44.438] [LOG]    Connecting socket for: MMM-ArduPort
                [2020-09-24 15:52:44.439] [LOG]    [MMM-ArduPort]:: Starting node_helper for module [MMM-ArduPort]
                [2020-09-24 15:52:44.440] [LOG]    Connecting socket for: MMM-TelegramBot
                [2020-09-24 15:52:44.442] [LOG]    Connecting socket for: updatenotification
                [2020-09-24 15:52:44.443] [LOG]    Connecting socket for: MMM-RBB-Weather
                [2020-09-24 15:52:44.444] [LOG]    Starting module helper: MMM-RBB-Weather
                [2020-09-24 15:52:44.445] [LOG]    Connecting socket for: calendar
                [2020-09-24 15:52:44.446] [LOG]    Starting node helper for: calendar
                [2020-09-24 15:52:44.447] [LOG]    Connecting socket for: MMM-NowPlayingOnSpotify
                [2020-09-24 15:52:44.448] [LOG]    Sockets connected & modules started ...
                [2020-09-24 15:52:44.620] [LOG]    Launching application.
                [2020-09-24 15:52:48.090] [LOG]    Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/oliver.kuck12%40gmail.com/public/basic.ics - Interval: 300000
                [2020-09-24 15:52:48.288] [LOG]    MMM-RBB-Weather[24.9.2020, 15:52:48]: Load data for ID "18228265" and "0" days ...
                [2020-09-24 15:52:48.296] [INFO]   Checking git for module: MMM-TelegramBot
                [2020-09-24 15:52:48.333] [INFO]   Checking git for module: MMM-Online-State
                [2020-09-24 15:52:48.367] [INFO]   Checking git for module: MMM-RBB-Weather
                [2020-09-24 15:52:48.398] [INFO]   Checking git for module: MMM-NowPlayingOnSpotify
                [2020-09-24 15:52:48.431] [ERROR]  (node:1440) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
                [2020-09-24 15:52:48.433] [ERROR]  (node:1440) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
                [2020-09-24 15:52:48.460] [LOG]    MMM-RBB-Weather[24.9.2020, 15:52:48]: Fetch data for day "0" ...
                [2020-09-24 15:52:48.818] [LOG]    Refreshed access token because it has expired. Expired at: 15:52:48 now is: 15:52:48
                [2020-09-24 15:52:49.005] [INFO]   Calendar-Fetcher: Broadcasting 0 events.
                [2020-09-24 15:52:49.077] [LOG]    MMM-RBB-Weather[24.9.2020, 15:52:49]: Data received, send to module ...
                [2020-09-24 15:52:49.107] [LOG]    Refreshed access token because it has expired. Expired at: 16:52:48 now is: 15:52:49
                [2020-09-24 15:53:56.041] [LOG]    Shutting down server...
                [2020-09-24 15:53:56.043] [LOG]    Stopping module helper: MMM-ArduPort
                [2020-09-24 15:53:56.045] [LOG]    Stopping module helper: MMM-TelegramBot
                [2020-09-24 15:53:56.046] [LOG]    Stopping module helper: updatenotification
                
                

                after doing what they told in the issue topic from the ArduPort Git

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @Shinji0912
                  last edited by

                  @Shinji0912 sorry, have no idea… not my module and cannot build matching system here

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    Shinji0912 @sdetweil
                    last edited by

                    @sdetweil Sad, but thank you soo much for kind of wasting your time trying to help me ^^

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      Crime @Shinji0912
                      last edited by

                      @Shinji0912 just got the “arduport” to show the data correctly! advice helped me @sdetweil
                      I connect via VNC.
                      have to set developerMode:true in the module config.js section
                      call the developer window by clicking on the keyboard ctrl+shift+i
                      I saw my mistake. function “formatValue” doesn’t work.
                      the following solution helped
                      https://github.com/Dentrax/MMM-ArduPort/issues/3

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        Shinji0912 @Crime
                        last edited by

                        @Crime I already tried to fix it like that but sadly i didn’t worked… now i don’t know what to do and i don’t have the knowledge to fix it myself atm atleast .-.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1
                        • 2
                        • 3
                        • 3 / 3
                        • 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