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. Simple network not working.

Simple network not working.

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

    Hi all.
    I have tried for a few days to get a simple sensor setup to work but I'm about to give up. I must have misunderstood something and I just can't figure it out.

    This is what I want to do.
    No Controller. Just 2 nodes.

    • One sensor with a DHT-11. I think I got this working. Uses a static id.
    • One node with a LCD display showing the values from the first node.
      -- This one is giving me trouble. I have tried basing it on both the Sensor and the Relay class but I don't get it how the code should look like. I have looked at the site but I must be missing something. This node will never report something just use the gw.messageAvailable() and gw.getMessage() to get the values from the first node. I have based this node on the code from the RelayActuator.ino but I cant get it to work. The node just halts when I start calling the gw.begin(id); and there is nothing i the serial monitor more than :Started relay. Open ping reading pipõ. Don't know why the strange char at the end.

    I get this from the sensor but I guess it doesnt matter as long as there isn't a relay/gateway to reach.
    Tx: fr=1,to=255,la=1,ne=255,ci=255,mt=4,ty=9,cr=6:
    No relay nodes was found. Trying again in 10 seconds.

    Do I need a gateway or is it enough to use 2 sensor classes to get the network going?

    What am I missing? Any ides, suggestion, "hurrarrop och höga knäuppdragingar" is welcome.

    BR
    /Markus

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by hek
      #2

      Hurra, hurra!

      The sensors form a star-network. All sensor-nodes except gateway need a relay (parent). So if you just add a gateway node all will work nicely.

      1 Reply Last reply
      0
      • Markus TenghallM Offline
        Markus TenghallM Offline
        Markus Tenghall
        wrote on last edited by
        #3

        Added a Gateway, checked connections to radio and connected them right this time, fixed a mistake in the code and now I have the temperature and humidity from the DHT-11 on the Nokia lcd. Thank you! Don't know why I thought I didn't need a gateway.

        This was just a first test to get a feel for the system. Now the fun part begin adding sensor here and there in the house. It will be awesome! Thank you for making this!
        /Markus

        hekH 1 Reply Last reply
        0
        • Markus TenghallM Markus Tenghall

          Added a Gateway, checked connections to radio and connected them right this time, fixed a mistake in the code and now I have the temperature and humidity from the DHT-11 on the Nokia lcd. Thank you! Don't know why I thought I didn't need a gateway.

          This was just a first test to get a feel for the system. Now the fun part begin adding sensor here and there in the house. It will be awesome! Thank you for making this!
          /Markus

          hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #4

          @Markus-Tenghall

          Hope you'll have lots of fun!

          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