Page 1 of 1

DS1820 temp sensor

Posted: Friday 28 September 2018 6:02
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!

Re: DS1820 temp sensor

Posted: Friday 28 September 2018 7:24
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

Re: DS1820 temp sensor

Posted: Friday 28 September 2018 10:32
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?

Re: DS1820 temp sensor

Posted: Friday 28 September 2018 14:51
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!

Re: DS1820 temp sensor

Posted: Saturday 09 March 2019 7:34
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

Re: DS1820 temp sensor

Posted: Friday 03 May 2019 10:57
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?

Re: DS1820 temp sensor

Posted: Saturday 04 May 2019 19:15
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 4405 times

Re: DS1820 temp sensor

Posted: Sunday 05 May 2019 13:27
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.

Re: DS1820 temp sensor

Posted: Sunday 12 May 2019 11:21
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...