Domoticz esp8266 ds18b20 Topic is solved
Moderator: leecollings
-
- Posts: 16
- Joined: Monday 13 April 2015 22:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Domoticz esp8266 ds18b20
hello
I am building a home automation system with a raspberry running Domoticz and several esp8266 to control windows blinds, ligths and solar water panel.
you can see my tipical board in https://easyeda.com/pmalvino/blinds_con ... -QaUNHBvN5.
tbe control is working ok but i am trying to configure Espeasy and Domoticz to read a DB18B20 sensor and i cant do it.
in the espeasy i can see the temperature value, but in the domoticz page the value dont update.
can you help me?
I am building a home automation system with a raspberry running Domoticz and several esp8266 to control windows blinds, ligths and solar water panel.
you can see my tipical board in https://easyeda.com/pmalvino/blinds_con ... -QaUNHBvN5.
tbe control is working ok but i am trying to configure Espeasy and Domoticz to read a DB18B20 sensor and i cant do it.
in the espeasy i can see the temperature value, but in the domoticz page the value dont update.
can you help me?
Last edited by pmalvino on Saturday 06 August 2016 23:08, edited 2 times in total.
-
- Posts: 16
- Joined: Monday 13 April 2015 22:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz esp8266 ds18b20
Last edited by pmalvino on Saturday 06 August 2016 23:08, edited 1 time in total.
Re: Domoticz esp8266 db18b20
Did you fill the correct value for IDX / Var: in ESPEasy?
BTW, means escritorial = virtual?
This what i have:
BTW, means escritorial = virtual?
This what i have:
- bizziebis
- Posts: 182
- Joined: Saturday 19 October 2013 14:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8805
- Location: The Netherlands
- Contact:
Re: Domoticz esp8266 db18b20
Did you also set a 'Delay' of 60 or so for the temperature sensor in ESPEasy?
-
- Posts: 16
- Joined: Monday 13 April 2015 22:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz esp8266 ds18b20
thank you for your reply.
in the espeasy in idx i put 20.
in the sensor delay i have 60.
in the espeasy in idx i put 20.
in the sensor delay i have 60.
Last edited by pmalvino on Saturday 06 August 2016 23:09, edited 1 time in total.
-
- Posts: 16
- Joined: Monday 13 April 2015 22:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz esp8266 ds18b20
and escritorio is the part of the house where i have the esp8266.
its the name that i put in espeasy main settings name.
its the name that i put in espeasy main settings name.
-
- Posts: 16
- Joined: Monday 13 April 2015 22:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz esp8266 ds18b20
hello, problem solved.
I made a new installation of domoticz raspberry pi image and now i have temperature from the sensor.
thank you all for the help.
I made a new installation of domoticz raspberry pi image and now i have temperature from the sensor.
thank you all for the help.
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Domoticz esp8266 ds18b20
mmm
do you now there is the espeasy project:
http://www.esp8266.nu/index.php/Main_Page
with level control and device check etc..
Fully integrated with domoticz..
do you now there is the espeasy project:
http://www.esp8266.nu/index.php/Main_Page
with level control and device check etc..
Fully integrated with domoticz..
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
-
- Posts: 30
- Joined: Thursday 01 September 2016 12:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Domoticz esp8266 ds18b20
Got it working... flashed the ESP with Espeasy version 120, 512 kb (strange, black seems to be 1024 but that does not work on mine) and a DS18B20 on the GPIO2.
I see the esp wireless, log in, chance the settings to my netowork and reoboot. Shows up in my network then after which I log in, configure the IP adress and credentials for domoticz, assign the DS18B20 and submit. Then the right temp shows up in the esp log and also in domoticz I see the correct temp in the system. But only a few minutes, then the ESP disappears from the router (gets an IP assigned based on the MAC) and from there, reflash and all and with some luck back working... but all seems very unstable...
Any ideas ?
I see the esp wireless, log in, chance the settings to my netowork and reoboot. Shows up in my network then after which I log in, configure the IP adress and credentials for domoticz, assign the DS18B20 and submit. Then the right temp shows up in the esp log and also in domoticz I see the correct temp in the system. But only a few minutes, then the ESP disappears from the router (gets an IP assigned based on the MAC) and from there, reflash and all and with some luck back working... but all seems very unstable...
Any ideas ?
-Domoticz-RFLink-PVoutput-Solarmeter-SBFSpot-ESPEasy-Volumio with spotify connect-
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Domoticz esp8266 ds18b20
First try without a device..
To let the esp run..
Create a dummy in domoticz for the uptime and the ram..
Check how long the stable time is...
Then a sensor..[ ds18b20] can be instable to.
Use a motion or ...
And use a other pin...
GPIO 2 = D4 = antenna pin..
check pinout esp...
To let the esp run..
Create a dummy in domoticz for the uptime and the ram..
Check how long the stable time is...
Then a sensor..[ ds18b20] can be instable to.
Use a motion or ...
And use a other pin...
GPIO 2 = D4 = antenna pin..
check pinout esp...
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
-
- Posts: 30
- Joined: Thursday 01 September 2016 12:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Domoticz esp8266 ds18b20
Tried most... resets, pins high..low.. firware flash seems to work but that's about it at the moment.... 

-Domoticz-RFLink-PVoutput-Solarmeter-SBFSpot-ESPEasy-Volumio with spotify connect-
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Domoticz esp8266 ds18b20
Printscreens...reddo wrote:Tried most... resets, pins high..low.. firware flash seems to work but that's about it at the moment....
Your pin is the problem... [ i use 4 esp without problems... ]
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
-
- Posts: 30
- Joined: Thursday 01 September 2016 12:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Domoticz esp8266 ds18b20
Ok, up an drunning now without anything attached... still... flashing 512 works, 1024 doesn't. But as long as it keeps running I'm happy.
Edit... 5 mins later... gone......
Edit... 5 mins later... gone......
-Domoticz-RFLink-PVoutput-Solarmeter-SBFSpot-ESPEasy-Volumio with spotify connect-
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Domoticz esp8266 ds18b20
Make a dummy counter..reddo wrote:Ok, up an drunning now without anything attached... still... flashing 512 works, 1024 doesn't. But as long as it keeps running I'm happy.
Edit... 5 mins later... gone......
An set this in the ESP so you can monitor the esp...
Running for x time then place a sensor [ Ds incl resistor ] ...
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
-
- Posts: 30
- Joined: Thursday 01 September 2016 12:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Domoticz esp8266 ds18b20
now flashed through Arduino IDE.. so far so good..... dummy counter made and the esp pointed to that ID... lets see
Edit : New record... 23 minutes online..... and still running. And keeping in contact with Domoticz too apparently
Edit : New record... 23 minutes online..... and still running. And keeping in contact with Domoticz too apparently

-Domoticz-RFLink-PVoutput-Solarmeter-SBFSpot-ESPEasy-Volumio with spotify connect-
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Domoticz esp8266 ds18b20
There is no problem when the esp offline for 1 or 2 seconds...reddo wrote:now flashed through Arduino IDE.. so far so good..... dummy counter made and the esp pointed to that ID... lets see
Edit : New record... 23 minutes online..... and still running. And keeping in contact with Domoticz too apparently
After that the esp works like charme..
Sometime my esp runs 30 days. ad sometime 1 day..
No problem by me..
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
-
- Posts: 30
- Joined: Thursday 01 September 2016 12:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Domoticz esp8266 ds18b20
Was cheering too soon.. pretty soon after... lost it and it did not come back. Trying again.
-Domoticz-RFLink-PVoutput-Solarmeter-SBFSpot-ESPEasy-Volumio with spotify connect-
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Domoticz esp8266 ds18b20
Make some screendumps please to let us see what your are doing and have @ this moment..reddo wrote:Was cheering too soon.. pretty soon after... lost it and it did not come back. Trying again.
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
-
- Posts: 30
- Joined: Thursday 01 September 2016 12:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Domoticz esp8266 ds18b20
This worked once... after that, no more...
http://www.esp8266.nu/index.php/Tutoria ... y_Firmware
and now back to the normal flashing but again, after restart (and remove the gnd from gpio0 at power down) no return of network....

I have it connected to a FDTI232 like this

and power down after flash, remover the wire to GPIO0 and then repower. Then, sometimes it shows up with the ESP_0 network but mostly it does not... very irattic.....
starting to think... maybe power it from a seperate source... ? No idea how much a FDTI232 can supply but it flashes my arduinos no problem....
http://www.esp8266.nu/index.php/Tutoria ... y_Firmware
and now back to the normal flashing but again, after restart (and remove the gnd from gpio0 at power down) no return of network....

I have it connected to a FDTI232 like this

and power down after flash, remover the wire to GPIO0 and then repower. Then, sometimes it shows up with the ESP_0 network but mostly it does not... very irattic.....
starting to think... maybe power it from a seperate source... ? No idea how much a FDTI232 can supply but it flashes my arduinos no problem....
-Domoticz-RFLink-PVoutput-Solarmeter-SBFSpot-ESPEasy-Volumio with spotify connect-
-
- Posts: 443
- Joined: Thursday 12 November 2015 10:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: Domoticz esp8266 ds18b20
Don't know exactly where I read it, but I believe it's generally advised not to use these small usb-to-serial adapters for permanently powering ESPs. I have mine running on separate PSUs (a 3/5 V voltage regulator and a basic 5V PSU from AliExpress).reddo wrote:starting to think... maybe power it from a seperate source... ? No idea how much a FDTI232 can supply but it flashes my arduinos no problem....
Raspberry Pi 4 - RFXtrx433 - CC2531 Zigbee - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - 6 x Sonos - 4 x IP cameras - Wall mounted tablet + Dashticz - Google Home integration - MANY switches/sensors
Who is online
Users browsing this forum: No registered users and 1 guest