Smart Home Automation Forum
Dallas Temp Sensor - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-AIO (https://www.kincony.com/forum/forumdisplay.php?fid=46)
+--- Thread: Dallas Temp Sensor (/showthread.php?tid=5896)

Pages: 1 2


Dallas Temp Sensor - telewizard13 - 06-14-2024

   
I have been trying to install a Dallas temperature probe on the AIO board and have been unsuccessful. I used an Arduino Uno and a sketch to retrieve the address of the 10 probe(s) I purchased and as I got the address I marked a number on the probes to keep them identified. I tried two different probes, red lead to +3.5V, Black to GND and tried both IO pins 4 & 5 to no avail. I get an error in the logs that I have no idea what to do with.


RE: Dallas Temp Sensor - admin - 06-14-2024

take a photo , how you wire your DS18B20 with AIO board.


RE: Dallas Temp Sensor - telewizard13 - 06-15-2024

I found the error The DS18b20 address your AIO config program discovered was not the same as the address reported by the discovery sketch that was used on my arduino.


RE: Dallas Temp Sensor - admin - 06-15-2024

sure, every DS18B20 have different address, you can't use my address. you need discover find your own sensor's address, then replace in yaml file.


Temp Sensors - telewizard13 - 06-15-2024

I read somewhere that the AIO only supports one Dallas temp sensor. What would you recommend for adding additional wired temperature sensors to monitor other locations in my home? Otherwise, I might just use Zwave sensors,
Thanks!


RE: Dallas Temp Sensor - admin - 06-15-2024

you can use multi ds18b20 with one GPIO, just connect wire together. see this demo case: https://www.kincony.com/forum/showthread.php?tid=5886


RE: Dallas Temp Sensor - telewizard13 - 06-15-2024

Since I already have the AIO board, would the YAML file you referenced for multiple sensors be entered as a separate file in the system config, or would the AIO Yaml be edited somehow.  Sorry for the dumb questions, but I'm new the this.


RE: Dallas Temp Sensor - admin - 06-15-2024

only edit one yaml file, for example:
dallas:
- pin: GPIOXX

sensor:
- platform: dallas
address: 0xA40000031F055028
name: "Temperature #1"
- platform: dallas
address: 0xDD0000031EFB0428
name: "Temperature #2"

here is details from ESPHome webpage: https://esphome.io/components/sensor/dallas.html


RE: Dallas Temp Sensor - telewizard13 - 06-16-2024

Got it! Thank you very much!


RE: Dallas Temp Sensor - BossRet - 08-11-2024

I'm attempting to get working dallas temperature sensors across 2x bus. I can't seem to work out the YAML can you provide some help please?

one_wire:
- platform: gpio
pin: 5
id: Channel1
pin: 14
id: Channel2

sensor:
- platform: dallas_temp
address: 0xb217bbd44679ed28
name: "Large House Hotwater"
one_wire_id: "Channel1"
update_interval: 300s

- platform: dallas_temp
address: 0xe3285bd446ac9728
name: "Small House Hotwater"
one_wire_id: "Channel2"
update_interval: 300s