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. Problem when sending or receiving

Problem when sending or receiving

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 3 Posters 3.1k 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.
  • N Offline
    N Offline
    nono056
    wrote on last edited by
    #1

    Hello everybody!
    I have a problem :
    I have an arduino nano which is the SerialGateway
    An arduino mini is a node with a ds18b20.
    When i test my sensor with the original arduino library for the ds18b20, it works, i have a good temperature.
    I test too my two nrf24l01 with a ping with the mirf library and this works too.
    My problem is the SerialGateway return me infos like 255;255;5;4; for my temp sensor.
    I have used originals sketchs of the mysensors
    Anyone can tell me why i don't have my temperature in the serial interface?

    PS : Sorry for my bad english...

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

      @nono056 said:

      My problem is the SerialGateway return me infos like 255;255;5;4; for my temp sensor.

      "like" is not good enough :smile: .. Is the above exactly what you get?

      By default your sensor will ask controller for format-settings. If you don't have any controller it will ask forever. Try removing the line:

      metric = gw.isMetricSystem();
      
      1 Reply Last reply
      0
      • N Offline
        N Offline
        nono056
        wrote on last edited by
        #3

        Thanks Hek for your answer!
        The really message is :
        0;0;4;11;Arduino startup complete.
        255;255;4;5;
        255;255;4;5;
        255;255;4;5;
        255;255;4;5;

        This is exactly the same thing without metric = gw.isMetricSystem();
        I have another problem (i think...)
        I receive messages every 5 seconds. This is normally 30s?
        An other precision, my ds18b20 is on pin 4 (changed in the sketch). Not a problem?

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

          Set a static id for for your sensor node. E.g.

          gw.begin(42)
          
          1 Reply Last reply
          0
          • N Offline
            N Offline
            nono056
            wrote on last edited by
            #5

            Thanks Hek!!
            now it works!

            So any idea why the serial gateway doesn't give me an id?
            If i put metric = gw.isMetricSystem(); in the code i give 40;255;4;13; and without, it gives me 40;0;1;0;20.7
            isMetricSystem would give me metric data and not imperial? I don't understand...
            Thanks

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

              Serial gateway does not hand out ids. The controller behind it does. So either you add a controller or use static ids.

              N 1 Reply Last reply
              0
              • hekH hek

                Serial gateway does not hand out ids. The controller behind it does. So either you add a controller or use static ids.

                N Offline
                N Offline
                nono056
                wrote on last edited by
                #7

                @hek Ok perfect!
                Thanks!

                1 Reply Last reply
                0
                • epierreE Offline
                  epierreE Offline
                  epierre
                  Hero Member
                  wrote on last edited by
                  #8

                  Hello,

                  I have the same issue here with libraries 1.3b3 link text

                  I've setted in the temp sensor the node it, commented the metric line in the sensor too.

                  Now when I flash, I have a receive timeout (they are close within 10cm):

                  0;0;4;11;Relaying message back to gateway.
                  0;0;4;11;Tx: fr=0,to=0,la=0,ne=0,ci=255,mt=4,ty=13,cr=52:
                  0;0;4;11;Ack: receive timeout

                  z-wave - Vera -> Domoticz
                  rfx - Domoticz <- MyDomoAtHome <- Imperihome
                  mysensors -> mysensors-gw -> Domoticz

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


                  20

                  Online

                  11.7k

                  Users

                  11.2k

                  Topics

                  113.0k

                  Posts


                  Copyright 2019 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