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



  • 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


  • Hero Member

    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...



  • 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���



  • @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.



  • 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.



  • 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).



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



  • 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.



  • 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, ... ?



  • 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". 😃



  • glad you found your issue


Log in to reply
 

Suggested Topics

  • 4
  • 933
  • 5
  • 1
  • 9
  • 274

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts