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. Development
  3. gw to node: isalive ?

gw to node: isalive ?

Scheduled Pinned Locked Moved Development
17 Posts 3 Posters 5.9k 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.
  • epierreE Offline
    epierreE Offline
    epierre
    Hero Member
    wrote on last edited by
    #1

    is there a way to have the controller ask a node and see if it is alive ?

    z-wave - Vera -> Domoticz
    rfx - Domoticz <- MyDomoAtHome <- Imperihome
    mysensors -> mysensors-gw -> Domoticz

    hekH 1 Reply Last reply
    0
    • epierreE epierre

      is there a way to have the controller ask a node and see if it is alive ?

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

      @epierre

      Yea, but it must be awake and answer replies (of your choice).

      1 Reply Last reply
      0
      • epierreE Offline
        epierreE Offline
        epierre
        Hero Member
        wrote on last edited by
        #3

        hello, the warersensor is always awake but sending a 2;5:2;35 ; doesn't bring back value.... that is why I'm asking for help

        z-wave - Vera -> Domoticz
        rfx - Domoticz <- MyDomoAtHome <- Imperihome
        mysensors -> mysensors-gw -> Domoticz

        hekH 1 Reply Last reply
        0
        • marceltrapmanM Offline
          marceltrapmanM Offline
          marceltrapman
          Mod
          wrote on last edited by
          #4

          I also have this with the repeater ("ARDIUNO_RELAY").
          I want to make sure that this and all sensors are available by asking them for their version and sketch but they do not always reply so it seems...

          Fulltime Servoy Developer
          Parttime Moderator MySensors board

          I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
          I have a FABtotum to print cases.

          epierreE 1 Reply Last reply
          0
          • epierreE epierre

            hello, the warersensor is always awake but sending a 2;5:2;35 ; doesn't bring back value.... that is why I'm asking for help

            hekH Offline
            hekH Offline
            hek
            Admin
            wrote on last edited by
            #5

            @epierre said:

            hello, the warersensor is always awake but sending a 2;5:2;35 ; doesn't bring back value.... that is why I'm asking for help

            What exactly are you trying to send here? 35? How does your code look like? Are you handling the incoming message in the sensor and create a reply back to controller?

            epierreE 1 Reply Last reply
            0
            • hekH hek

              @epierre said:

              hello, the warersensor is always awake but sending a 2;5:2;35 ; doesn't bring back value.... that is why I'm asking for help

              What exactly are you trying to send here? 35? How does your code look like? Are you handling the incoming message in the sensor and create a reply back to controller?

              epierreE Offline
              epierreE Offline
              epierre
              Hero Member
              wrote on last edited by
              #6

              @hek hi, I've added nothing yet but your answer make me realize there is no query logic by default in tbe sensor.

              z-wave - Vera -> Domoticz
              rfx - Domoticz <- MyDomoAtHome <- Imperihome
              mysensors -> mysensors-gw -> Domoticz

              1 Reply Last reply
              0
              • marceltrapmanM marceltrapman

                I also have this with the repeater ("ARDIUNO_RELAY").
                I want to make sure that this and all sensors are available by asking them for their version and sketch but they do not always reply so it seems...

                epierreE Offline
                epierreE Offline
                epierre
                Hero Member
                wrote on last edited by
                #7

                @marceltrapman what kind of message do you send ? I don't see in the API you can request internal values...

                @hek would the ack be aplicable to all sensors ?

                z-wave - Vera -> Domoticz
                rfx - Domoticz <- MyDomoAtHome <- Imperihome
                mysensors -> mysensors-gw -> Domoticz

                marceltrapmanM 1 Reply Last reply
                0
                • epierreE epierre

                  @marceltrapman what kind of message do you send ? I don't see in the API you can request internal values...

                  @hek would the ack be aplicable to all sensors ?

                  marceltrapmanM Offline
                  marceltrapmanM Offline
                  marceltrapman
                  Mod
                  wrote on last edited by
                  #8

                  @epierre I am working on my plugin for Indigo.
                  This is what these messages look like:

                  2014-07-16 21:59:18.267	MySensors Debug	Sending command 2;0;3;0;2;Get Version
                  2014-07-16 21:59:18.267	MySensors Debug	Sending command 2;0;3;0;11;Get Sketch Name
                  

                  Fulltime Servoy Developer
                  Parttime Moderator MySensors board

                  I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                  I have a FABtotum to print cases.

                  epierreE 1 Reply Last reply
                  0
                  • marceltrapmanM marceltrapman

                    @epierre I am working on my plugin for Indigo.
                    This is what these messages look like:

                    2014-07-16 21:59:18.267	MySensors Debug	Sending command 2;0;3;0;2;Get Version
                    2014-07-16 21:59:18.267	MySensors Debug	Sending command 2;0;3;0;11;Get Sketch Name
                    
                    epierreE Offline
                    epierreE Offline
                    epierre
                    Hero Member
                    wrote on last edited by
                    #9

                    @marceltrapman it did not work for me... but tje sensor is back again to my higjer satisfaction...

                    @hek it is importantbfor an alarm ti ping its node to know if there is signal jamming...

                    z-wave - Vera -> Domoticz
                    rfx - Domoticz <- MyDomoAtHome <- Imperihome
                    mysensors -> mysensors-gw -> Domoticz

                    marceltrapmanM 1 Reply Last reply
                    0
                    • epierreE epierre

                      @marceltrapman it did not work for me... but tje sensor is back again to my higjer satisfaction...

                      @hek it is importantbfor an alarm ti ping its node to know if there is signal jamming...

                      marceltrapmanM Offline
                      marceltrapmanM Offline
                      marceltrapman
                      Mod
                      wrote on last edited by
                      #10

                      @epierre said:

                      @marceltrapman tje sensor is back again to my higjer satisfaction...

                      Nice.

                      Looking at Indigo and Z-wave there is the same issue. A node that is asleep can not be awoken from Indigo (or any other controller).
                      The reason I would like this to be different is so that I know that a sensor has fallen out (battery dead or otherwise).

                      The problem is that waking a sensor up means that the sensor has to listen.
                      When a sensor listens it has to be awake (I believe).
                      Vicious Circle...

                      Fulltime Servoy Developer
                      Parttime Moderator MySensors board

                      I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                      I have a FABtotum to print cases.

                      epierreE 1 Reply Last reply
                      0
                      • marceltrapmanM marceltrapman

                        @epierre said:

                        @marceltrapman tje sensor is back again to my higjer satisfaction...

                        Nice.

                        Looking at Indigo and Z-wave there is the same issue. A node that is asleep can not be awoken from Indigo (or any other controller).
                        The reason I would like this to be different is so that I know that a sensor has fallen out (battery dead or otherwise).

                        The problem is that waking a sensor up means that the sensor has to listen.
                        When a sensor listens it has to be awake (I believe).
                        Vicious Circle...

                        epierreE Offline
                        epierreE Offline
                        epierre
                        Hero Member
                        wrote on last edited by
                        #11

                        @marceltrapman yes...in my case some are not asleep... not to say all... in z-wave the hysteresis management is good, controller ofter fairly manage device that always send something every 2h...

                        z-wave - Vera -> Domoticz
                        rfx - Domoticz <- MyDomoAtHome <- Imperihome
                        mysensors -> mysensors-gw -> Domoticz

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

                          A better approach is probably to send in something every time sensor wakes up.

                          epierreE marceltrapmanM 2 Replies Last reply
                          0
                          • hekH hek

                            A better approach is probably to send in something every time sensor wakes up.

                            epierreE Offline
                            epierreE Offline
                            epierre
                            Hero Member
                            wrote on last edited by
                            #13

                            @hek well if sensor sends something I know it is awoken ;-) I'll try implement something on my water sensor on this !

                            z-wave - Vera -> Domoticz
                            rfx - Domoticz <- MyDomoAtHome <- Imperihome
                            mysensors -> mysensors-gw -> Domoticz

                            1 Reply Last reply
                            0
                            • hekH hek

                              A better approach is probably to send in something every time sensor wakes up.

                              marceltrapmanM Offline
                              marceltrapmanM Offline
                              marceltrapman
                              Mod
                              wrote on last edited by marceltrapman
                              #14

                              @hek said:

                              A better approach is probably to send in something every time sensor wakes up.

                              @hek @epierre
                              While thinking about this I think I want to add a 'wake-interval' like implemented in z-wave (and exposed in Indigo).
                              I want to be able to set a wake interval to every 5, 10, 15, 20, 30, 45 minutes, 1, 2, 4 hours, twice per day, once per day or once per week.

                              Not sure if this is something for me to do or that this belongs in the libraries...

                              Fulltime Servoy Developer
                              Parttime Moderator MySensors board

                              I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                              I have a FABtotum to print cases.

                              hekH 1 Reply Last reply
                              0
                              • marceltrapmanM marceltrapman

                                @hek said:

                                A better approach is probably to send in something every time sensor wakes up.

                                @hek @epierre
                                While thinking about this I think I want to add a 'wake-interval' like implemented in z-wave (and exposed in Indigo).
                                I want to be able to set a wake interval to every 5, 10, 15, 20, 30, 45 minutes, 1, 2, 4 hours, twice per day, once per day or once per week.

                                Not sure if this is something for me to do or that this belongs in the libraries...

                                hekH Offline
                                hekH Offline
                                hek
                                Admin
                                wrote on last edited by
                                #15

                                @marceltrapman

                                This could very well be implemented with the current libraries.

                                You could for instance request VAR_1 every time the sensor wakes up which contains the sleep time used when putting Arduino to sleep..

                                This would make sleep time configurable from controller-side.

                                marceltrapmanM 1 Reply Last reply
                                0
                                • hekH hek

                                  @marceltrapman

                                  This could very well be implemented with the current libraries.

                                  You could for instance request VAR_1 every time the sensor wakes up which contains the sleep time used when putting Arduino to sleep..

                                  This would make sleep time configurable from controller-side.

                                  marceltrapmanM Offline
                                  marceltrapmanM Offline
                                  marceltrapman
                                  Mod
                                  wrote on last edited by marceltrapman
                                  #16

                                  @hek said:

                                  This could very well be implemented with the current libraries.

                                  You could for instance request VAR_1 every time the sensor wakes up which contains the sleep time used when putting Arduino to sleep..

                                  This would make sleep time configurable from controller-side.

                                  Hah, gonna use that!!!!!!

                                  Fulltime Servoy Developer
                                  Parttime Moderator MySensors board

                                  I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                                  I have a FABtotum to print cases.

                                  epierreE 1 Reply Last reply
                                  0
                                  • marceltrapmanM marceltrapman

                                    @hek said:

                                    This could very well be implemented with the current libraries.

                                    You could for instance request VAR_1 every time the sensor wakes up which contains the sleep time used when putting Arduino to sleep..

                                    This would make sleep time configurable from controller-side.

                                    Hah, gonna use that!!!!!!

                                    epierreE Offline
                                    epierreE Offline
                                    epierre
                                    Hero Member
                                    wrote on last edited by
                                    #17

                                    @marceltrapman @hek that would mean sketched upgrade, but I plus it !

                                    z-wave - Vera -> Domoticz
                                    rfx - Domoticz <- MyDomoAtHome <- Imperihome
                                    mysensors -> mysensors-gw -> Domoticz

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


                                    12

                                    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