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. Strange behaviour - Check Wires and Version Mismatch

Strange behaviour - Check Wires and Version Mismatch

Scheduled Pinned Locked Moved Troubleshooting
22 Posts 5 Posters 10.2k 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.
  • marceltrapmanM Offline
    marceltrapmanM Offline
    marceltrapman
    Mod
    wrote on last edited by
    #1

    Hi,

    I have two strange things going on.

    1. When running the serial monitor I randomly see a message "Check Wires". Really randomly but always immediately after uploading a sketch. Any idea?

    2. I can't seem to get a child id anymore. The id is sent but below is what I see (coming in) in the serial monitor. Any idea what could be going on.

    I update to the latest git version of 1.4 this morning and updated the gateway, repeater and sensors.

    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    sensor started, id 255
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    Sensor status ON
    1
    req node id
    send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    

    Fulltime Servoy Developer
    Parttime Moderator MySensors board

    I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
    I have a FABtotum to print cases.

    AnticimexA 1 Reply Last reply
    0
    • marceltrapmanM marceltrapman

      Hi,

      I have two strange things going on.

      1. When running the serial monitor I randomly see a message "Check Wires". Really randomly but always immediately after uploading a sketch. Any idea?

      2. I can't seem to get a child id anymore. The id is sent but below is what I see (coming in) in the serial monitor. Any idea what could be going on.

      I update to the latest git version of 1.4 this morning and updated the gateway, repeater and sensors.

      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      sensor started, id 255
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      version mismatch
      read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      version mismatch
      read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      version mismatch
      read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      version mismatch
      read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      version mismatch
      read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      version mismatch
      read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      version mismatch
      read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      version mismatch
      read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      version mismatch
      read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      version mismatch
      read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      version mismatch
      read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      version mismatch
      read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      version mismatch
      read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      version mismatch
      read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
      version mismatch
      Sensor status ON
      1
      req node id
      send: 255-255-1-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
      
      AnticimexA Offline
      AnticimexA Offline
      Anticimex
      Contest Winner
      wrote on last edited by
      #2

      @marceltrapman Is it a serial or an ethernet GW? I have received both "Check Wires" and "Version Mismatch" with W5100 Ethernet module. The problem was "war" on the SPI bus (which the W5100 abuses).
      If it is indeed an Ethernet GW, check this.
      If it is a serial GW, have a look at the supply voltages. In my experience, the onboard 3.3V regulator on an Nano (assuming you use a Nano for GW) simply does not cut it for the RF module. I have thrown in an external LE33 regulator and soldered a 4.7uF cap directly on my RF modules across GND and Vcc. This together with my patch for W5100 sorted my GW out (but it is now torn apart to be re-incarnated into something more "awesome" (forum post will cover my build) once I got things running again).

      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

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

        I was a bit worried that I had broken something because I did a RF24 update (the one in util-folder) a couple of days ago to get SOFTSPI functionality for the scene controller example.
        But everything still seems to work fine here when I did a quick verification.

        What does your sensor output?

        1 Reply Last reply
        0
        • AnticimexA Anticimex

          @marceltrapman Is it a serial or an ethernet GW? I have received both "Check Wires" and "Version Mismatch" with W5100 Ethernet module. The problem was "war" on the SPI bus (which the W5100 abuses).
          If it is indeed an Ethernet GW, check this.
          If it is a serial GW, have a look at the supply voltages. In my experience, the onboard 3.3V regulator on an Nano (assuming you use a Nano for GW) simply does not cut it for the RF module. I have thrown in an external LE33 regulator and soldered a 4.7uF cap directly on my RF modules across GND and Vcc. This together with my patch for W5100 sorted my GW out (but it is now torn apart to be re-incarnated into something more "awesome" (forum post will cover my build) once I got things running again).

          marceltrapmanM Offline
          marceltrapmanM Offline
          marceltrapman
          Mod
          wrote on last edited by
          #4

          @Anticimex it is the sensor reporting it (not the gateway) and the NRF24 is fed by a battery/converter combo and not the Pro Mini. I also use a cap.

          @Hek Do you mean the type of sensor? Or do you want to see what is received on the controller end?

          Fulltime Servoy Developer
          Parttime Moderator MySensors board

          I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
          I have a FABtotum to print cases.

          1 Reply Last reply
          0
          • marceltrapmanM Offline
            marceltrapmanM Offline
            marceltrapman
            Mod
            wrote on last edited by
            #5

            @hek here is the output on the controller side. This is going on for like 2-3 minutes now :(

            MySensors Debug                 receive raw 0;0;3;0;9;read: 255-1-0 s=255,c=3,t=3,pt=0,l=0:
            MySensors Debug                 receive raw 255;255;3;0;3;
            MySensors Debug                 get device N255C255
            MySensors Debug                 get device N255C255
            MySensors Debug                 command 255;255;3;0;4;4
            MySensors                       sent '255:255' ID response  4 
            MySensors                       received '255:255' ID request 
            MySensors Debug                 receive raw 0;0;3;0;9;read: 255-1-0 s=255,c=3,t=3,pt=0,l=0:
            MySensors Debug                 receive raw 255;255;3;0;3;
            MySensors Debug                 get device N255C255
            MySensors Debug                 get device N255C255
            MySensors Debug                 command 255;255;3;0;4;4
            MySensors                       sent '255:255' ID response  4 
            MySensors                       received '255:255' ID request 
            MySensors Debug                 receive raw 0;0;3;0;9;read: 255-1-0 s=255,c=3,t=3,pt=0,l=0:
            MySensors Debug                 receive raw 255;255;3;0;3;
            MySensors Debug                 get device N255C255
            MySensors Debug                 get device N255C255
            MySensors Debug                 command 255;255;3;0;4;4
            MySensors                       sent '255:255' ID response  4 
            MySensors                       received '255:255' ID request 
            MySensors Debug                 receive raw 0;0;3;0;9;read: 255-1-0 s=255,c=3,t=3,pt=0,l=0:
            MySensors Debug                 receive raw 255;255;3;0;3;
            MySensors Debug                 get device N255C255
            MySensors Debug                 get device N255C255
            MySensors Debug                 command 255;255;3;0;4;4
            MySensors                       sent '255:255' ID response  4 
            MySensors                       received '255:255' ID request 
            MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-1-255 s=255,c=3,t=4,pt=0,l=1,st=ok:4
            MySensors Debug                 receive raw 0;0;3;0;9;read: 0-1-255 s=255,c=3,t=4,pt=0,l=1:4
            MySensors Debug                 receive raw 0;0;3;0;9;read: 255-1-0 s=255,c=3,t=3,pt=0,l=0:
            MySensors Debug                 receive raw 255;255;3;0;3;
            MySensors Debug                 get device N255C255
            MySensors Debug                 get device N255C255
            MySensors Debug                 command 255;255;3;0;4;4
            MySensors                       sent '255:255' ID response  4 
            MySensors                       received '255:255' ID request 
            MySensors Debug                 receive raw 0;0;3;0;9;read: 255-1-0 s=255,c=3,t=3,pt=0,l=0:
            MySensors Debug                 receive raw 255;255;3;0;3;
            MySensors Debug                 get device N255C255
            MySensors Debug                 get device N255C255
            MySensors Debug                 command 255;255;3;0;4;4
            MySensors                       sent '255:255' ID response  4 
            MySensors                       received '255:255' ID request 
            MySensors Debug                 receive raw 0;0;3;0;9;read: 255-1-0 s=255,c=3,t=3,pt=0,l=0:
            MySensors Debug                 receive raw 255;255;3;0;3;
            MySensors Debug                 get device N255C255
            MySensors Debug                 get device N255C255
            MySensors Debug                 command 255;255;3;0;4;4
            MySensors                       sent '255:255' ID response  4 
            MySensors                       received '255:255' ID request 
            MySensors Debug                 receive raw 0;0;3;0;9;read: 255-255-255 s=255,c=3,t=7,pt=0,l=0:
            MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,st=fail:0
            MySensors Debug                 receive raw 0;0;3;0;9;read: 255-1-0 s=255,c=3,t=3,pt=0,l=0:
            MySensors Debug                 receive raw 255;255;3;0;3;
            MySensors Debug                 get device N255C255
            MySensors Debug                 get device N255C255
            MySensors Debug                 command 255;255;3;0;4;4
            MySensors                       sent '255:255' ID response  4 
            MySensors                       received '255:255' ID request 
            MySensors Debug                 receive raw 0;0;3;0;9;send: 0-0-1-255 s=255,c=3,t=4,pt=0,l=1,st=ok:4
            MySensors Debug                 receive raw 0;0;3;0;9;read: 0-1-255 s=255,c=3,t=4,pt=0,l=1:4
            MySensors Debug                 receive raw 0;0;3;0;9;read: 255-1-0 s=255,c=3,t=3,pt=0,l=0:
            MySensors Debug                 receive raw 255;255;3;0;3;
            MySensors Debug                 get device N255C255
            MySensors Debug                 get device N255C255
            MySensors Debug                 command 255;255;3;0;4;4
            MySensors                       sent '255:255' ID response  4 
            MySensors                       received '255:255' ID request 
            MySensors Debug                 receive raw 0;0;3;0;9;read: 255-1-0 s=255,c=3,t=3,pt=0,l=0:
            MySensors Debug                 receive raw 255;255;3;0;3;
            MySensors Debug                 get device N255C255
            MySensors Debug                 get device N255C255
            MySensors Debug                 command 255;255;3;0;4;4
            MySensors                       sent '255:255' ID response  4 
            MySensors                       received '255:255' ID request
            

            Fulltime Servoy Developer
            Parttime Moderator MySensors board

            I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
            I have a FABtotum to print cases.

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

              @marceltrapman said:

              receive raw 0;0;3;0;9;send: 0-0-1-255 s=255,c=3,t=4,pt=0,l=1,st=ok:4

              Strange.. Looks like id sending succeeds from gateway.

              marceltrapmanM 1 Reply Last reply
              0
              • hekH hek

                @marceltrapman said:

                receive raw 0;0;3;0;9;send: 0-0-1-255 s=255,c=3,t=4,pt=0,l=1,st=ok:4

                Strange.. Looks like id sending succeeds from gateway.

                marceltrapmanM Offline
                marceltrapmanM Offline
                marceltrapman
                Mod
                wrote on last edited by
                #7

                @hek I agree but the sensor does not do anything with the result.
                I will clear the memory tomorrow and see what happens.

                Fulltime Servoy Developer
                Parttime Moderator MySensors board

                I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                I have a FABtotum to print cases.

                1 Reply Last reply
                0
                • marceltrapmanM Offline
                  marceltrapmanM Offline
                  marceltrapman
                  Mod
                  wrote on last edited by
                  #8

                  @hek Even stranger, the sensor did register itself with a repeater (parent id = 1) but that was it.

                  What procedure do you suggest to find out what is really going on?

                  Fulltime Servoy Developer
                  Parttime Moderator MySensors board

                  I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                  I have a FABtotum to print cases.

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

                    What happens if you move the sensor close to the gateway while fetching id. When it has been received move sensor back to the final location.

                    I vaguely remember a discussion I had with @Yveaux where we concluded that the temporary id 255 would cause problems during initial id handover if a relay node was involved during this process.

                    The solution would be to choose some other id (254) during this handshake.

                    Just making a mental note from out discussion here:
                    "So a node takes on temp ID 254, broadcasts a parent-node request and selects the best incoming parent by distance (all sent to 254). Then it requests (still with ID 254) its node ID, which is forwarded to the gateway and each relay stores the route to 254 in its routing table. The gateway assigns one, and routes it back to 254, which then takes on its new node ID. Sounds good!"

                    marceltrapmanM 1 Reply Last reply
                    1
                    • hekH hek

                      What happens if you move the sensor close to the gateway while fetching id. When it has been received move sensor back to the final location.

                      I vaguely remember a discussion I had with @Yveaux where we concluded that the temporary id 255 would cause problems during initial id handover if a relay node was involved during this process.

                      The solution would be to choose some other id (254) during this handshake.

                      Just making a mental note from out discussion here:
                      "So a node takes on temp ID 254, broadcasts a parent-node request and selects the best incoming parent by distance (all sent to 254). Then it requests (still with ID 254) its node ID, which is forwarded to the gateway and each relay stores the route to 254 in its routing table. The gateway assigns one, and routes it back to 254, which then takes on its new node ID. Sounds good!"

                      marceltrapmanM Offline
                      marceltrapmanM Offline
                      marceltrapman
                      Mod
                      wrote on last edited by
                      #10

                      @hek Apologies for the late reply.
                      I have walked around with the sensor but without any luck.
                      The id is requested and the id is sent but that is it.
                      No further debug info either.
                      Attached is a screenshot of the arduino output (left) and the controller/gateway output (right).

                      Screen Shot 2014-10-25 at 14.17.11.png

                      Fulltime Servoy Developer
                      Parttime Moderator MySensors board

                      I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                      I have a FABtotum to print cases.

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

                        Hmm.. where did the id-payload (4) go?
                        Type should also be 4 (I_ID_RESPONSE) but it seems to be 3...

                        marceltrapmanM 1 Reply Last reply
                        0
                        • hekH hek

                          Hmm.. where did the id-payload (4) go?
                          Type should also be 4 (I_ID_RESPONSE) but it seems to be 3...

                          marceltrapmanM Offline
                          marceltrapmanM Offline
                          marceltrapman
                          Mod
                          wrote on last edited by marceltrapman
                          #12

                          @hek said:

                          Hmm.. where did the id-payload (4) go?
                          Type should also be 4 (I_ID_RESPONSE) but it seems to be 3...

                          Honestly I don't know what is happening here.
                          The controller seems to do its work well.
                          The gateway, as far as I can see, also.

                          The sensor is a black hole to me right now.

                          Below is the eeprom dump:

                          NODE_ID          :255
                          PARENT_NODE_ID   :2
                          DISTANCE         :2
                          ROUTES           :255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255
                          CONTROLLER_CONFIG:255255255255255255255255255255255255255255255255255255255255255255255255
                          FIRMWARE_TYPE    :255255
                          FIRMWARE_VERSION :255255
                          FIRMWARE_BLOCKS  :255255
                          FIRMWARE_CRC     :255255
                          LOCAL_CONFIG     :255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255255
                          

                          Repeater id is indeed 2.
                          Don't know what the distance value represents.

                          Fulltime Servoy Developer
                          Parttime Moderator MySensors board

                          I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                          I have a FABtotum to print cases.

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

                            what happens if you hard-code parent to 0 in begin() while fetching id?

                            marceltrapmanM 1 Reply Last reply
                            0
                            • hekH hek

                              what happens if you hard-code parent to 0 in begin() while fetching id?

                              marceltrapmanM Offline
                              marceltrapmanM Offline
                              marceltrapman
                              Mod
                              wrote on last edited by marceltrapman
                              #14

                              @hek said:

                              what happens if you hard-code parent to 0 in begin() while fetching id?

                              Even stranger. This is what I do:

                              //board.begin(msgCallback, nodeId, repeaterMode, parentNodeId, paLevel, channel, dataRate);
                              board.begin(NULL, NULL, false, 0);
                              

                              This is now the result:

                              NODE_ID          :0
                              PARENT_NODE_ID   :2
                              DISTANCE         :2
                              

                              Do you want me to write the node id and parent id direct into the eeprom?

                              Fulltime Servoy Developer
                              Parttime Moderator MySensors board

                              I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                              I have a FABtotum to print cases.

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

                                setting the parent in constructor won't update the eeprom. It just uses the specified parent and never searches for a new one.

                                And you'll have to specify AUTO for id

                                marceltrapmanM 1 Reply Last reply
                                0
                                • hekH hek

                                  setting the parent in constructor won't update the eeprom. It just uses the specified parent and never searches for a new one.

                                  And you'll have to specify AUTO for id

                                  marceltrapmanM Offline
                                  marceltrapmanM Offline
                                  marceltrapman
                                  Mod
                                  wrote on last edited by
                                  #16

                                  @hek So, how do I 'suddenly' have id = 0 then?

                                  I will clear the eeprom again and see what happens...

                                  Fulltime Servoy Developer
                                  Parttime Moderator MySensors board

                                  I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                                  I have a FABtotum to print cases.

                                  marceltrapmanM 1 Reply Last reply
                                  0
                                  • marceltrapmanM marceltrapman

                                    @hek So, how do I 'suddenly' have id = 0 then?

                                    I will clear the eeprom again and see what happens...

                                    marceltrapmanM Offline
                                    marceltrapmanM Offline
                                    marceltrapman
                                    Mod
                                    wrote on last edited by
                                    #17

                                    @marceltrapman Stupid fail with that AUTO setting :blush:

                                    But the good news is that my sensor now has ID 4...

                                    So the bad news, I guess, is that the repeater seems to fail...

                                    Fulltime Servoy Developer
                                    Parttime Moderator MySensors board

                                    I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                                    I have a FABtotum to print cases.

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

                                      As I mentioned earlier fetching id THROUGH a repeater need some additional love.

                                      marceltrapmanM 1 Reply Last reply
                                      0
                                      • hekH hek

                                        As I mentioned earlier fetching id THROUGH a repeater need some additional love.

                                        marceltrapmanM Offline
                                        marceltrapmanM Offline
                                        marceltrapman
                                        Mod
                                        wrote on last edited by marceltrapman
                                        #19

                                        @hek said:

                                        As I mentioned earlier fetching id THROUGH a repeater need some additional love.

                                        Hmm, so I fail that love :(

                                        How can we get this thing going?
                                        The thing is don't want to walk down to my gateway each time I want to test something out.
                                        And, I also prefer not to use a fixed id because that would make testing the controller plugin a b****.

                                        Fulltime Servoy Developer
                                        Parttime Moderator MySensors board

                                        I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                                        I have a FABtotum to print cases.

                                        1 Reply Last reply
                                        0
                                        • greglG Offline
                                          greglG Offline
                                          gregl
                                          Hero Member
                                          wrote on last edited by
                                          #20

                                          Hey @marceltrapman - I just upgraded one of my sketches from 1.3 to 1.4 ( im finally moving to 1.4 in "production!!)

                                          Anyway, i had the same issue with version mismatch error and spewing out

                                          version mismatch
                                          read: 255-255-255 s=255,c=7,t=255,pt=7,l=31:NAN
                                          version mismatch
                                          read: 255-255-255 s=255,c=7,t=255,pt=7,l=31:NAN
                                          version mismatch
                                          read: 255-255-255 s=255,c=7,t=255,pt=7,l=31:NAN
                                          version mismatch
                                          read: 255-255-255 s=255,c=7,t=255,pt=7,l=31:NAN
                                          

                                          wondering wtf was going on, i disconnected the relays board connected to VCC... the messages stopped and everything worked correctly- other than the relays actuating...
                                          figured it could be a power issue, i connected proper power source as the issue occured with just a USB 5v from my PC....and reconnecting relay all worked properly..including now the relay.

                                          So, check your powersupply!

                                          HTH..

                                          marceltrapmanM 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.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