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. Motion Sensors

Motion Sensors

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 3 Posters 1.4k Views 3 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.
  • mntlvrM mntlvr

    I updated my my sensors library to version 2.2 and now can not compile any of my motion sensors
    I get this error message which I never had before
    Arduino: 1.8.3 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"

    C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Admin\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10803 -build-path C:\Users\Admin\AppData\Local\Temp\arduino_build_276754 -warnings=default -build-cache C:\Users\Admin\AppData\Local\Temp\arduino_cache_286133 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Admin\Desktop_0516-MotionSensorv2.choose_node_ID_0516-MotionSensorv2.choose_node_ID.ino
    C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Admin\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10803 -build-path C:\Users\Admin\AppData\Local\Temp\arduino_build_276754 -warnings=default -build-cache C:\Users\Admin\AppData\Local\Temp\arduino_cache_286133 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Admin\Desktop_0516-MotionSensorv2.choose_node_ID_0516-MotionSensorv2.choose_node_ID.ino
    Using board 'pro' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
    Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
    WARNING: Category '' in library Audio is not valid. Setting to 'Uncategorized'
    WARNING: Spurious .ci folder in 'MySensors' library
    WARNING: Spurious .mystools folder in 'MySensors' library
    WARNING: Category '' in library Scheduler is not valid. Setting to 'Uncategorized'
    WARNING: Category '' in library USBHost is not valid. Setting to 'Uncategorized'
    Detecting libraries used...
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\Admin\AppData\Local\Temp\arduino_build_276754\sketch_0516-MotionSensorv2.choose_node_ID.ino.cpp" -o "nul"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "C:\Users\Admin\AppData\Local\Temp\arduino_build_276754\sketch_0516-MotionSensorv2.choose_node_ID.ino.cpp" -o "nul"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Admin\AppData\Local\Temp\arduino_build_276754\sketch_0516-MotionSensorv2.choose_node_ID.ino.cpp" -o "nul"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors\utility" "C:\Users\Admin\Documents\Arduino\libraries\MySensors\MySensor.cpp" -o "nul"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors\utility" "C:\Users\Admin\Documents\Arduino\libraries\MySensors\utility\LowPower.cpp" -o "nul"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors\utility" "C:\Users\Admin\Documents\Arduino\libraries\MySensors\utility\MsTimer2.cpp" -o "nul"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors\utility" "C:\Users\Admin\Documents\Arduino\libraries\MySensors\utility\RF24.cpp" -o "nul"
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src\SPI.cpp" -o "nul"
    Generating function prototypes...
    "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10803 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Admin\Documents\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Admin\AppData\Local\Temp\arduino_build_276754\sketch_0516-MotionSensorv2.choose_node_ID.ino.cpp" -o "C:\Users\Admin\AppData\Local\Temp\arduino_build_276754\preproc\ctags_target_for_gcc_minus_e.cpp"
    In file included from C:\Users\Admin\Desktop_0516-MotionSensorv2.choose_node_ID_0516-MotionSensorv2.choose_node_ID.ino:17:0:

    C:\Users\Admin\Documents\Arduino\libraries\MySensors/MySensors.h:389:2: error: #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.

    #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.

    ^

    Multiple libraries were found for "MySensors.h"
    Used: C:\Users\Admin\Documents\Arduino\libraries\MySensors
    Not used: C:\Program Files (x86)\Arduino\libraries\MySensors
    Not used: C:\Program Files (x86)\Arduino\libraries\MySensor
    Multiple libraries were found for "SPI.h"
    Used: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
    Not used: C:\Program Files (x86)\Arduino\libraries\SPI
    Using library MySensors at version 2.2.0 in folder: C:\Users\Admin\Documents\Arduino\libraries\MySensors
    Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
    exit status 1
    Error compiling for board Arduino Pro or Pro Mini.
    Error downloading http://arduino.esp8266.com/package_esp8266com_index.json

    Can anyone help
    Bob

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

    @mntlvr you have 3 installations of MySensors. Not good. You also have 2 installations of the SPI library. Delete the ones you don't want to use.
    And you seem to have a broken setting for esp8266. Perhaps a bad URL in the preferences dialog?

    None of these are MySensors-related.

    However, this message is from MySensors:

    #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
    

    My guess is that you're upgrading from MySensors 1.5? If so, follow the guide at https://forum.mysensors.org/topic/4276/converting-a-sketch-from-1-5-x-to-2-0-x

    1 Reply Last reply
    0
    • mntlvrM Offline
      mntlvrM Offline
      mntlvr
      wrote on last edited by
      #3

      Thanks ,mfalkvidd
      I just re-created the gateway in Vera and it show all okay now , guess I have to update all of my sensors that I have created with older version.
      By the way which librarys should I keep , the one where Arudino IDE is launched from or the one that was created automatically when I unzipped latest mysensors file?

      mfalkviddM 1 Reply Last reply
      0
      • mntlvrM mntlvr

        Thanks ,mfalkvidd
        I just re-created the gateway in Vera and it show all okay now , guess I have to update all of my sensors that I have created with older version.
        By the way which librarys should I keep , the one where Arudino IDE is launched from or the one that was created automatically when I unzipped latest mysensors file?

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

        @mntlvr in this case I recommend deleting all of them and install MySensors using the Arduino IDE Library Manager. That way you will only have one install, and it will be placed in the proper folder.

        1 Reply Last reply
        0
        • mntlvrM Offline
          mntlvrM Offline
          mntlvr
          wrote on last edited by
          #5

          Okay, mfalkvidd
          That took care of all of those errors.
          In the Ethernet gateway do you have to put anything in the void setup, or void loop or presentation areas?
          Bob

          mfalkviddM 1 Reply Last reply
          0
          • mntlvrM mntlvr

            Okay, mfalkvidd
            That took care of all of those errors.
            In the Ethernet gateway do you have to put anything in the void setup, or void loop or presentation areas?
            Bob

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

            @mntlvr no, they can be left empty.

            1 Reply Last reply
            0
            • mntlvrM Offline
              mntlvrM Offline
              mntlvr
              wrote on last edited by
              #7

              mfakvidd
              I have built two different gw's one Ethernet and one esp8266 WiFi.Both see and respond to my sensors. I am using the latest library and IDE 1.84. The issues I am having is neither gw will configure in either one of my Vera's the Vera3 model or the VeraPlus model.It seems no one on this forum has a Vera connected to their vera that have any idea as to why it will not configure. Now when I ran the Ethernet build for 3 years it worked just fine with Library 1.42 but since I have used the 2.2 library I have not successfully made any gw work . Now I uninstalled Arduino and all libraries and re-installed Arduino IDE and then installed MySensors Library 1.42 and then loaded the very same sketch I had used 3 years ago and loaded the Vera files from 3 years ago and it worked like a charm. Is there any idea you have that can help me I wish to use the latest Libraries with the latest Vera plugin but the just do not work together.
              All of my home automation is down right now until I can get MYSensors up and running with the latest gw.
              Thanks and hope you have some insight as to whether the Vera plugin is not compatible with the latest MySensors library or if there is another issue.But I know the hardware works when everything is older versions of library and Vera plugin

              mfalkviddM 1 Reply Last reply
              0
              • mntlvrM mntlvr

                mfakvidd
                I have built two different gw's one Ethernet and one esp8266 WiFi.Both see and respond to my sensors. I am using the latest library and IDE 1.84. The issues I am having is neither gw will configure in either one of my Vera's the Vera3 model or the VeraPlus model.It seems no one on this forum has a Vera connected to their vera that have any idea as to why it will not configure. Now when I ran the Ethernet build for 3 years it worked just fine with Library 1.42 but since I have used the 2.2 library I have not successfully made any gw work . Now I uninstalled Arduino and all libraries and re-installed Arduino IDE and then installed MySensors Library 1.42 and then loaded the very same sketch I had used 3 years ago and loaded the Vera files from 3 years ago and it worked like a charm. Is there any idea you have that can help me I wish to use the latest Libraries with the latest Vera plugin but the just do not work together.
                All of my home automation is down right now until I can get MYSensors up and running with the latest gw.
                Thanks and hope you have some insight as to whether the Vera plugin is not compatible with the latest MySensors library or if there is another issue.But I know the hardware works when everything is older versions of library and Vera plugin

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

                @mntlvr sorry, I have no experience with Vera

                1 Reply Last reply
                0
                • mntlvrM Offline
                  mntlvrM Offline
                  mntlvr
                  wrote on last edited by
                  #9

                  but you do not need experience with a Vera if I am doing something wrong with the gw then I need to know but since you are a admin perhaps you can talk to the people who do have the knowledge of the plugin's and see if there is an issue with the latest plugin files and Vera or the gateways

                  dbemowskD 1 Reply Last reply
                  0
                  • mntlvrM mntlvr

                    but you do not need experience with a Vera if I am doing something wrong with the gw then I need to know but since you are a admin perhaps you can talk to the people who do have the knowledge of the plugin's and see if there is an issue with the latest plugin files and Vera or the gateways

                    dbemowskD Offline
                    dbemowskD Offline
                    dbemowsk
                    wrote on last edited by
                    #10

                    @mntlvr you are working the same issue in 2 threads again. Did you see my latest posts in the other thread?

                    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                    1 Reply Last reply
                    0
                    • mntlvrM Offline
                      mntlvrM Offline
                      mntlvr
                      wrote on last edited by mntlvr
                      #11

                      I am asking for help and thee is no one in Vera that can help so I am going to ask admin or others to help solve this problem. And yes I read you last post but you have no experience with Ethernet or Wifi so I must ask behond Vera postings and you would do the same

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      22

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.1k

                      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