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. Relay With Button Actuator

Relay With Button Actuator

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

    Hi I had and working relay with button actuator. Yesterday I was trying codebender and after that the relay button is not working anymore. I recompile and still the same result. It is sending data to the MQTTgateway but the relay is not switching on. Here is the info from the serial monitor from the relay site when I press the button it just send 1 to the gateway:

    upload-b74fe924-d797-4db4-bdb9-ce15c8d8c41e

    Here is the info from the MQTTGateway when I press the button on the relay actuator:

    upload-7bbf430f-6cba-498e-8934-7fff360b870e

    What can the issue be?

    Thanks Francois

    hekH 1 Reply Last reply
    0
    • FrancoisF Francois

      Hi I had and working relay with button actuator. Yesterday I was trying codebender and after that the relay button is not working anymore. I recompile and still the same result. It is sending data to the MQTTgateway but the relay is not switching on. Here is the info from the serial monitor from the relay site when I press the button it just send 1 to the gateway:

      upload-b74fe924-d797-4db4-bdb9-ce15c8d8c41e

      Here is the info from the MQTTGateway when I press the button on the relay actuator:

      upload-7bbf430f-6cba-498e-8934-7fff360b870e

      What can the issue be?

      Thanks Francois

      hekH Online
      hekH Online
      hek
      Admin
      wrote on last edited by
      #2

      @Francois

      What happens if you upload the sketch using Arduino IDE again?

      1 Reply Last reply
      0
      • FrancoisF Offline
        FrancoisF Offline
        Francois
        wrote on last edited by
        #3

        @hek it is doing the same.

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

          Hmm.. communication looks good.

          What happens if you change this:

          if (message.type == V_LIGHT && strlen(msg.getString()) != 0) {
          

          to this:

          if (message.type == V_LIGHT) {
          
          1 Reply Last reply
          0
          • FrancoisF Offline
            FrancoisF Offline
            Francois
            wrote on last edited by
            #5

            @hek thanks this is now working. Why will this happen it as it was working for more than week on the sketch in the library.

            hekH 1 Reply Last reply
            0
            • FrancoisF Francois

              @hek thanks this is now working. Why will this happen it as it was working for more than week on the sketch in the library.

              hekH Online
              hekH Online
              hek
              Admin
              wrote on last edited by
              #6

              @Francois

              Did it work after the change I proposed? Or by itself?

              1 Reply Last reply
              0
              • FrancoisF Offline
                FrancoisF Offline
                Francois
                wrote on last edited by
                #7

                @hek it work with the recommendation you make.

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  maglo18
                  wrote on last edited by
                  #8

                  It is possible to have more than one button and 1 really? I need 4 buttons and 4 relays. Could someone write what i should to change for that?

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


                  14

                  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