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. General Discussion
  3. Need help with Relay 1.0 Actuator

Need help with Relay 1.0 Actuator

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 1.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.
  • Donny152D Offline
    Donny152D Offline
    Donny152
    wrote on last edited by
    #1

    Hi everyone,

    I could really use your help with an Relay Actuator built. Just to let you all know I'm a newbie at this. To give an idea where I'm at with my home automation sensor projects. I'm building them and adding them to my Vera-Lite controller. I have already built my gateway "Ethernet", one motion detector, one humidity/Temp sensor, one Temp sensor with five temp sensors, and one single relay actuator and they all work great. The Problem I ran into is on my second relay actuator build. It is a 8 relay set. First off I couldn't figure out how to set the A0 & A1 pins. So for testing purposes I only utilized 6 of them, until I could figure out to modify the sketch to operate the last two. The big issue I ran into is when I went to test it. It registered itself as a 0 node, same as my gateway. All 6, of the relays I wired up, showed up and were registered as 0;1-6. However they will not responded.
    My Question is: is there away to assign a node to a senor build? All my other sensors are assigned nodes 2-5 as I included them in the gateway.
    This is what I receive from the, debug, serial monitor. I'm also using MYSController program so I can see which sensor is assigned to which node.
    send: 0-0-0-0 s=255,c=3,t=15,pt=2,l=2,sg=0,st=fail:0
    send: 0-0-0-0 s=255,c=0,t=18,pt=0,l=5,sg=0,st=fail:1.5.4
    send: 0-0-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=fail:0
    repeater started, id=0, parent=0, distance=0
    send: 0-0-0-0 s=255,c=3,t=11,pt=0,l=6,sg=0,st=fail:Relay6
    send: 0-0-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=fail:1.0
    send: 0-0-0-0 s=1,c=0,t=3,pt=0,l=0,sg=0,st=fail:
    find parent
    send: 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    send: 0-0-0-0 s=2,c=0,t=3,pt=0,l=0,sg=0,st=fail:
    send: 0-0-0-0 s=3,c=0,t=3,pt=0,l=0,sg=0,st=fail:
    send: 0-0-0-0 s=4,c=0,t=3,pt=0,l=0,sg=0,st=fail:
    send: 0-0-0-0 s=5,c=0,t=3,pt=0,l=0,sg=0,st=fail:
    send: 0-0-0-0 s=6,c=0,t=3,pt=0,l=0,sg=0,st=fail:

    0_1459243885034_Capture.PNG

    Any help would be greatly appreciated!

    sundberg84S 1 Reply Last reply
    0
    • Donny152D Donny152

      Hi everyone,

      I could really use your help with an Relay Actuator built. Just to let you all know I'm a newbie at this. To give an idea where I'm at with my home automation sensor projects. I'm building them and adding them to my Vera-Lite controller. I have already built my gateway "Ethernet", one motion detector, one humidity/Temp sensor, one Temp sensor with five temp sensors, and one single relay actuator and they all work great. The Problem I ran into is on my second relay actuator build. It is a 8 relay set. First off I couldn't figure out how to set the A0 & A1 pins. So for testing purposes I only utilized 6 of them, until I could figure out to modify the sketch to operate the last two. The big issue I ran into is when I went to test it. It registered itself as a 0 node, same as my gateway. All 6, of the relays I wired up, showed up and were registered as 0;1-6. However they will not responded.
      My Question is: is there away to assign a node to a senor build? All my other sensors are assigned nodes 2-5 as I included them in the gateway.
      This is what I receive from the, debug, serial monitor. I'm also using MYSController program so I can see which sensor is assigned to which node.
      send: 0-0-0-0 s=255,c=3,t=15,pt=2,l=2,sg=0,st=fail:0
      send: 0-0-0-0 s=255,c=0,t=18,pt=0,l=5,sg=0,st=fail:1.5.4
      send: 0-0-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=fail:0
      repeater started, id=0, parent=0, distance=0
      send: 0-0-0-0 s=255,c=3,t=11,pt=0,l=6,sg=0,st=fail:Relay6
      send: 0-0-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=fail:1.0
      send: 0-0-0-0 s=1,c=0,t=3,pt=0,l=0,sg=0,st=fail:
      find parent
      send: 0-0-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      send: 0-0-0-0 s=2,c=0,t=3,pt=0,l=0,sg=0,st=fail:
      send: 0-0-0-0 s=3,c=0,t=3,pt=0,l=0,sg=0,st=fail:
      send: 0-0-0-0 s=4,c=0,t=3,pt=0,l=0,sg=0,st=fail:
      send: 0-0-0-0 s=5,c=0,t=3,pt=0,l=0,sg=0,st=fail:
      send: 0-0-0-0 s=6,c=0,t=3,pt=0,l=0,sg=0,st=fail:

      0_1459243885034_Capture.PNG

      Any help would be greatly appreciated!

      sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by sundberg84
      #2

      @Donny152 said:

      My Question is: is there away to assign a node to a senor build?

      No problems, In 1.5 you use

      gw.begin(incomingMessage, 6) 
      

      Where in this case 6 means NodeID6.
      If you use the standard relay sketch you see this: gw.begin(incomingMessage, AUTO, true); where you change Auto to your ID if choise.

      The debug monitor looks like you have power or range issues (ST:FAIL)
      "st=fail" means the receiving node or gateway has problems sending ack back to the sending node.

      Its probably a hardware issue (power and/or range). Try adding a capacitor (http://www.mysensors.org/build/connect_radio#connecting-a-decoupling-capacitor) to the receiving radio, change powersource, move receiver/sender closer to eachother or build a repeater.

      These two problems are probably connected. Since the node cant reach/talk to the gateway correctly thats why you have 0 as node id. Correct the st=fail issue and I think everything will run smother.

      In relay nodes, my experience is that its almost always the power supply.

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • Donny152D Offline
        Donny152D Offline
        Donny152
        wrote on last edited by
        #3

        Thank you! That worked perfectly. I have a 10uF capacitor on there now and it only 2 feet for the gateway. but its only being powered through my PC usb port. The larger 8relay board is probably pulling most of the power.

        Thanks again!

        sundberg84S 1 Reply Last reply
        0
        • Donny152D Donny152

          Thank you! That worked perfectly. I have a 10uF capacitor on there now and it only 2 feet for the gateway. but its only being powered through my PC usb port. The larger 8relay board is probably pulling most of the power.

          Thanks again!

          sundberg84S Offline
          sundberg84S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by sundberg84
          #4

          @Donny152 said:

          . I have a 10uF capacitor on there now and it only 2 feet for the gateway.

          Great! The capacitor is vital, also dont have the radios to close to each other when you are testing. This have also seen cause problems before.

          Controller: Proxmox VM - Home Assistant
          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

          Donny152D 1 Reply Last reply
          0
          • sundberg84S sundberg84

            @Donny152 said:

            . I have a 10uF capacitor on there now and it only 2 feet for the gateway.

            Great! The capacitor is vital, also dont have the radios to close to each other when you are testing. This have also seen cause problems before.

            Donny152D Offline
            Donny152D Offline
            Donny152
            wrote on last edited by
            #5

            @sundberg84

            Got it all to work after using a new Atmel328 chip on a extra Arduino Uno board I had. I'm guessing the clone board, from china, I was trying to use has some kind of issue with eeprom or some other issue. Couldn't get it to responded to on or off signal or couldn't get the radio strength issue worked out either.

            Again Thank you so much for your help!

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


            23

            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