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. Actuator on 1.5

Actuator on 1.5

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 1.7k 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.
  • T Offline
    T Offline
    Tang
    wrote on last edited by
    #1

    Hi

    I got trouble using actuator with button.
    I'm using original "RelayWithButtonActuator" sketch from samples (I just replaced all V_LIGHT by V_STATUS and S_LIGHT by S_BINARY) and I can't set its value with command.
    Pushing the button turn it on perfectly and I receive message on gateway but i'm unable to set its value using command.
    Each time I pressed the button the same messages are received.

    For my tests I didn't any controller, just arduino IDE (with NL+CR enabled).

    Gateway output:

    0;0;3;0;9;read: 111-2-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5
    111;255;0;0;18;1.5
    0;0;3;0;9;read: 111-2-0 s=255,c=3,t=6,pt=1,l=1,sg=0:2
    111;255;3;0;6;2
    0;0;3;0;9;read: 111-2-0 s=255,c=3,t=11,pt=0,l=14,sg=0:Relay & Button
    
    111;255;3;0;11;Relay & Button
    0;0;3;0;9;read: 111-2-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.0
    111;255;3;0;12;1.0
    0;0;3;0;9;read: 111-2-0 s=1,c=0,t=3,pt=0,l=0,sg=0:
    111;1;0;0;3;
    <press button>
    0;0;3;0;9;read: 111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0:1
    0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:1
    111;1;1;0;2;1
    <send command 111;1;1;0;2;1 (set value to 1)>
    0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:1
    <send command 111;1;1;0;2;0 (set value to 0)>
    0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:0
    <send command 111;1;2;0;2; (request value)>
    0;0;3;0;9;send: 0-0-2-111 s=1,c=2,t=2,pt=0,l=0,sg=0,st=ok:
    

    Sensor output

    send: 111-111-2-0 s=255,c=0,t=18,pt=0,l=3,sg=0,st=ok:1.5
    send: 111-111-2-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ok:2
    repeater started, id=111, parent=2, distance=2
    send: 111-111-2-0 s=255,c=3,t=11,pt=0,l=14,sg=0,st=ok:Relay & Button
    send: 111-111-2-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=ok:1.0
    send: 111-111-2-0 s=1,c=0,t=3,pt=0,l=0,sg=0,st=ok:
    <press button>
    send: 111-111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:1
    <send command 111;1;1;0;2;1 (set value to 1)>
    <nothing>
    <send command 111;1;1;0;2;0 (set value to 0)>
    <nothing>
    <send command 111;1;2;0;2; (request value)>
    <nothing>
    

    I added a log on the callback function "incomingMessage" (Serial.print("debug");) and it is never displayed.
    It's like the callback is never called .

    Any ideas?

    Thanks;-)

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Tang
      wrote on last edited by
      #2

      I investigated more and found my actuator message seems to be lost by repeater:

      2 is my repeater node
      and 111 is my actuator sensor

      <actuator started>
      0;0;3;0;9;read: 111-111-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
      0;0;3;0;9;send: 0-0-111-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
      111;1;1;0;2;0
      0;0;3;0;9;read: 111-111-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5
      111;255;0;0;18;1.5
      0;0;3;0;9;read: 111-111-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0
      111;255;3;0;6;0
      0;0;3;0;9;read: 111-111-0 s=255,c=3,t=11,pt=0,l=14,sg=0:Relay & Butto
      111;255;3;0;11;Relay & Button
      0;0;3;0;9;read: 111-111-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.0
      111;255;3;0;12;1.0
      0;0;3;0;9;read: 111-111-0 s=1,c=0,t=3,pt=0,l=0,sg=0:
      111;1;0;0;3;
      <actuator pressing button ok>
      0;0;3;0;9;read: 111-111-0 s=1,c=1,t=2,pt=2,l=2,sg=0:1
      0;0;3;0;9;send: 0-0-111-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:1
      111;1;1;0;2;1
      <actuator pressing button ok>
      0;0;3;0;9;read: 111-111-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
      0;0;3;0;9;send: 0-0-111-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
      111;1;1;0;2;0
      <actuator pressing button ok>
      0;0;3;0;9;read: 111-111-0 s=1,c=1,t=2,pt=2,l=2,sg=0:1
      0;0;3;0;9;send: 0-0-111-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:1
      111;1;1;0;2;1
      <actuator pressing button failed>
      0;0;3;0;9;read: 111-111-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
      0;0;3;0;9;send: 0-0-111-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:0
      111;1;1;0;2;0
      <actuator pressing button failed>
      0;0;3;0;9;read: 111-111-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
      0;0;3;0;9;send: 0-0-111-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:0
      111;1;1;0;2;0
      <actuator pressing button failed>
      0;0;3;0;9;read: 111-111-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;0;3;0;9;send: 0-0-111-111 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
      0;0;3;0;9;read: 111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
      0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
      111;1;1;0;2;0
      0;0;3;0;9;read: 111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
      0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
      111;1;1;0;2;0
      <actuator restarted>
      0;0;3;0;9;read: 111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
      0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
      111;1;1;0;2;0
      0;0;3;0;9;read: 111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
      0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
      111;1;1;0;2;0
      0;0;3;0;9;read: 111-2-0 s=255,c=0,t=18,pt=0,l=3,sg=0:1.5
      111;255;0;0;18;1.5
      0;0;3;0;9;read: 111-2-0 s=255,c=3,t=6,pt=1,l=1,sg=0:2
      111;255;3;0;6;2
      0;0;3;0;9;read: 111-2-0 s=255,c=3,t=11,pt=0,l=14,sg=0:Relay & Button
      
      111;255;3;0;11;Relay & Button
      0;0;3;0;9;read: 111-2-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.0
      111;255;3;0;12;1.0
      0;0;3;0;9;read: 111-2-0 s=1,c=0,t=3,pt=0,l=0,sg=0:
      111;1;0;0;3;
      0;0;3;0;9;read: 1-2-0 s=1,c=1,t=39,pt=1,l=1,sg=0:2
      1;1;1;0;39;2
      0;0;3;0;9;read: 111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
      0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
      111;1;1;0;2;0
      0;0;3;0;9;read: 111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
      0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
      111;1;1;0;2;0
      0;0;3;0;9;read: 111-2-0 s=1,c=1,t=2,pt=2,l=2,sg=0:0
      0;0;3;0;9;send: 0-0-2-111 s=1,c=1,t=2,pt=2,l=2,sg=0,st=ok:0
      111;1;1;0;2;0
      

      My gateway is on my office that have thick walls. For this reason i'm using a repeater with NRF with antenna (like my gateway)
      So most of my sensors outside the office need to connect to repeater to access gateway.
      In the sample below, the actuator succeed to connect to gateway at the beginning but after some button press, it doesn't handle to send its value. When i restarted the actuator, it connects to repeater and nothing works.

      Gateway and actuator sketches are those i found on mysensors library examples, repeater node is based on library example but have a led that blinks periodically and each 10 minutes, repeater send its sketch name.

      1 Reply Last reply
      0
      • sundberg84S Offline
        sundberg84S Offline
        sundberg84
        Hardware Contributor
        wrote on last edited by sundberg84
        #3

        The liberary was updated 10 days ago due to messages getting stuck between gw and repeater. Do you have the latest build 1.5?

        http://forum.mysensors.org/topic/1799/repeater-nood-keeps-looping-and-doesnt-reach-gw

        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
        • T Offline
          T Offline
          Tang
          wrote on last edited by
          #4

          I thought i was using the latest 1.5 version but it seems not.
          Uploading all my sketches with fresh downloaded version fixed my pb.

          Thx sundberg84 ;)

          1 Reply Last reply
          1
          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.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