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. Announcements
  3. 💬 Serial Protocol - 2.x

💬 Serial Protocol - 2.x

Scheduled Pinned Locked Moved Announcements
43 Posts 17 Posters 10.7k Views 13 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.
  • S Offline
    S Offline
    shabba
    wrote on last edited by
    #26

    What is the best for a push button? I have a button to open a lock. The button cannot lock the lock however. So binary is not really a proper option?

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

      ATM scene controller is probably the best option.

      https://github.com/mysensors/MySensors/issues/724

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dmurphy
        wrote on last edited by
        #28

        S_SPRINKLER is defined as having V_STATUS and V_TRIPPED - no V_ARMED....but V_ARMED says it is in S_SPRINKLER...Which way should I code this up for my controller??

        1 Reply Last reply
        0
        • jjkJ Offline
          jjkJ Offline
          jjk
          wrote on last edited by
          #29

          Hi there,
          do you know that, you've built a node like a 100 times and I think it's all routine and then something that completely bluffs you? I happened to me with a simple Temp/Hum node (DHT22) that keeps sending me messages that I can't seem to figure out: 43;255;3;0;33;300000 and 43;255;3;0;32;500 - They seem to show up in the frequency that other nodes send a heartbeat signal, but no heartbeat is sent from this node. The regular DHT22 datapoints are sent as normal. Anyone knows what this means?

          1 Reply Last reply
          0
          • gohanG Offline
            gohanG Offline
            gohan
            Mod
            wrote on last edited by
            #30

            Are you using smart sleep?

            1 Reply Last reply
            0
            • jjkJ Offline
              jjkJ Offline
              jjk
              wrote on last edited by
              #31

              yes, I do - like on every other DHT node as well, but never had that...?! Plus, I can't seem to figure out what the messages mean.

              1 Reply Last reply
              0
              • gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by
                #32

                I assume the 300000 is the sleep time you set while the 500 is the smart sleep embedded 500ms wait that lets the controller know the node is about to go to sleep but it is going to wait for 500ms for queued commands to be sent to the node

                1 Reply Last reply
                1
                • jjkJ Offline
                  jjkJ Offline
                  jjk
                  wrote on last edited by
                  #33

                  hm, you might be right on the 300000 as that#s indeed the smartsleep wait time I'm setting. Not sure about the 500, but certainly possible (is that documented somewhere?) I'm wondering, though, why this node is sending this info, but not the other ones?! I don't think I have changed anything t the sketch other than the node-id and node name...

                  1 Reply Last reply
                  0
                  • gohanG Offline
                    gohanG Offline
                    gohan
                    Mod
                    wrote on last edited by
                    #34

                    500ms is the default setting when using smartsleep

                    1 Reply Last reply
                    0
                    • jjkJ Offline
                      jjkJ Offline
                      jjk
                      wrote on last edited by
                      #35

                      o.k., fair enough, that's a great explanation! - I'm still struggling, though, with why this node is sending this (but no heartbeat), but none of the previous ones I did...

                      1 Reply Last reply
                      0
                      • gohanG Offline
                        gohanG Offline
                        gohan
                        Mod
                        wrote on last edited by
                        #36

                        Try reflash the older node, maybe you updated library or else. Why do you need heatbeat if the node is sending every 5 minutes?

                        jjkJ 1 Reply Last reply
                        0
                        • gohanG gohan

                          Try reflash the older node, maybe you updated library or else. Why do you need heatbeat if the node is sending every 5 minutes?

                          jjkJ Offline
                          jjkJ Offline
                          jjk
                          wrote on last edited by
                          #37

                          @gohan fair question, I don't need it, it's just still in the code and besides, the 5 min message from smartsleep seems to show up every two mins (the heartbeaat rate)
                          And yes, I did indeed update the library, so maybe that's why. Turns out, the bigger problem is that these message seem to cause an exception in the openhab mysensor binding, so at best I'd like to figure out how to stop the node from sending them... Will do some digging

                          1 Reply Last reply
                          0
                          • gohanG Offline
                            gohanG Offline
                            gohan
                            Mod
                            wrote on last edited by
                            #38

                            Are you sure it is the smartsleep? Since you are debugging, use https://www.mysensors.org/build/parser to decode messages to a more human readable format

                            1 Reply Last reply
                            0
                            • jjkJ Offline
                              jjkJ Offline
                              jjk
                              wrote on last edited by
                              #39

                              yes, I am sure now: https://forum.mysensors.org/topic/8933/mysensors-2-2-0-released/27

                              Looks like the only way to eliminate the messages is to not use smartsleep ;)

                              1 Reply Last reply
                              0
                              • gohanG Offline
                                gohanG Offline
                                gohan
                                Mod
                                wrote on last edited by
                                #40

                                You may need to get in touch with openhab binding developer to fix that

                                jjkJ 1 Reply Last reply
                                0
                                • gohanG gohan

                                  You may need to get in touch with openhab binding developer to fix that

                                  jjkJ Offline
                                  jjkJ Offline
                                  jjk
                                  wrote on last edited by
                                  #41

                                  @gohan yes, have done that. Thanks for your time and support!

                                  1 Reply Last reply
                                  0
                                  • I Offline
                                    I Offline
                                    itbeyond
                                    wrote on last edited by
                                    #42

                                    I am investigating a problem I have found with I think openHAB but I am not sure if this issue is not related to the Gateway code of 2.3.0.
                                    When a node performs a requestTime() I am seeing this reported:

                                    2018-10-09 10:47:13.337 [INFO ] [rs.internal.gateway.MySensorsGateway] - I_TIME request received from 2, answering...

                                    Looks perfect and the node receives the time however I was curious as to why sometimes the node would receive GMT and at other times my local timezone GMT+8. I decided to run the gateway via MYSContoller so I could monitor and log the traffic and I have found the problem. When the Gateway receives the request it responds twice within a few ms of each other, for what reason I do not know but the first response send the local time zone response (GMT+8) and the second is a GMT response. The logs from MYSController for the above report are as follows:

                                    318857 9/10/2018 10:47:19 RX 2 - Irrigation Ctrl (2) INTERNAL C_INTERNAL NO I_TIME
                                    318858 9/10/2018 10:47:19 TX 2 - Irrigation Ctrl (2) INTERNAL C_INTERNAL NO I_TIME 1539082039
                                    318859 9/10/2018 10:47:19 TX 2 - Irrigation Ctrl (2) INTERNAL C_INTERNAL NO I_TIME "1539053233

                                    "
                                    Note the quotes where picked up in the copy and paste (I did this several times) so it looks like the body was changed to a string type but I also caught this in the MYSController Debug:
                                    9/10/2018 10:47:19 RX 2;255;3;0;1;
                                    9/10/2018 10:47:19 INFO Reply time request
                                    9/10/2018 10:47:19 TX 2;255;3;0;1;1539082039
                                    9/10/2018 10:47:19 FWD 2;255;3;0;1;1539053233
                                    9/10/2018 10:47:19 TX 2;255;3;0;1;1539053233

                                    So I am curious as to where the FWD comes from and why the response body has changed between the TX, FWD & TX?

                                    1 Reply Last reply
                                    0
                                    • T Offline
                                      T Offline
                                      tonbor
                                      wrote on last edited by
                                      #43

                                      Is there a type to present in mysensors for solar radiation w/m2. Got a veml6075 sensor. And domoticz has a solar radiation sensor type.

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


                                      13

                                      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