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-Stock Cannot read property 'toLowerCase'

    Scheduled Pinned Locked Moved Troubleshooting
    34 Posts 2 Posters 12.8k Views 2 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.
    • B Offline
      brendan_c23 @sdetweil
      last edited by

      @sdetweil yes, and I remember there being a delay before when it worked (around 5 mins) , but never this long as I am yet to see it, but here is the config
      {
      module: “MMM-Stock”,
      position: “bottom_right”,
      config: {
      companies: [“SPY”, “GME”, “AMC”, “NOK”, “BB”]
      }
      },

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        brendan_c23 @brendan_c23
        last edited by

        @sdetweil Could you try running it with both my config entry and MMM-stock.js entry I’ve posted and let me know if it works for you?

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

          @brendan_c23 I have been doing that… it worked before, and doesn’t work now…

          the node_helper request for the stock info says that the response isn’t right…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            brendan_c23 @sdetweil
            last edited by

            @sdetweil What do you think it could be? I am going to try copying original .js from hakanmhmd and make sure I didnt make any small changes I wasnt aware of , or maybe just delete and try to re download it

            S B 2 Replies Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @brendan_c23
              last edited by

              @brendan_c23

              [06.03.2021 12:14.17.736] [LOG]   stock processing request urls=["https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&outputsize=compact&symbol=MSFT&apikey=xxxxxxxxxxxxxxxxx","https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&outputsize=compact&symbol=GOOG&apikey=xxxxxxxxxxxxxxxxx","https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&outputsize=compact&symbol=ORCL&apikey=xxxxxxxxxxxxxxxxx","https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&outputsize=compact&symbol=FB&apikey=xxxxxxxxxxxxxxxxx","https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&outputsize=compact&symbol=AAPL&apikey=xxxxxxxxxxxxxxxxx"]
              [06.03.2021 12:14.17.828] [LOG]   stock received request response
              [06.03.2021 12:14.17.828] [LOG]   stock request response no meta info
              

              the api is not returning the data expected… it was working for before with that one little change…

              I have tried all kinds of updates, but nothing resolves this issue…
              the module sent the request to the node helper, the helper is working thru the list, but never gets a good response

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • B Offline
                brendan_c23 @brendan_c23
                last edited by

                @brendan_c23 Not completely sure on how to delete a module though, my Pi4 doesnt give me the option when right-clicking on the folder

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

                  @brendan_c23 from the MagicMirror/modules folder

                  rm -rf module_folder_name

                  careful, rf - recursive force… get the wrong folder and there is no recovery

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  B 1 Reply Last reply Reply Quote 0
                  • B Offline
                    brendan_c23 @sdetweil
                    last edited by

                    @sdetweil Do you think I should delete it then redownload? Might be the companies… although they have worked before

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

                      @brendan_c23 I changed companies too no difference…

                      i think the api source
                      “https://www.alphavantage.co/”,
                      is broken

                      altho their status page says no, thru yesterday
                      https://www.saashub.com/alpha-vantage-status

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      B 1 Reply Last reply Reply Quote 0
                      • B Offline
                        brendan_c23 @sdetweil
                        last edited by

                        @sdetweil What do you think we could do?

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

                          @brendan_c23 i think we have to wait. i have another app that uses that api, and it is also dead

                          my app uses their js libary, so it must be pretty big trouble

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          B 1 Reply Last reply Reply Quote 1
                          • B Offline
                            brendan_c23 @sdetweil
                            last edited by

                            @sdetweil is there anybody we can notify that its not working so they can begin working on fixing it?

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

                              @brendan_c23 no idea

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                @sdetweil stocks are working today

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 1

                                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
                                • 2 / 2
                                • 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