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.
Post Reply
BugBlaster
Posts: 7
Joined: Friday 12 January 2018 16:45
Target OS: Raspberry Pi
Domoticz version:
Contact:

ESP Easy, DS18B20 & Domoticz

Post by BugBlaster » Tuesday 16 January 2018 14:41

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: 518
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 3.8x
Location: The Netherlands
Contact:

Re: ESP Easy, DS18B20 & Domoticz

Post by bbqkees » Tuesday 16 January 2018 16:27

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.
Intel NUC-> Philips Hue, Aeon Zwave stick V2, Qubino, Fibaro, Everspring, Philio, RFXCom, X10, Harmony Hub, Xiaomi Flora + Gateway, BS440. And P1 / Resol VBus / Nefit EMS bus / DHT21 / DS18B20 / Sonoff / I2C display, all via Arduino/ESP8266.

BugBlaster
Posts: 7
Joined: Friday 12 January 2018 16:45
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: ESP Easy, DS18B20 & Domoticz

Post by BugBlaster » Tuesday 16 January 2018 19:25

Thanks

kimot
Posts: 55
Joined: Saturday 25 November 2017 18:18
Target OS: Raspberry Pi
Domoticz version: v3.8153
Location: Czech Rep.
Contact:

Re: ESP Easy, DS18B20 & Domoticz

Post by kimot » Sunday 21 January 2018 17:16

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.

User avatar
TiXav
Posts: 45
Joined: Saturday 28 November 2015 23:25
Target OS: Raspberry Pi
Domoticz version: Beta
Location: France
Contact:

Re: ESP Easy, DS18B20 & Domoticz

Post by TiXav » Tuesday 23 January 2018 20:59

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 4 guests