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. 💬 Temperature Sensor

💬 Temperature Sensor

Scheduled Pinned Locked Moved Announcements
171 Posts 40 Posters 54.7k Views 36 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.
  • DickD Dick

    @mfalkvidd I already tried a fixed node ID but that was not the solution so I checked the log of domoticz and this is the result:

    2017-08-19 11:59:30.260 MySensors: Node: 48, Sketch Name: Temperature Sensor
    2017-08-19 11:59:30.261 MySensors: Node: 48, Sketch Version: 1.2
    2017-08-19 11:59:38.480 MySensors: Node: 48, Sketch Name: Temperature Sensor
    2017-08-19 11:59:38.481 MySensors: Node: 48, Sketch Version: 1.2

    So it see the node but it does not pop up as a new device.
    The Arduino log shows this:

    0 MCO:BGN:INIT REPEATER,CP=RNNRA--,VER=2.1.1
    3 MCO:BGN:BFR
    6 TSM:INIT
    7 TSF:WUR:MS=0
    14 TSM:INIT:TSP OK
    16 TSF:SID:OK,ID=48
    17 TSM:FPAR
    59 TSF:MSG:SEND,48-48-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    360 TSF:MSG:READ,0-0-48,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    365 TSF:MSG:FPAR OK,ID=0,D=1
    408 TSF:MSG:READ,20-20-48,s=255,c=3,t=8,pt=1,l=1,sg=0:1
    2066 TSM:FPAR:OK
    2067 TSM:ID
    2068 TSM:ID:OK
    2070 TSM:UPL
    2074 TSF:MSG:SEND,48-48-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
    2086 TSF:MSG:READ,0-0-48,s=255,c=3,t=25,pt=1,l=1,sg=0:1
    2092 TSF:MSG:PONG RECV,HP=1
    2094 TSM:UPL:OK
    2096 TSM:READY:ID=48,PAR=0,DIS=1
    2101 TSF:MSG:SEND,48-48-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
    2110 TSF:MSG:READ,0-0-48,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    2118 TSF:MSG:SEND,48-48-0-0,s=255,c=0,t=18,pt=0,l=5,sg=0,ft=0,st=OK:2.1.1
    2127 TSF:MSG:SEND,48-48-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
    2143 TSF:MSG:READ,0-0-48,s=255,c=3,t=6,pt=0,l=1,sg=0:M
    2152 TSF:MSG:SEND,48-48-0-0,s=255,c=3,t=11,pt=0,l=18,sg=0,ft=0,st=OK:Temperature Sensor
    2162 TSF:MSG:SEND,48-48-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.2
    2169 MCO:REG:REQ
    2173 TSF:MSG:SEND,48-48-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
    2183 TSF:MSG:READ,0-0-48,s=255,c=3,t=27,pt=1,l=1,sg=0:1
    2188 MCO:PIM:NODE REG=1
    2190 MCO:BGN:STP
    2191 MCO:BGN:INIT OK,TSP=1
    2196 MCO:SLP:MS=750,SMS=0,I1=255,M1=255,I2=255,M2=255
    2201 !MCO:SLP:REP
    2952 MCO:SLP:MS=30000,SMS=0,I1=255,M1=255,I2=255,M2=255
    2957 !MCO:SLP:REP
    32960 MCO:SLP:MS=750,SMS=0,I1=255,M1=255,I2=255,M2=255

    rejoe2R Offline
    rejoe2R Offline
    rejoe2
    wrote on last edited by
    #90

    @mfalkvidd Thx for your observation, I didn't realise that. Did you try to use this sketch also?
    As FHEM is the controller sw I use, I am not able to really test this kind of behaviour, that more seemed to be related to domoticz (or other trouble wrt. to this individual MySensors-installation).

    @Dick Imo, the node at least when trying to register behaves as necessary: it presents itself to the controller (but the chosen ID seems to be already bound to a different node). In FHEM - not for the node itself but for individual readings - it is necessary to reload the page to see updated readings, if it's the very first time they are sent from node's side (hope, you can follow my thoughts). Maybe domoticz shows a similar behaviour?

    Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

    mfalkviddM 1 Reply Last reply
    0
    • rejoe2R rejoe2

      @mfalkvidd Thx for your observation, I didn't realise that. Did you try to use this sketch also?
      As FHEM is the controller sw I use, I am not able to really test this kind of behaviour, that more seemed to be related to domoticz (or other trouble wrt. to this individual MySensors-installation).

      @Dick Imo, the node at least when trying to register behaves as necessary: it presents itself to the controller (but the chosen ID seems to be already bound to a different node). In FHEM - not for the node itself but for individual readings - it is necessary to reload the page to see updated readings, if it's the very first time they are sent from node's side (hope, you can follow my thoughts). Maybe domoticz shows a similar behaviour?

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #91

      @rejoe2 could you clarify which observation you are referring to?

      rejoe2R 1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        @rejoe2 could you clarify which observation you are referring to?

        rejoe2R Offline
        rejoe2R Offline
        rejoe2
        wrote on last edited by rejoe2
        #92

        @mfalkvidd I was reffering to this part of the serial output:

        0 MCO:BGN:INIT REPEATER,CP=RNNRA--,VER=2.1.1
        

        Imo, the only thing that is not standard is to also use a comment when presenting the individual temp-sensors:

        present(i + DS_First_Child_ID, S_TEMP, charAddr);
        

        FHEM doesn't care about that (just ignores this comment), but maybe other controllers don't like that at all. (I added this as it is a possible feature and may be helpful for others), but @Dick , you could try to delete the last argument.

        Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

        mfalkviddM 1 Reply Last reply
        1
        • rejoe2R rejoe2

          @mfalkvidd I was reffering to this part of the serial output:

          0 MCO:BGN:INIT REPEATER,CP=RNNRA--,VER=2.1.1
          

          Imo, the only thing that is not standard is to also use a comment when presenting the individual temp-sensors:

          present(i + DS_First_Child_ID, S_TEMP, charAddr);
          

          FHEM doesn't care about that (just ignores this comment), but maybe other controllers don't like that at all. (I added this as it is a possible feature and may be helpful for others), but @Dick , you could try to delete the last argument.

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #93

          @rejoe2 the repeater feature is disabled by default, so Dick must have activated it by a define.

          DickD 1 Reply Last reply
          0
          • rejoe2R Offline
            rejoe2R Offline
            rejoe2
            wrote on last edited by
            #94

            @Dick Besides the inclusion mode, in FHEM one also has to activate a feature called "autocreate". Is there a comparable routine, and in case if: did you turn it on?
            If you have a look in your domoticz log, there most likely appear further trials to register, or not?

            Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

            DickD 1 Reply Last reply
            0
            • mfalkviddM mfalkvidd

              @rejoe2 the repeater feature is disabled by default, so Dick must have activated it by a define.

              DickD Offline
              DickD Offline
              Dick
              wrote on last edited by
              #95

              @mfalkvidd For your info, I started the sketch cleareeprom to clear my Nano, loaded the script mentioned already and the log I posted is the same so the log must fit the sketch for the DallasTemperatureSimple. The repeater is activated or is it better to turn it off?

              mfalkviddM 1 Reply Last reply
              0
              • DickD Dick

                @mfalkvidd For your info, I started the sketch cleareeprom to clear my Nano, loaded the script mentioned already and the log I posted is the same so the log must fit the sketch for the DallasTemperatureSimple. The repeater is activated or is it better to turn it off?

                mfalkviddM Offline
                mfalkviddM Offline
                mfalkvidd
                Mod
                wrote on last edited by mfalkvidd
                #96

                @Dick the repeater feature is turned off by default so there is something very fishy going on.
                Have you modified any of the MySensors library files?

                DickD 1 Reply Last reply
                0
                • rejoe2R rejoe2

                  @Dick Besides the inclusion mode, in FHEM one also has to activate a feature called "autocreate". Is there a comparable routine, and in case if: did you turn it on?
                  If you have a look in your domoticz log, there most likely appear further trials to register, or not?

                  DickD Offline
                  DickD Offline
                  Dick
                  wrote on last edited by
                  #97

                  @rejoe2 What I see in the Log of Domoticz is that all the nodes are registered and are visible in Black the only blue one is only the Dalles node
                  2017-08-19 12:44:48.339 MySensors: Node: 3, Sketch Name: Relay
                  2017-08-19 12:44:48.340 MySensors: Node: 3, Sketch Version: 1.0
                  2017-08-19 12:47:28.520 MySensors: Node: 48, Sketch Name: Temperature Sensor
                  2017-08-19 12:47:28.530 MySensors: Node: 48, Sketch Version: 1.2
                  2017-08-19 12:48:00.005 (GW Mysensors) Light/Switch (Voor Gor Pir)
                  2017-08-19 12:48:39.405 MySensors: Node: 48, Sketch Name: Temperature Sensor
                  2017-08-19 12:48:39.405 MySensors: Node: 48, Sketch Version: 1.2
                  2017-08-19 12:49:36.059 MySensors: Node: 48, Sketch Name: Temperature Sensor
                  2017-08-19 12:49:36.060 MySensors: Node: 48, Sketch Version: 1.2
                  2017-08-19 12:51:47.939 MySensors: Node: 12, Sketch Name: Temperature Sensor
                  2017-08-19 12:51:47.939 MySensors: Node: 12, Sketch Version: 1.2
                  2017-08-19 12:51:54.329 MySensors: Node: 12, Sketch Name: Temperature Sensor
                  2017-08-19 12:51:54.330 MySensors: Node: 12, Sketch Version: 1.2
                  2017-08-19 12:54:56.992 (GW Mysensors) Light/Switch (Serre IRbui)
                  2017-08-19 12:55:44.429 MySensors: Node: 12, Sketch Name: Temperature Sensor
                  2017-08-19 12:55:44.440 MySensors: Node: 12, Sketch Version: 1.2

                  mfalkviddM 1 Reply Last reply
                  0
                  • mfalkviddM mfalkvidd

                    @Dick the repeater feature is turned off by default so there is something very fishy going on.
                    Have you modified any of the MySensors library files?

                    DickD Offline
                    DickD Offline
                    Dick
                    wrote on last edited by
                    #98

                    @mfalkvidd I changed the dalles lib with an older one, because in a disussion a wile ago it was advised to get it working. Now this modified Sketch is available I replaced the dalles lib again the latest one. For the rest nothing.

                    1 Reply Last reply
                    0
                    • DickD Dick

                      @rejoe2 What I see in the Log of Domoticz is that all the nodes are registered and are visible in Black the only blue one is only the Dalles node
                      2017-08-19 12:44:48.339 MySensors: Node: 3, Sketch Name: Relay
                      2017-08-19 12:44:48.340 MySensors: Node: 3, Sketch Version: 1.0
                      2017-08-19 12:47:28.520 MySensors: Node: 48, Sketch Name: Temperature Sensor
                      2017-08-19 12:47:28.530 MySensors: Node: 48, Sketch Version: 1.2
                      2017-08-19 12:48:00.005 (GW Mysensors) Light/Switch (Voor Gor Pir)
                      2017-08-19 12:48:39.405 MySensors: Node: 48, Sketch Name: Temperature Sensor
                      2017-08-19 12:48:39.405 MySensors: Node: 48, Sketch Version: 1.2
                      2017-08-19 12:49:36.059 MySensors: Node: 48, Sketch Name: Temperature Sensor
                      2017-08-19 12:49:36.060 MySensors: Node: 48, Sketch Version: 1.2
                      2017-08-19 12:51:47.939 MySensors: Node: 12, Sketch Name: Temperature Sensor
                      2017-08-19 12:51:47.939 MySensors: Node: 12, Sketch Version: 1.2
                      2017-08-19 12:51:54.329 MySensors: Node: 12, Sketch Name: Temperature Sensor
                      2017-08-19 12:51:54.330 MySensors: Node: 12, Sketch Version: 1.2
                      2017-08-19 12:54:56.992 (GW Mysensors) Light/Switch (Serre IRbui)
                      2017-08-19 12:55:44.429 MySensors: Node: 12, Sketch Name: Temperature Sensor
                      2017-08-19 12:55:44.440 MySensors: Node: 12, Sketch Version: 1.2

                      mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by mfalkvidd
                      #99

                      @Dick this part

                      2201 !MCO:SLP:REP
                      

                      of the initial log you posted says that the node cannot sleep because it is a repeater.

                      This part of the sketch:

                        // sleep() call can be replaced by wait() call if node need to process incoming messages (or if node is repeater)
                        sleep(conversionTime);
                      

                      explains that if the node is a repeater, the sleep call must be replaced by wait. If it is not replaced, the temperature sensors will not be ready when getTemp... is called, so the node will not send any values. Domoticz only lists sensors that have sent a value.

                      DickD 2 Replies Last reply
                      1
                      • mfalkviddM mfalkvidd

                        @Dick this part

                        2201 !MCO:SLP:REP
                        

                        of the initial log you posted says that the node cannot sleep because it is a repeater.

                        This part of the sketch:

                          // sleep() call can be replaced by wait() call if node need to process incoming messages (or if node is repeater)
                          sleep(conversionTime);
                        

                        explains that if the node is a repeater, the sleep call must be replaced by wait. If it is not replaced, the temperature sensors will not be ready when getTemp... is called, so the node will not send any values. Domoticz only lists sensors that have sent a value.

                        DickD Offline
                        DickD Offline
                        Dick
                        wrote on last edited by
                        #100

                        @mfalkvidd I chaned the Sleep into Wait but the same log in both Domoticz and on my Arduino. I thought it was an easy go but it appear not to be.

                        rejoe2R mfalkviddM 2 Replies Last reply
                        0
                        • DickD Dick

                          @mfalkvidd I chaned the Sleep into Wait but the same log in both Domoticz and on my Arduino. I thought it was an easy go but it appear not to be.

                          rejoe2R Offline
                          rejoe2R Offline
                          rejoe2
                          wrote on last edited by
                          #101

                          @Dick Did you change it at both places ( sleep(conversionTime);)?

                          Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

                          DickD 1 Reply Last reply
                          0
                          • rejoe2R rejoe2

                            @Dick Did you change it at both places ( sleep(conversionTime);)?

                            DickD Offline
                            DickD Offline
                            Dick
                            wrote on last edited by
                            #102

                            @rejoe2 Yes on both location I replaced the sleep into a wait

                            1 Reply Last reply
                            0
                            • mfalkviddM mfalkvidd

                              @Dick this part

                              2201 !MCO:SLP:REP
                              

                              of the initial log you posted says that the node cannot sleep because it is a repeater.

                              This part of the sketch:

                                // sleep() call can be replaced by wait() call if node need to process incoming messages (or if node is repeater)
                                sleep(conversionTime);
                              

                              explains that if the node is a repeater, the sleep call must be replaced by wait. If it is not replaced, the temperature sensors will not be ready when getTemp... is called, so the node will not send any values. Domoticz only lists sensors that have sent a value.

                              DickD Offline
                              DickD Offline
                              Dick
                              wrote on last edited by
                              #103

                              @mfalkvidd In the Arduino log he Sleep error is not i anymore so that is solved but still no new device in Domoticz

                              1 Reply Last reply
                              0
                              • DickD Dick

                                @mfalkvidd I chaned the Sleep into Wait but the same log in both Domoticz and on my Arduino. I thought it was an easy go but it appear not to be.

                                mfalkviddM Offline
                                mfalkviddM Offline
                                mfalkvidd
                                Mod
                                wrote on last edited by mfalkvidd
                                #104

                                @Dick if you get the same log on the Arduino as before changing to wait, the sketch upload must have failed. Perhaps your Arduino is broken?
                                Edit: Sorry, didn't see your last reply.

                                What does the node log say now?

                                DickD 1 Reply Last reply
                                0
                                • mfalkviddM mfalkvidd

                                  @Dick if you get the same log on the Arduino as before changing to wait, the sketch upload must have failed. Perhaps your Arduino is broken?
                                  Edit: Sorry, didn't see your last reply.

                                  What does the node log say now?

                                  DickD Offline
                                  DickD Offline
                                  Dick
                                  wrote on last edited by
                                  #105

                                  @mfalkvidd Ths is what the log says
                                  0 MCO:BGN:INIT REPEATER,CP=RNNRA--,VER=2.1.1
                                  3 MCO:BGN:BFR
                                  6 TSM:INIT
                                  7 TSF:WUR:MS=0
                                  14 TSM:INIT:TSP OK
                                  16 TSF:SID:OK,ID=12
                                  18 TSM:FPAR
                                  59 TSF:MSG:SEND,12-12-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                  1016 TSF:MSG:READ,0-0-12,s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                  1021 TSF:MSG:FPAR OK,ID=0,D=1
                                  1804 TSF:MSG:READ,20-20-12,s=255,c=3,t=8,pt=1,l=1,sg=0:1
                                  1851 TSF:MSG:READ,4-4-12,s=255,c=3,t=8,pt=1,l=1,sg=0:1
                                  2067 TSM:FPAR:OK
                                  2068 TSM:ID
                                  2069 TSM:ID:OK
                                  2071 TSM:UPL
                                  2075 TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
                                  2087 TSF:MSG:READ,0-0-12,s=255,c=3,t=25,pt=1,l=1,sg=0:1
                                  2093 TSF:MSG:PONG RECV,HP=1
                                  2095 TSM:UPL:OK
                                  2097 TSM:READY:ID=12,PAR=0,DIS=1
                                  2102 TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
                                  2111 TSF:MSG:READ,0-0-12,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
                                  2119 TSF:MSG:SEND,12-12-0-0,s=255,c=0,t=18,pt=0,l=5,sg=0,ft=0,st=OK:2.1.1
                                  2128 TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
                                  2144 TSF:MSG:READ,0-0-12,s=255,c=3,t=6,pt=0,l=1,sg=0:M
                                  2152 TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=11,pt=0,l=18,sg=0,ft=0,st=OK:Temperature Sensor
                                  2163 TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.2
                                  2169 MCO:REG:REQ
                                  2173 TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
                                  2183 TSF:MSG:READ,0-0-12,s=255,c=3,t=27,pt=1,l=1,sg=0:1
                                  2188 MCO:PIM:NODE REG=1
                                  2190 MCO:BGN:STP
                                  2192 MCO:BGN:INIT OK,TSP=1

                                  mfalkviddM 1 Reply Last reply
                                  0
                                  • DickD Dick

                                    @mfalkvidd Ths is what the log says
                                    0 MCO:BGN:INIT REPEATER,CP=RNNRA--,VER=2.1.1
                                    3 MCO:BGN:BFR
                                    6 TSM:INIT
                                    7 TSF:WUR:MS=0
                                    14 TSM:INIT:TSP OK
                                    16 TSF:SID:OK,ID=12
                                    18 TSM:FPAR
                                    59 TSF:MSG:SEND,12-12-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    1016 TSF:MSG:READ,0-0-12,s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                    1021 TSF:MSG:FPAR OK,ID=0,D=1
                                    1804 TSF:MSG:READ,20-20-12,s=255,c=3,t=8,pt=1,l=1,sg=0:1
                                    1851 TSF:MSG:READ,4-4-12,s=255,c=3,t=8,pt=1,l=1,sg=0:1
                                    2067 TSM:FPAR:OK
                                    2068 TSM:ID
                                    2069 TSM:ID:OK
                                    2071 TSM:UPL
                                    2075 TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
                                    2087 TSF:MSG:READ,0-0-12,s=255,c=3,t=25,pt=1,l=1,sg=0:1
                                    2093 TSF:MSG:PONG RECV,HP=1
                                    2095 TSM:UPL:OK
                                    2097 TSM:READY:ID=12,PAR=0,DIS=1
                                    2102 TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
                                    2111 TSF:MSG:READ,0-0-12,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
                                    2119 TSF:MSG:SEND,12-12-0-0,s=255,c=0,t=18,pt=0,l=5,sg=0,ft=0,st=OK:2.1.1
                                    2128 TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
                                    2144 TSF:MSG:READ,0-0-12,s=255,c=3,t=6,pt=0,l=1,sg=0:M
                                    2152 TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=11,pt=0,l=18,sg=0,ft=0,st=OK:Temperature Sensor
                                    2163 TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.2
                                    2169 MCO:REG:REQ
                                    2173 TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
                                    2183 TSF:MSG:READ,0-0-12,s=255,c=3,t=27,pt=1,l=1,sg=0:1
                                    2188 MCO:PIM:NODE REG=1
                                    2190 MCO:BGN:STP
                                    2192 MCO:BGN:INIT OK,TSP=1

                                    mfalkviddM Offline
                                    mfalkviddM Offline
                                    mfalkvidd
                                    Mod
                                    wrote on last edited by mfalkvidd
                                    #106

                                    @Dick thanks. The node still doesn't send any values so that's why it does not show up in Domoticz.

                                    My next step would be to manually add serial debug prints at end of setup(), presentation(), and almost everywhere in loop(), to see why it doesn't attempt to send.

                                    DickD 1 Reply Last reply
                                    0
                                    • rejoe2R Offline
                                      rejoe2R Offline
                                      rejoe2
                                      wrote on last edited by
                                      #107

                                      Very strange.
                                      I just mad the test and copied the code (out of your post above) to my IDE, compiled and uploaded: No problem, worked fine. Node gets registered by FHEM, sends ID once and Temp regularly as expected. For testing, I used just one DS18B20, but that shouldn't make any difference. (And MySensors lib version 2.2-beta, but that also shouldn't be an issue).

                                      Btw: what kind of a GW you are using?
                                      Recently, I came across a situation with a WiFi-GW that absolutely refused to accept new nodes. Using a serial one, everything was fine... Strange thing, too. (The GW itself was ok, there were several other nodes working without any communication problems. the new HW was also ok. Last, the channel was also correct, as all the existing nodes just switched over to the serial GW.... Reflashing that nasty thing also was no solution.)

                                      Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

                                      1 Reply Last reply
                                      0
                                      • mfalkviddM mfalkvidd

                                        @Dick thanks. The node still doesn't send any values so that's why it does not show up in Domoticz.

                                        My next step would be to manually add serial debug prints at end of setup(), presentation(), and almost everywhere in loop(), to see why it doesn't attempt to send.

                                        DickD Offline
                                        DickD Offline
                                        Dick
                                        wrote on last edited by
                                        #108

                                        I put some deug lines i it and after uploadig the sketch it stops here (wait conversationtime.)
                                        setup done.
                                        2191 MCO:BGN:INIT OK,TSP=1
                                        fetch sensors.
                                        wait conversationtime.
                                        fetch sensors.
                                        wait conversationtime.
                                        fetch sensors.
                                        wait conversationtime.
                                        fetch sensors.
                                        wait conversationtime.
                                        fetch sensors.
                                        wait conversationtime.
                                        fetch sensors.
                                        wait conversationtime.
                                        fetch sensors.
                                        wait conversationtime.

                                        mfalkviddM 1 Reply Last reply
                                        0
                                        • DickD Dick

                                          I put some deug lines i it and after uploadig the sketch it stops here (wait conversationtime.)
                                          setup done.
                                          2191 MCO:BGN:INIT OK,TSP=1
                                          fetch sensors.
                                          wait conversationtime.
                                          fetch sensors.
                                          wait conversationtime.
                                          fetch sensors.
                                          wait conversationtime.
                                          fetch sensors.
                                          wait conversationtime.
                                          fetch sensors.
                                          wait conversationtime.
                                          fetch sensors.
                                          wait conversationtime.
                                          fetch sensors.
                                          wait conversationtime.

                                          mfalkviddM Offline
                                          mfalkviddM Offline
                                          mfalkvidd
                                          Mod
                                          wrote on last edited by mfalkvidd
                                          #109

                                          @Dick could you try printing the value of numSensors in presentation()? (or in loop, it should have the same value there)

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


                                          10

                                          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