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. Sensor node doesn't transmit to base station unless serial monitor connected

Sensor node doesn't transmit to base station unless serial monitor connected

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 3 Posters 1.4k 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.
  • R Offline
    R Offline
    rickmontana83
    wrote on last edited by
    #1

    I have a simple two-node network with:

    1. A "stock" SerialGateway gateway (from the example)

    2. A sensor node with several sensors attached (all sketch code derived from a mashup of MySensors examples)

    Both boards use Arduino ProMini's @ 16MHz/5V.

    What I'm seeing is that the base station will not receive updates from the sensor node UNLESS I connect to it with the serial monitor (i.e. Ctrl-Shift-M in the Arduino IDE). Once I do that we're in business, and the boards will communicate just fine for hours (or until I bump the fiddly breadboard wiring... hehe...)

    Has anyone else seen an issue whereby a sensor node won't transmit until you connect over serial? I've looked at the node startup code and I don't see anything that would block, but I'm sure I've overlooked something.

    Debug is turned on in MyConfig.h.

    1 Reply Last reply
    0
    • rvendrameR Offline
      rvendrameR Offline
      rvendrame
      Hero Member
      wrote on last edited by
      #2

      Can we see your multi sensor's sketch? And how are you powering that node?

      Home Assistant / Vera Plus UI7
      ESP8266 GW + mySensors 2.3.2
      Alexa / Google Home

      1 Reply Last reply
      0
      • BulldogLowellB Offline
        BulldogLowellB Offline
        BulldogLowell
        Contest Winner
        wrote on last edited by
        #3

        @rickmontana83 said:

        Has anyone else seen an issue whereby a sensor node won't transmit until you connect over serial?

        yes, but for the life of me, I cannot recall why I had that problem other than to say that I recall using the TX/RX UART for another purpose...

        try @rvendrame's advice and a schematic (or just a good description on how you've wired up your rig).

        1 Reply Last reply
        0
        • R Offline
          R Offline
          rickmontana83
          wrote on last edited by
          #4

          Erp... strike that. Looks like the MySensors nodes are working just fine. It's the interface to Home Assistant that seems to be buggy. I found the MYSController app to monitor the gateway directly, and I can see everything coming through from my sensors, serial connection or no.

          So, case closed here, but the search for the best controller to pair with my MySensors network goes on...

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


          12

          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