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. How to req actuator status?

How to req actuator status?

Scheduled Pinned Locked Moved Troubleshooting
2 Posts 2 Posters 212 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.
  • joaoabsJ Offline
    joaoabsJ Offline
    joaoabs
    wrote on last edited by
    #1

    Hi,

    I currently have an actuator node working fine with MySensors MQTT Gateway. It is based on the Mysensors Example "SecureActuator".
    I'm able to turn on/off a LED via the commands:

    mosquitto_pub -h 192.168.2.180 -p 1883 -u mysensorsuser -P mysensorspassword -t mysensors-in/33/2/1/1/36 -m "1"
    mosquitto_pub -h 192.168.2.180 -p 1883 -u mysensorsuser -P mysensorspassword -t mysensors-in/33/2/1/1/36 -m "0"
    

    (pretty cool, also integrated with Google Home via NodeRed/NORA - I can say "Hey Google, turn on switch" and it turns on :blush: )

    Anyway, now, I want to request the status of the actuator. According to the Serial API documentation, the request string/topic should be something like 33/2/2/1/36/? where:

    33 - Node ID
    2 - Child ID
    2 - Req command
    1 - Ack required
    36 - V_LOCK_STATUS
    ? - Not sure what payload to specify in a REQ message. Putting it blank.

    This translates to the following MQTT command:

    mosquitto_pub -h 192.168.2.180 -p 1883 -u mysensorsuser -P mysensorspassword -t mysensors-in/33/2/2/1/36 -m "0"
    

    And I'm listening for the answer on mysensors-out/33/2/#:

    mosquitto_sub -h 192.168.2.180 -p 1883 -u mysensorsuser -P mysensorspassword -t mysensors-out/33/2/# -m ""
    

    I can see the node successfully receives the request and answers it, but it seems the payload goes empty:

    1551798 TSF:MSG:READ,0-0-33,s=2,c=3,t=16,pt=0,l=0,sg=1:
    1551804 SGN:SKP:MSG CMD=3,TYPE=16
    1551884 SGN:SKP:MSG CMD=3,TYPE=17
    1552144 TSF:MSG:SEND,33-33-0-0,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
    1552152 SGN:NCE:XMT,TO=33
    1552211 TSF:MSG:READ,0-0-33,s=2,c=2,t=36,pt=0,l=0,sg=1:
    1552218 SGN:BND:NONCE=C00217CFDA07E9004AFB50A82FDBF9DF70694D160C143A7FFCAAAAAAAAAAAAAA
    1552338 SGN:BND:HMAC=34A3A557133449E969F16377121ECFCCDA8CDD7A86DD4A74B5B482F3A15623F7
    1552347 SGN:VER:OK
    1552349 TSF:MSG:ECHO REQ
    1552353 SGN:SKP:ECHO CMD=2,TYPE=36
    1552588 TSF:MSG:SEND,33-33-0-0,s=2,c=2,t=36,pt=0,l=0,sg=0,ft=0,st=OK:
    

    So, any idea what am I missing here?

    Cheers

    1 Reply Last reply
    0
    • fritsF Offline
      fritsF Offline
      frits
      wrote on last edited by
      #2

      might be related to that thread:
      https://forum.mysensors.org/topic/11427

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      17

      Online

      12.0k

      Users

      11.2k

      Topics

      113.4k

      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