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. My Project
  3. Temp Sensor and iobroker on rasPi3

Temp Sensor and iobroker on rasPi3

Scheduled Pinned Locked Moved My Project
25 Posts 4 Posters 7.8k 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.
  • mysensors-6043M Offline
    mysensors-6043M Offline
    mysensors-6043
    wrote on last edited by
    #3

    Hey thank' a lot.
    And by using the ESP8266 and connecting to the WAN, I'm able to attach iobroker mysensors Instance ?

    cheers .. jr

    1 Reply Last reply
    0
    • mysensors-6043M Offline
      mysensors-6043M Offline
      mysensors-6043
      wrote on last edited by
      #4

      sorry, of course I mean WLAN :-)

      mfalkviddM 1 Reply Last reply
      0
      • mysensors-6043M mysensors-6043

        sorry, of course I mean WLAN :-)

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

        @mysensors-6043 I have never used iobroker so I don't know unfortunately. But if iobroker supports MySensors ethernet gateway you should be fine.

        1 Reply Last reply
        0
        • mysensors-6043M Offline
          mysensors-6043M Offline
          mysensors-6043
          wrote on last edited by
          #6

          Hi again
          I got stuck somewhere. Have my Arduino nano up and running, blink example works fine.
          As soon as choose the GatewayESP8266 sketch, while compiling I get the error

          Arduino: 1.6.11 (Windows 10), Board: "Arduino Nano, ATmega328"

          Z:\Arduino\MySensors-master\examples\GatewayESP8266\GatewayESP8266.ino:136:27: fatal error: ESP8266WiFi.h: No such file or directory

          #include <ESP8266WiFi.h ^

          compilation terminated.

          exit status 1
          Error compiling for board Arduino Nano.

          The library WiFiEsp by bportaluri V2.1.2 and MySensors 2.0.0 is installed

          1 Reply Last reply
          0
          • mysensors-6043M Offline
            mysensors-6043M Offline
            mysensors-6043
            wrote on last edited by
            #7

            Arduino: 1.6.11 (Windows 10), Board: "Arduino Nano, ATmega328"

            C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\juerg\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\juerg\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries Z:\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10611 -build-path C:\Users\juerg\AppData\Local\Temp\build6a79aaaf9edceffc501302251a9673e9.tmp -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose Z:\Arduino\MySensors-master\examples\GatewayESP8266\GatewayESP8266.ino
            C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\juerg\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\juerg\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries Z:\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10611 -build-path C:\Users\juerg\AppData\Local\Temp\build6a79aaaf9edceffc501302251a9673e9.tmp -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose Z:\Arduino\MySensors-master\examples\GatewayESP8266\GatewayESP8266.ino
            Using board 'nano' 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
            Build options changed, rebuilding all
            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=10611 -DARDUINO_AVR_NANO -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\juerg\AppData\Local\Temp\build6a79aaaf9edceffc501302251a9673e9.tmp\sketch\GatewayESP8266.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=10611 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Users\juerg\AppData\Local\Temp\build6a79aaaf9edceffc501302251a9673e9.tmp\sketch\GatewayESP8266.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=10611 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Users\juerg\AppData\Local\Temp\build6a79aaaf9edceffc501302251a9673e9.tmp\sketch\GatewayESP8266.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=10611 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\juerg\AppData\Local\Temp\build6a79aaaf9edceffc501302251a9673e9.tmp\sketch\GatewayESP8266.ino.cpp" -o "C:\Users\juerg\AppData\Local\Temp\build6a79aaaf9edceffc501302251a9673e9.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
            Z:\Arduino\MySensors-master\examples\GatewayESP8266\GatewayESP8266.ino:136:27: fatal error: ESP8266WiFi.h: No such file or directory

            #include <ESP8266WiFi.h>

                                   ^
            

            compilation terminated.

            Using library EEPROM at version 2.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM
            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 Nano.

            mfalkviddM 1 Reply Last reply
            0
            • mysensors-6043M mysensors-6043

              Arduino: 1.6.11 (Windows 10), Board: "Arduino Nano, ATmega328"

              C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\juerg\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\juerg\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries Z:\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10611 -build-path C:\Users\juerg\AppData\Local\Temp\build6a79aaaf9edceffc501302251a9673e9.tmp -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose Z:\Arduino\MySensors-master\examples\GatewayESP8266\GatewayESP8266.ino
              C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\juerg\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\juerg\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries Z:\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10611 -build-path C:\Users\juerg\AppData\Local\Temp\build6a79aaaf9edceffc501302251a9673e9.tmp -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose Z:\Arduino\MySensors-master\examples\GatewayESP8266\GatewayESP8266.ino
              Using board 'nano' 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
              Build options changed, rebuilding all
              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=10611 -DARDUINO_AVR_NANO -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\juerg\AppData\Local\Temp\build6a79aaaf9edceffc501302251a9673e9.tmp\sketch\GatewayESP8266.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=10611 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Users\juerg\AppData\Local\Temp\build6a79aaaf9edceffc501302251a9673e9.tmp\sketch\GatewayESP8266.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=10611 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Users\juerg\AppData\Local\Temp\build6a79aaaf9edceffc501302251a9673e9.tmp\sketch\GatewayESP8266.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=10611 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\juerg\AppData\Local\Temp\build6a79aaaf9edceffc501302251a9673e9.tmp\sketch\GatewayESP8266.ino.cpp" -o "C:\Users\juerg\AppData\Local\Temp\build6a79aaaf9edceffc501302251a9673e9.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
              Z:\Arduino\MySensors-master\examples\GatewayESP8266\GatewayESP8266.ino:136:27: fatal error: ESP8266WiFi.h: No such file or directory

              #include <ESP8266WiFi.h>

                                     ^
              

              compilation terminated.

              Using library EEPROM at version 2.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM
              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 Nano.

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

              @mysensors-6043

              Arduino: 1.6.11 (Windows 10), Board: "Arduino Nano, ATmega328"
              

              this means that the Arduino IDE is trying to compile the code for an Arduino Nano. Since the gateway sketch is for ESP8266, it will fail to compile for Arduino nano.

              Select the ESP8266 in the Tools->Board menu. Follow the instructions on https://github.com/esp8266/Arduino#installing-with-boards-manager if you haven't installed the ESP8266 board.

              1 Reply Last reply
              0
              • mysensors-6043M Offline
                mysensors-6043M Offline
                mysensors-6043
                wrote on last edited by
                #9

                Hi Thank's
                I changed Board Type to ESP8266, but now I get

                Sketch uses 243,757 bytes (56%) of program storage space. Maximum is 434,160 bytes.
                Global variables use 34,440 bytes (42%) of dynamic memory, leaving 47,480 bytes for local variables. Maximum is 81,920 bytes.
                warning: espcomm_sync failed
                error: espcomm_open failed
                error: espcomm_upload_mem failed
                error: espcomm_upload_mem failed

                and the serial monitor say's wifi shield not present -> yes this is true not connected yet

                1 Reply Last reply
                0
                • mysensors-6043M Offline
                  mysensors-6043M Offline
                  mysensors-6043
                  wrote on last edited by
                  #10

                  https://www.google.ch/search?q=arduino+nano+wifi&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjXsMHIxPvOAhUENxQKHcIwAUoQ_AUICCgB&biw=1680&bih=933#imgrc=yNkJrmEzEp2z2M%3A

                  That's my WiFi shield

                  1 Reply Last reply
                  0
                  • mysensors-6043M Offline
                    mysensors-6043M Offline
                    mysensors-6043
                    wrote on last edited by
                    #11

                    is this the correct cabling ?

                    https://www.google.ch/search?q=arduino+nano+wifi&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjXsMHIxPvOAhUENxQKHcIwAUoQ_AUICCgB&biw=1680&bih=933#imgrc=Rk6oZ2LAUQDc6M%3A

                    mfalkviddM 1 Reply Last reply
                    0
                    • mysensors-6043M mysensors-6043

                      is this the correct cabling ?

                      https://www.google.ch/search?q=arduino+nano+wifi&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjXsMHIxPvOAhUENxQKHcIwAUoQ_AUICCgB&biw=1680&bih=933#imgrc=Rk6oZ2LAUQDc6M%3A

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

                      @mysensors-6043 sorry, I didn't realize you were using the esp as wifi shield. The esp gateway sketch is meant to run directly on an esp board such as nodemcu, adafruit huzza, wemos d1 mini, esp-12 and similar.

                      You could see if @Tagore-PDE got something working in this thread: https://forum.mysensors.org/topic/4374/arduino-uno-esp8266/

                      1 Reply Last reply
                      0
                      • Tagore.PDET Offline
                        Tagore.PDET Offline
                        Tagore.PDE
                        wrote on last edited by
                        #13

                        not yet, but in some days i will get that running.
                        regards.

                        1 Reply Last reply
                        0
                        • mysensors-6043M Offline
                          mysensors-6043M Offline
                          mysensors-6043
                          wrote on last edited by
                          #14

                          newby question, sorry ;-)
                          I got stuck somehow. Built my Arduino Nano with NRF24L01 board. This is working with RF24 Library/examples between two Arduinos.
                          I'd like to attach one sensor to iobroker/mysensors instance. So I took the tempsensor sketch from mysensors Homepage. https://www.mysensors.org/build/temp

                          While compiling the sketch I get

                          "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=10611 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IZ:\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IZ:\Arduino\libraries\DallasTemperature" "-IZ:\Arduino\libraries\OneWire" "C:\Users\juerg\AppData\Local\Temp\build14b4b70b0a2cd12641001758a79163f9.tmp\sketch\TempSensorRIJ.ino.cpp" -o "C:\Users\juerg\AppData\Local\Temp\build14b4b70b0a2cd12641001758a79163f9.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
                          In file included from Z:\Arduino\MySensors-master\examples\TempSensor\TempSensorRIJ\TempSensorRIJ.ino:29:0:

                          Z:\Arduino\libraries\MySensors/MySensors.h:287:4: 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.

                          ^
                          

                          Using library MySensors at version 2.0.0 in folder: Z:\Arduino\libraries\MySensors
                          Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
                          Using library DallasTemperature at version 3.7.6 in folder: Z:\Arduino\libraries\DallasTemperature
                          Using library OneWire at version 2.3.2 in folder: Z:\Arduino\libraries\OneWire
                          exit status 1
                          Error compiling for board Arduino Nano.

                          Best regards and I appreciate any help :-)

                          sundberg84S 1 Reply Last reply
                          0
                          • mysensors-6043M mysensors-6043

                            newby question, sorry ;-)
                            I got stuck somehow. Built my Arduino Nano with NRF24L01 board. This is working with RF24 Library/examples between two Arduinos.
                            I'd like to attach one sensor to iobroker/mysensors instance. So I took the tempsensor sketch from mysensors Homepage. https://www.mysensors.org/build/temp

                            While compiling the sketch I get

                            "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=10611 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IZ:\Arduino\libraries\MySensors" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IZ:\Arduino\libraries\DallasTemperature" "-IZ:\Arduino\libraries\OneWire" "C:\Users\juerg\AppData\Local\Temp\build14b4b70b0a2cd12641001758a79163f9.tmp\sketch\TempSensorRIJ.ino.cpp" -o "C:\Users\juerg\AppData\Local\Temp\build14b4b70b0a2cd12641001758a79163f9.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
                            In file included from Z:\Arduino\MySensors-master\examples\TempSensor\TempSensorRIJ\TempSensorRIJ.ino:29:0:

                            Z:\Arduino\libraries\MySensors/MySensors.h:287:4: 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.

                            ^
                            

                            Using library MySensors at version 2.0.0 in folder: Z:\Arduino\libraries\MySensors
                            Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
                            Using library DallasTemperature at version 3.7.6 in folder: Z:\Arduino\libraries\DallasTemperature
                            Using library OneWire at version 2.3.2 in folder: Z:\Arduino\libraries\OneWire
                            exit status 1
                            Error compiling for board Arduino Nano.

                            Best regards and I appreciate any help :-)

                            sundberg84S Offline
                            sundberg84S Offline
                            sundberg84
                            Hardware Contributor
                            wrote on last edited by
                            #15

                            @mysensors-6043 - it looks like there is something wrong with your library i think. Maybe you have library in two different places. Check your sketchfolder and your application(arduino) folder.

                            Controller: Proxmox VM - Home Assistant
                            MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                            MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                            RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                            mysensors-6043M 2 Replies Last reply
                            0
                            • sundberg84S sundberg84

                              @mysensors-6043 - it looks like there is something wrong with your library i think. Maybe you have library in two different places. Check your sketchfolder and your application(arduino) folder.

                              mysensors-6043M Offline
                              mysensors-6043M Offline
                              mysensors-6043
                              wrote on last edited by
                              #16

                              @sundberg84
                              Hi thank's a lot for Your answer. Did a reinstall of the IDE, now only one library Installation. Now I get another error

                              Arduino: 1.6.11 (Windows 10), Board: "Arduino Nano, ATmega328"

                              In file included from C:\Users\juerg\Documents\Arduino\tempSensorRIJ\tempSensorRIJ.ino:30:0:

                              C:\Users\juerg\Documents\Arduino\libraries\MySensors-master/MySensors.h:287:4: 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.

                              ^
                              

                              C:\Users\juerg\Documents\Arduino\tempSensorRIJ\tempSensorRIJ.ino:32:31: fatal error: DallasTemperature.h: No such file or directory

                              #include <DallasTemperature.h>

                                                         ^
                              

                              compilation terminated.

                              exit status 1
                              Error compiling for board Arduino Nano.

                              This report would have more information with
                              "Show verbose output during compilation"
                              option enabled in File -> Preferences.

                              1 Reply Last reply
                              0
                              • sundberg84S sundberg84

                                @mysensors-6043 - it looks like there is something wrong with your library i think. Maybe you have library in two different places. Check your sketchfolder and your application(arduino) folder.

                                mysensors-6043M Offline
                                mysensors-6043M Offline
                                mysensors-6043
                                wrote on last edited by
                                #17

                                @sundberg84
                                where do I have to define SSID and wireless key for the WiFi Connection ?

                                sundberg84S 1 Reply Last reply
                                0
                                • mysensors-6043M mysensors-6043

                                  @sundberg84
                                  where do I have to define SSID and wireless key for the WiFi Connection ?

                                  sundberg84S Offline
                                  sundberg84S Offline
                                  sundberg84
                                  Hardware Contributor
                                  wrote on last edited by sundberg84
                                  #18

                                  @mysensors-6043 - good question, never used wifi for MySensors.

                                  if you are using 2.0 I found this in github:

                                  #define MY_ESP8266_SSID "MySSID"
                                  #define MY_ESP8266_PASSWORD "MyVerySecretPassword"
                                  

                                  Controller: Proxmox VM - Home Assistant
                                  MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                                  MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                                  RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                                  mysensors-6043M 1 Reply Last reply
                                  0
                                  • sundberg84S sundberg84

                                    @mysensors-6043 - good question, never used wifi for MySensors.

                                    if you are using 2.0 I found this in github:

                                    #define MY_ESP8266_SSID "MySSID"
                                    #define MY_ESP8266_PASSWORD "MyVerySecretPassword"
                                    
                                    mysensors-6043M Offline
                                    mysensors-6043M Offline
                                    mysensors-6043
                                    wrote on last edited by
                                    #19

                                    @sundberg84
                                    Hi again, many thank's get closer. I had to install two more libraries (Dallas, OneWire).
                                    After adding the two definitions above, this is still the error

                                    Arduino: 1.6.11 (Windows 10), Board: "Arduino Nano, ATmega328"

                                    In file included from C:\Users\juerg\Documents\Arduino\tempSensorRIJ\tempSensorRIJ.ino:30:0:

                                    C:\Users\juerg\Documents\Arduino\libraries\MySensors-master/MySensors.h:287:4: 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.

                                    ^
                                    

                                    exit status 1
                                    Error compiling for board Arduino Nano.

                                    This report would have more information with
                                    "Show verbose output during compilation"
                                    option enabled in File -> Preferences.

                                    1 Reply Last reply
                                    0
                                    • mysensors-6043M Offline
                                      mysensors-6043M Offline
                                      mysensors-6043
                                      wrote on last edited by
                                      #20

                                      Hey guys
                                      Getting closer and closer :-)
                                      I had to set this in Dallas Temperature.h

                                      // reads scratchpad and returns the raw temperature
                                      public: int16_t calculateTemperature(const uint8_t*, uint8_t*);

                                      **public:** int16_t millisToWaitForConversion(uint8_t);
                                      

                                      Seems my Radio ist working. Please see Serial Monitor :+1:

                                      0;255;3;0;9;Starting gateway (RRNGA-, 2.0.0)
                                      0;255;3;0;9;TSM:INIT
                                      0;255;3;0;9;TSM:RADIO:OK
                                      0;255;3;0;9;TSM:GW MODE
                                      0;255;3;0;9;TSM:READY
                                      0;255;3;0;14;Gateway startup complete.
                                      0;255;0;0;18;2.0.0
                                      0;255;3;0;11;Relay + Temp
                                      0;255;3;0;12;1.0
                                      0;1;0;0;3;
                                      0;2;0;0;3;
                                      0;255;3;0;9;No registration required
                                      0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1

                                      Now, since I'm use iobroker with a mysensors.0 instance, I'd like to read Temperature within iobroker.

                                      mySensors adapter settings

                                      Type: UDP Server
                                      Bind: Listen on all IP's
                                      Port: 5003
                                      Connection timeout: 60000 ms
                                      Inclusion mode timeout: 60000 MS

                                      Anyone experienced with iobroker and mysensors ?

                                      mysensors-6043M 1 Reply Last reply
                                      0
                                      • mysensors-6043M mysensors-6043

                                        Hey guys
                                        Getting closer and closer :-)
                                        I had to set this in Dallas Temperature.h

                                        // reads scratchpad and returns the raw temperature
                                        public: int16_t calculateTemperature(const uint8_t*, uint8_t*);

                                        **public:** int16_t millisToWaitForConversion(uint8_t);
                                        

                                        Seems my Radio ist working. Please see Serial Monitor :+1:

                                        0;255;3;0;9;Starting gateway (RRNGA-, 2.0.0)
                                        0;255;3;0;9;TSM:INIT
                                        0;255;3;0;9;TSM:RADIO:OK
                                        0;255;3;0;9;TSM:GW MODE
                                        0;255;3;0;9;TSM:READY
                                        0;255;3;0;14;Gateway startup complete.
                                        0;255;0;0;18;2.0.0
                                        0;255;3;0;11;Relay + Temp
                                        0;255;3;0;12;1.0
                                        0;1;0;0;3;
                                        0;2;0;0;3;
                                        0;255;3;0;9;No registration required
                                        0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1

                                        Now, since I'm use iobroker with a mysensors.0 instance, I'd like to read Temperature within iobroker.

                                        mySensors adapter settings

                                        Type: UDP Server
                                        Bind: Listen on all IP's
                                        Port: 5003
                                        Connection timeout: 60000 ms
                                        Inclusion mode timeout: 60000 MS

                                        Anyone experienced with iobroker and mysensors ?

                                        mysensors-6043M Offline
                                        mysensors-6043M Offline
                                        mysensors-6043
                                        wrote on last edited by
                                        #21

                                        @mysensors-6043
                                        Got some more debug Messages

                                        0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
                                        0;255;3;0;9;TSP:SANCHK:OK
                                        0;255;3;0;9;TSP:MSG:READ 0-0-0 s=255,c=3,t=14,pt=0,l=25,sg=0:Gateway startup complete.
                                        0;255;3;0;9;!TSP:MSG:PVER mismatch
                                        0;255;3;0;9;TSP:SANCHK:OK
                                        0;255;3;0;9;TSP:SANCHK:OK
                                        0;255;3;0;9;TSP:SANCHK:OK
                                        0;255;3;0;9;TSP:MSG:READ 0-0-0 s=255,c=3,t=14,pt=0,l=25,sg=0:Gateway startup complete.
                                        0;255;3;0;9;!TSP:MSG:PVER mismatch
                                        0;255;3;0;9;TSP:SANCHK:OK
                                        0;255;3;0;9;TSP:SANCHK:OK
                                        0;255;3;0;9;TSP:SANCHK:OK
                                        0;255;3;0;9;TSP:SANCHK:OK

                                        1 Reply Last reply
                                        0
                                        • mysensors-6043M Offline
                                          mysensors-6043M Offline
                                          mysensors-6043
                                          wrote on last edited by
                                          #22

                                          Have this up and running on a nodeMCU. WLAN ist ok, get data on iobroker/mysensors instance.
                                          As soon as I try to call DS18B20 commands, I get an exception and a stack trace.

                                          DS18B20.requestTemperatures();

                                          What causes this ?

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


                                          17

                                          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