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. v2.0 and SerialGateway

v2.0 and SerialGateway

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 1.2k Views 2 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.
  • Kodiak80K Offline
    Kodiak80K Offline
    Kodiak80
    wrote on last edited by
    #1

    I just got started with a goal of building a few simple temperature sensors. I used the IDE to install the latest v2.X release and followed the SerialGateway instructions. However it appears that the instructions and example are based on an earlier release as there are numerous missing libraries/includes...but also and include for MySensor.h as opposed to MySensors.h.

    Looking at the SerialGateway example provided with the v2.0 install, it appears to be just a stub. I'm sure I missing something here, so help getting me back on track would be appreciated. Is there are current v2.0 SerialGateway sketch or should i be using the one provided in the tutorial? If the older one is still valid, do I need to grab the older libraries in addition to the v2.0 install from the IDE?

    I appreciate the help and patience with newbie questions.

    mfalkviddM 1 Reply Last reply
    0
    • Kodiak80K Kodiak80

      I just got started with a goal of building a few simple temperature sensors. I used the IDE to install the latest v2.X release and followed the SerialGateway instructions. However it appears that the instructions and example are based on an earlier release as there are numerous missing libraries/includes...but also and include for MySensor.h as opposed to MySensors.h.

      Looking at the SerialGateway example provided with the v2.0 install, it appears to be just a stub. I'm sure I missing something here, so help getting me back on track would be appreciated. Is there are current v2.0 SerialGateway sketch or should i be using the one provided in the tutorial? If the older one is still valid, do I need to grab the older libraries in addition to the v2.0 install from the IDE?

      I appreciate the help and patience with newbie questions.

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

      @Kodiak80 very welcome to the MySensors community!

      The build page still shows the 1.5 examples. An update is on the way, but still some time away unfortunately. Sorry for the confusion.

      The example included with 2.0 is the one that you should use. The sketch is very simple, which is on purpose. There really isn't more you need to do to get it running :) It is possible to extend from there, but start with just the example and add more when you've got the basics working.

      1 Reply Last reply
      0
      • Kodiak80K Offline
        Kodiak80K Offline
        Kodiak80
        wrote on last edited by
        #3

        Thanks for the quick replay. I'm new to Arduino, so maybe I'm missing something, but the SerialGateway example with v2.X has empty setup and loop functions. Without those I was under the impression there was no logic in this sketch. Particularly when I compare it to the version in the Serial Gateway video tutorial.

        On a related note, I setup one of my Dallas Temperature sensors following the tutorial for that sensor. It appears the example sketch provided is also for a previous version of MySensors (pre-v2.x), and needs some updates to be compatible with the latest version. Is my best option to just update that sketch or is there another one around for the current release?

        I appreciate the help.

        mfalkviddM 1 Reply Last reply
        0
        • Kodiak80K Kodiak80

          Thanks for the quick replay. I'm new to Arduino, so maybe I'm missing something, but the SerialGateway example with v2.X has empty setup and loop functions. Without those I was under the impression there was no logic in this sketch. Particularly when I compare it to the version in the Serial Gateway video tutorial.

          On a related note, I setup one of my Dallas Temperature sensors following the tutorial for that sensor. It appears the example sketch provided is also for a previous version of MySensors (pre-v2.x), and needs some updates to be compatible with the latest version. Is my best option to just update that sketch or is there another one around for the current release?

          I appreciate the help.

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

          @Kodiak80 the Dallas example for MySensors 2 is avaliable at https://github.com/mysensors/MySensorsArduinoExamples/blob/master/examples/DallasTemperatureSensor/DallasTemperatureSensor.ino

          The sketch needs some additional libraries. The libraries are included if you download the entire repo from https://github.com/mysensors/MySensorsArduinoExamples

          Unfortunately, some of the libraries have introduced breaking changes so it is not possible to use the libraries that can be installed from thr Arduino IDE library manager.

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


          11

          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