DS1820 temp sensor Topic is solved

Moderator: leecollings

Post Reply
mountainmannm
Posts: 10
Joined: Saturday 12 August 2017 6:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

DS1820 temp sensor

Post by mountainmannm »

Hello,
I'm trying to use a DS1820 temp sensor hooked up to my Raspberry PI's GPIO. I've got it hooked up and seemingly working, and as the wiki promises, I can see that the sensor has been added in the log. But it's not in my devices. I'm not sure where to go from here. If anybody can help I'd appreciate it. Thanks!
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: DS1820 temp sensor

Post by Derik »

I do have the same problem to...

Only buy a cheap sonoff...
Flash with espeasy then you can use 12 dallassensors and you have a switch
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: DS1820 temp sensor

Post by jake »

mountainmannm wrote:Hello,
I'm trying to use a DS1820 temp sensor hooked up to my Raspberry PI's GPIO. I've got it hooked up and seemingly working, and as the wiki promises, I can see that the sensor has been added in the log. But it's not in my devices. I'm not sure where to go from here. If anybody can help I'd appreciate it. Thanks!
did you enable 'allow new devices' in the settings of Domoticz?
mountainmannm
Posts: 10
Joined: Saturday 12 August 2017 6:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: DS1820 temp sensor

Post by mountainmannm »

This was my problem! I didn't even think of this. I enabled new devices and it populated rite away. Thank you!

Getting temp sensors to work with an ESP8226 is another story for me. I've tried everything I can think of. I've spent too much money on all sorts of sensors, and I've been playing with ESP Easy for maybe the last year, and I just can't get a single temp sensor to work. I do have lots of RFID readers working. I absolutely LOVE Domoticz but my main gripe is how difficult it's been to get a wired temp sensor to work. I've worked on a lot of commercial automation systems and it's so easy to use a plane 10K type III thermistor, it just works every time. So to get a temperature sensor working at all is a big accomplishment for me!
ulfh2018
Posts: 65
Joined: Sunday 11 November 2018 9:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Oslo
Contact:

Re: DS1820 temp sensor

Post by ulfh2018 »

You could have a look at this page:
https://eigenbrood.eu/2018/03/22/espeas ... -domoticz/

I have several sensors working - it's not complicated and works like a dream, though I have been using DTH22. As long as ESP Easy has an entry for the DS1820, I suppose it should be the same story, but you must use a dummy device and a virtual sensor. You must also use the same idx in EspEasy as you do in Domoticz
pakovec2
Posts: 4
Joined: Friday 03 May 2019 7:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Czech Republic
Contact:

Re: DS1820 temp sensor

Post by pakovec2 »

ulfh2018 wrote: Saturday 09 March 2019 7:34 You could have a look at this page:
https://eigenbrood.eu/2018/03/22/espeas ... -domoticz/

I have several sensors working - it's not complicated and works like a dream, though I have been using DTH22. As long as ESP Easy has an entry for the DS1820, I suppose it should be the same story, but you must use a dummy device and a virtual sensor. You must also use the same idx in EspEasy as you do in Domoticz
Thanks for the good explanation. I am just about to move away from SmartThings and Zigbee sensors, and want to build my sensors into Domoticz (needed Domoticz anyway, to get my Somfy blinds connected to the system).
Am a total newbee, so looking for a possibly step-by-step solution to build a wifi sensor. Will give Yours a try.
Question: ESP8226 and EspEasy - is it the same, or it refers to something different?
kimot
Posts: 104
Joined: Saturday 25 November 2017 17:18
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8153
Location: Czech Rep.
Contact:

Re: DS1820 temp sensor

Post by kimot »

ESP8266 is processor with wifi on board.
You can buy different boards with this processor.
I suggest Wemos D1mini for first experiments.
For ESP8266 you can write your own programs in Arduino IDE for example,
OR you can use firmwares ( writen by other peoples ), which are ready for connecting different sensors to ESP8266 and sending data to Domoticz for example.
One from those firmwares is ESPEASY.
Then you create in Domoticz dummy temperature sensors and make notice about his IDX.
Then you load to your ESP8266 firmware ESPeasy ( downloaded .bin file )
Through web interface on running ESPeasy you set to which pin is connected your DS18B20 bus ( or other types of sensors ),
select specific DS18B20 ( if more then one on bus ) and IDX ( marked when created in Domoticz ).
ESPeasy will send temperature to Domoticz then automatically.


2019-05-04-191321_1920x1080_scrot.png
2019-05-04-191321_1920x1080_scrot.png (115.02 KiB) Viewed 4401 times
RPi2 Domoticz v 4.10717
10 x Sonoff Basic - ESPeasy
1 x Wemos D1 - ESPeasy
1 x Shelly Plus Plug S
1 x Sonoff S26 - ESPeasy
1 x Shelly 1
1 x MySensors HC-SR04
1 x MySenosrs wifi gateway
1 x RFLink
4x Cam IPC-T240H
HvdW
Posts: 504
Joined: Sunday 01 November 2015 22:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Twente
Contact:

Re: DS1820 temp sensor

Post by HvdW »

Agreed @kimot, ESPEasy is the one.
Buy Nodemcu on AliExpress or elsewhere, wait a few weeks or days depending on how much you have spent buying it.

Download the latest ESPEasy from GitHub
Unzip, go into the unzipped folder, find the flashtool there, flash, done.
Read the ESPEasy instructions carefully.
It took me a while to get it right.
Once installed it is the easiest solution I have found up till now to integrate ESP8266 with actors and sensors into Domoticz.
Bugs bug me.
pakovec2
Posts: 4
Joined: Friday 03 May 2019 7:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Czech Republic
Contact:

Re: DS1820 temp sensor

Post by pakovec2 »

Thanks @kimot and @HvdW - will go for it.
Btw, any similar option to produce also some "light" sensor? Something to tell my house to put the blinds down, because of too much sun outside...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest