Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. 'getConfig' was not declared in this scope (V2.1.1) - FIXED

'getConfig' was not declared in this scope (V2.1.1) - FIXED

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 5 Posters 8.0k Views 5 Watching
  • 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.
  • Mark SwiftM Offline
    Mark SwiftM Offline
    Mark Swift
    wrote on last edited by Mark Swift
    #1

    Hi Guys,

    After upgrading to version 2.1.1 from 2.0.0 I'm getting this error... It worked fine before?

    I guess something has changed?

    1 Reply Last reply
    0
    • Mark SwiftM Offline
      Mark SwiftM Offline
      Mark Swift
      wrote on last edited by
      #2

      Fixed, seems in V2.1.1 it changed to "getControllerConfig".

      1 Reply Last reply
      4
      • M Offline
        M Offline
        Madhias
        wrote on last edited by
        #3

        Thanks, had the same problem!

        1 Reply Last reply
        1
        • meanmrgreenM Offline
          meanmrgreenM Offline
          meanmrgreen
          wrote on last edited by meanmrgreen
          #4

          Thank you :)
          Where can you find these changes?

          mfalkviddM 1 Reply Last reply
          0
          • meanmrgreenM meanmrgreen

            Thank you :)
            Where can you find these changes?

            mfalkviddM Offline
            mfalkviddM Offline
            mfalkvidd
            Mod
            wrote on last edited by
            #5

            @meanmrgreen in the git history? https://github.com/mysensors/MySensors/commit/92cbd2ac8f49fe2f8cb25726e08aac9ecd597b84

            1 Reply Last reply
            1
            • N Offline
              N Offline
              Newzwaver
              wrote on last edited by
              #6

              Can't find out how to actually fix this error. Any wording to point me in the correct direction?

              M 1 Reply Last reply
              0
              • N Newzwaver

                Can't find out how to actually fix this error. Any wording to point me in the correct direction?

                M Offline
                M Offline
                Madhias
                wrote on last edited by
                #7

                @Newzwaver If I remember correctly you have to change in your sketches from getConfig() to getControllerConfig()

                1 Reply Last reply
                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
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                19

                Online

                12.0k

                Users

                11.2k

                Topics

                113.4k

                Posts


                Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • MySensors
                • OpenHardware.io
                • Categories
                • Recent
                • Tags
                • Popular