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. General Discussion
  3. Dallas 1-wire temp only gives 22 degrees C reading. Any suggestions?

Dallas 1-wire temp only gives 22 degrees C reading. Any suggestions?

Scheduled Pinned Locked Moved General Discussion
11 Posts 4 Posters 3.0k Views 2 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.
  • P Offline
    P Offline
    popunonkok
    wrote on last edited by
    #1

    I have just manage to put together a Serial Gateway + one node with a 18b20 tempsensor.

    Im using Domoticz as controller on a Raspberry Pi.

    Domoticz sees the node with the sensor and it logs 22 degrees C. The problem is that it does not change. Iw put the sensor on the floor and open the door to my house and it still gives the reading 22 degrees every 5 minutes.

    Does anyone have an idee where the problem could be?

    MVH Peter

    1 Reply Last reply
    0
    • greglG Offline
      greglG Offline
      gregl
      Hero Member
      wrote on last edited by
      #2

      What do you see in the serial monitor of the sensor - it should be printing the temp its sending to the controller.

      If this is correct then you know the issue is not with your sensor, but upstream somewhere...

      1 Reply Last reply
      0
      • P Offline
        P Offline
        popunonkok
        wrote on last edited by
        #3

        Well, I belive my problem is the sensor/node. This is what comes up in the serial monitor. =) Thanks for the tip though. Does all different Mysensors examples send info to the serial gateway? That is great to know, as a debugging tool I mean.

        ����d�Ug�R� ���Jl��P�����՚���JX���

        1 Reply Last reply
        0
        • F Offline
          F Offline
          fleinze
          wrote on last edited by
          #4

          @popunonkok this output looks like you did not set the baud-rate correctly. Please set the baud-rate of the serial monitor to 115200 baud, this is the standard-baud-rate for the mysensors-library.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            popunonkok
            wrote on last edited by
            #5

            Well that was better.

            read: 254-1-0 s=0,c=0,t=6,pt=0,l=0,sg=0:
            send: 254-254-0-0 s=0,c=1,t=0,pt=7,l=5,sg=0,st=ok:21.3
            read: 254-1-0 s=0,c=0,t=6,pt=0,l=0,sg=0:
            send: 254-254-0-0 s=0,c=1,t=0,pt=7,l=5,sg=0,st=ok:21.4
            read: 254-1-0 s=0,c=0,t=6,pt=0,l=0,sg=0:
            send: 254-254-0-0 s=0,c=1,t=0,pt=7,l=5,sg=0,st=ok:21.3
            read: 254-1-0 s=0,c=0,t=6,pt=0,l=0,sg=0:
            send: 254-254-0-0 s=0,c=1,t=0,pt=7,l=5,sg=0,st=ok:21.4
            read: 254-1-0 s=0,c=0,t=6,pt=0,l=0,sg=0:
            send: 254-254-0-0 s=0,c=1,t=0,pt=7,l=5,sg=0,st=ok:21.3
            read: 254-1-0 s=0,c=0,t=6,pt=0,l=0,sg=0:
            send: 254-254-0-0 s=0,c=1,t=0,pt=7,l=5,sg=0,st=ok:21.5
            read: 254-1-0 s=0,c=0,t=6,pt=0,l=0,sg=0:

            In this case it looks like the node is sendong (about) 21.3 degrees, does it not?

            Im not getting that on the controller. So the problem is not the sensor reading but one of the following: 1Sending the data, 2 Reciving the data, 3sending the data from the gateway to the controller.

            1 Reply Last reply
            0
            • P Offline
              P Offline
              popunonkok
              wrote on last edited by
              #6

              Now I dont receive anything on the controller. Yesterday Wien I recived 22degrees I was 10-12 meters away from the gateway with 1 Wall inbetween. Now the nude sits 30cm from the gateway and Im not reciving anything. :/

              Iv restarted the node but not the controller (RaspberryPi).

              1 Reply Last reply
              0
              • fetsF Offline
                fetsF Offline
                fets
                wrote on last edited by
                #7

                what does the node output says when your gateway is not receiving ?
                Is the status "fail" ?
                What controller do you use ?

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  popunonkok
                  wrote on last edited by
                  #8

                  Where can I see the "Node output"? The serial monitor on the arduino is showing the text I posted i previus post.
                  The controller I use is Domoticz on a Rasperry Pi. The controller is running good and reciving values from a usbbound 1-wire network with a couple of sensors (These does not have any connection with Mysensors). But not from the wireless Mysensors node.

                  1 Reply Last reply
                  0
                  • fetsF Offline
                    fetsF Offline
                    fets
                    wrote on last edited by
                    #9

                    I meant serial monitor.
                    i think that if st=OK means that your serial gateway RF24 receive the message sent by the node.
                    Does the controller log says anything : incoming message, ... ?

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      popunonkok
                      wrote on last edited by
                      #10

                      I belive I have found the problem. I have a RFXcom RFXtrx 433 transiver that talks to some swiches and so on. When I started experimenting with mysensors I did not have enough usb ports so I disconnected the RFXcom. This led to the fact that the Mysensors gateway was connected to the same usb port as the RFXcom were using earlier. I did not realise that I had to uncheck the "enabled" checkbox in Domoticz for the RFXcom. I quess Domoticz where trying to talk "RFXcom language" with my gateway that only understands "Mysensors language". =)

                      1 Reply Last reply
                      0
                      • fetsF Offline
                        fetsF Offline
                        fets
                        wrote on last edited by
                        #11

                        glad you found your issue

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


                        22

                        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