ESP Easy, DS18B20 & Domoticz Topic is solved

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
BugBlaster
Posts: 5
Joined: Friday 12 January 2018 15:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

ESP Easy, DS18B20 & Domoticz

Post by BugBlaster »

Hi All looking for a little help on getting a temperature from ESP with DS18B20 attached running ESP easy.

I have Esp easy set up and on the Device screen i can see it is reading the temperature, My problem is i cant find the options to set up in Domoticz.

It seem to me that there are options for other sensors but not the DS18B20.

do i need to use the 1 wire option or the http get options and if so can someone show me what the settings are for this

Thanks in advance

Bug
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: ESP Easy, DS18B20 & Domoticz

Post by bbqkees »

You need to add a virtual temperature sensor in Domoticz.
First add a new hardware: Setup->Hardware->new type Dummy.
Secondly create a virtual temperature sensor: Setup->Hardware->Press on 'Create virtual sensors'.
Sensor type: temperature.

Then go to Setup-> devices and look up that sensor. Now write down the IDX number.
This IDX number you need to enter in the ESPEasy configuration of the sensor.

Now ESPEasy will update the sensor in Domoticz.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
BugBlaster
Posts: 5
Joined: Friday 12 January 2018 15:45
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ESP Easy, DS18B20 & Domoticz

Post by BugBlaster »

Thanks
kimot
Posts: 105
Joined: Saturday 25 November 2017 17:18
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8153
Location: Czech Rep.
Contact:

Re: ESP Easy, DS18B20 & Domoticz

Post by kimot »

But if you are using ESPeasy mega or v2.0, your ESP will reboot randomly with this setting.
If you want run stable, you must uncheck box for sending to controller in device configuration page
and send through rules like this ( IDX=38 ) when temperature changed or periodically with Timers:

SendToHTTP xxx.xxx.xxx.xxx,8080,/json.htm?type=command&param=udevice&idx=38&nvalue=0&svalue=[Floor#Temperature]

It is known bug in ESPeasy mega - look at forum.
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
User avatar
TiXav
Posts: 41
Joined: Saturday 28 November 2015 22:25
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: France
Contact:

Re: ESP Easy, DS18B20 & Domoticz

Post by TiXav »

Hello,

I am the guy who signaled "Esp easy update temperature to domoticz generate a reboot" issues for esp easy, the issue is solved since the january 12th

now I am running this version on my 2 nodemcu and 2 wemos d1 mini : v2.0-20180113
and the first that I upgrade to this version with a ds18B20 is working for 10 days 0 hours 45 minutes

The problem is solved, go ahead (rules are not needed any more)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest