ESP8266 EspEasy link Domoticz
Moderator: leecollings
-
- Posts: 14
- Joined: Wednesday 29 April 2015 13:28
- Target OS: Windows
- Domoticz version: 2.2859
- Location: FRANCE
- Contact:
ESP8266 EspEasy link Domoticz
Hello,
First of all, please excuse me for my bad English.
Also, before posting anything, get my best wishes for 2017.
My problem is this:
I have an ESP8266 with ESP EASY, to increase my water consumption.
In the ESP, I can see my consumption in pulse counter mode, but I do not manage to make it appear on Domoticz.
I nevertheless created a sensor virutel, I indicated in the ESP the IDX of the meter in domoticz and yet nothing.
Can someone please help me?
First of all, please excuse me for my bad English.
Also, before posting anything, get my best wishes for 2017.
My problem is this:
I have an ESP8266 with ESP EASY, to increase my water consumption.
In the ESP, I can see my consumption in pulse counter mode, but I do not manage to make it appear on Domoticz.
I nevertheless created a sensor virutel, I indicated in the ESP the IDX of the meter in domoticz and yet nothing.
Can someone please help me?
Domoticz Version: 4.10717
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
-
- Posts: 858
- Joined: Sunday 23 February 2014 17:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: mixed
- Location: Hengelo(Ov)/NL
- Contact:
Re: ESP8266 EspEasy link Domoticz

Perhaps an open door, but in ESPEasy did you set the communication info matching the 'path' to Domoticz-computer?
[Look under the Config-tab for SSID, for WPA-key, for Controller info-lines and for the Optional Settings]
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
-
- Posts: 14
- Joined: Wednesday 29 April 2015 13:28
- Target OS: Windows
- Domoticz version: 2.2859
- Location: FRANCE
- Contact:
Re: ESP8266 EspEasy link Domoticz
thanks for your informations.
Under ESP, i have this settings.
Name : nothing
Adminpass : nothing
SSID : my netword SSID (where ESP stay connect on local as wifi station, with 192.168.1.24)
WPA : my WPA Key
Domoticz HTTP
Server Ip : 192.168.1.26 (Domoticz Ip on my Humming Board)
Port : 8080
Delay : 60
*****
Optional
ESP IP / 192.168.1.24
under mask 255.255.255.0
Passerelle 192.168.1.254 ( internet box Ip adress )
**** in the devices
Simple COuntmeter
IDX = IDX that i find under domoticz after creating a virtual Dummy switch
Under ESP, i have this settings.
Name : nothing
Adminpass : nothing
SSID : my netword SSID (where ESP stay connect on local as wifi station, with 192.168.1.24)
WPA : my WPA Key
Domoticz HTTP
Server Ip : 192.168.1.26 (Domoticz Ip on my Humming Board)
Port : 8080
Delay : 60
*****
Optional
ESP IP / 192.168.1.24
under mask 255.255.255.0
Passerelle 192.168.1.254 ( internet box Ip adress )
**** in the devices
Simple COuntmeter
IDX = IDX that i find under domoticz after creating a virtual Dummy switch
Domoticz Version: 4.10717
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
-
- Posts: 858
- Joined: Sunday 23 February 2014 17:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: mixed
- Location: Hengelo(Ov)/NL
- Contact:
Re: ESP8266 EspEasy link Domoticz

In your latest message I see these last lines
For measurement of water consumption the ESP-selection 'Simple COuntmeter' seems OK, but in last line I see "Dummy Switch".Simple COuntmeter
IDX = IDX that i find under domoticz after creating a virtual Dummy switch
To see a counter value in Domoticz also the Virtual Device should be Counter, not Switch
Perhaps not essential, but easy for identification:
fill field 'Name' with some description for this ESP
Have you filled the following 2 fields under tab Config (for access to your Domoticz-computer)?
Controller User:
Controller Password:
Assume that ESP GW (=Gateway to which ESP is functionally connected) is same as 'passerelle'?
[My knowledge of technical french is not very good]
What is the content for ESP DNS? Same as ESP GW?
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
-
- Posts: 14
- Joined: Wednesday 29 April 2015 13:28
- Target OS: Windows
- Domoticz version: 2.2859
- Location: FRANCE
- Contact:
Re: ESP8266 EspEasy link Domoticz
In domoticz :
to create my watermeter, i do that :
setup : hardware : name "WATERMETER" : type " Dummy (Does nothing, use for virtual switch only) : time out "disabled"
After that, i click on "Create virtual sensors" on the list : and "Counter" type.
After that, Domoticz tell me that the sensor was created.
On the section Devices, i could find it, with a green arrow.
I click on it, and it change on bleu.
Watermeter, IDX 5
On the section Utility, i have the counter, but for Electricity.
I change the type of counter by selcting Water.
On the ESP config, i tried to put my Name and password to acced at domoticz on http request, but nothing.
Do you think this may be an ESP problem?
I have enormous difficulties to have now access!
Last night, everything went well and now it's a disaster ...
to create my watermeter, i do that :
setup : hardware : name "WATERMETER" : type " Dummy (Does nothing, use for virtual switch only) : time out "disabled"
After that, i click on "Create virtual sensors" on the list : and "Counter" type.
After that, Domoticz tell me that the sensor was created.
On the section Devices, i could find it, with a green arrow.
I click on it, and it change on bleu.
Watermeter, IDX 5
On the section Utility, i have the counter, but for Electricity.
I change the type of counter by selcting Water.
On the ESP config, i tried to put my Name and password to acced at domoticz on http request, but nothing.
Do you think this may be an ESP problem?
I have enormous difficulties to have now access!
Last night, everything went well and now it's a disaster ...
Domoticz Version: 4.10717
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
-
- Posts: 4
- Joined: Saturday 31 December 2016 15:56
- Target OS: Linux
- Domoticz version:
- Contact:
Re: ESP8266 EspEasy link Domoticz
Dear all,
I have pretty the same problem.
1. ESP Easy (V120)
I filled in
- IP of the Domoticz Server,
- port (8080)
- User and password (which was created before in Domoticz under Setup->More->Edit Users, gave Admin rights)
2. Domoticz Server
Under "Hardware" I've added a dummy device.
With "Create Virtual Sensors", I've added a current sensor -> the IDX, shown under "devices" is filled in in ESP Easy under "Devices" - "IDX/Variable"
For login of the Domoticz there is no user and password nor a login screen.
Nothing works -> for some reason if I use "Current" 6.400A are shown, but thats far away from my value - What am I missing?
Thanks in advance, BR
Thomas
I have pretty the same problem.
1. ESP Easy (V120)
I filled in
- IP of the Domoticz Server,
- port (8080)
- User and password (which was created before in Domoticz under Setup->More->Edit Users, gave Admin rights)
2. Domoticz Server
Under "Hardware" I've added a dummy device.
With "Create Virtual Sensors", I've added a current sensor -> the IDX, shown under "devices" is filled in in ESP Easy under "Devices" - "IDX/Variable"
For login of the Domoticz there is no user and password nor a login screen.
Nothing works -> for some reason if I use "Current" 6.400A are shown, but thats far away from my value - What am I missing?
Thanks in advance, BR
Thomas
-
- Posts: 14
- Joined: Wednesday 29 April 2015 13:28
- Target OS: Windows
- Domoticz version: 2.2859
- Location: FRANCE
- Contact:
Re: ESP8266 EspEasy link Domoticz
Happy to view that i'm not the one one to have some difficulty to sync Domoticz and Esp.
For some time I can not even get my ESP on the network. I do not even have access to it.
Does anyone know how to factory reset an ESP.
I used the tool provided by the manufacturer of ESP, I have a wifi network ESP but I can not even access it and if I flash again with ESP Easy, it does not even work ..
For some time I can not even get my ESP on the network. I do not even have access to it.
Does anyone know how to factory reset an ESP.
I used the tool provided by the manufacturer of ESP, I have a wifi network ESP but I can not even access it and if I flash again with ESP Easy, it does not even work ..
Domoticz Version: 4.10717
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
-
- Posts: 121
- Joined: Sunday 11 October 2015 8:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.6224
- Location: Holland
- Contact:
Re: ESP8266 EspEasy link Domoticz
I personally would not be happy if others had problems ;-(Nadhyr wrote:Happy to view that i'm not the one one to have some difficulty to sync Domoticz and Esp.
I think that most people managed to get the esp going, so it is not so widespread.
I have read a lot of these "problems" the past year, they mostly disappear after the user brings on a good power source. (try it with a powered hub, not the usb port of a computer)
A breadboard can also bring problems.
Did you read the wiki ?
http://www.letscontrolit.com/wiki/index.php/Power
RPI-2 + SSD / ESPEasy Sensors & Switches / Sonoff / RFLink / Action Switches / TP-Link switch / Node-Red / Reacticz
-
- Posts: 14
- Joined: Wednesday 29 April 2015 13:28
- Target OS: Windows
- Domoticz version: 2.2859
- Location: FRANCE
- Contact:
Re: ESP8266 EspEasy link Domoticz
Yes it is also the first track that I exploited because my esp is in a concrete look, plugged with a solar panel and a regulated 3.7 v LIPO.
The fall in temperature is certainly at the origin of my problems of access to my ESP.
However even plugged into usb port with an arduino Uno, my ESP remains unavailable.
Do you have a method for resetting them?
The fall in temperature is certainly at the origin of my problems of access to my ESP.
However even plugged into usb port with an arduino Uno, my ESP remains unavailable.
Do you have a method for resetting them?
Domoticz Version: 4.10717
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
-
- Posts: 858
- Joined: Sunday 23 February 2014 17:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: mixed
- Location: Hengelo(Ov)/NL
- Contact:
Re: ESP8266 EspEasy link Domoticz

Communication between ESP and Domoticz also depends on mutal distance between ESP and Wifi-gateway.
[Perhaps sounds strange, but distance between ESP and Domoticz-computer is not important.
Reason: the Domoticz-computer does not communicate with the ESP, but with the Wifi-gateway]
Walls etc. may block transmission/reception in an unexpected way.
The integrated antenna of a 'simple' ESP8266 is not very good, and therefore you may be (negatively) surprised how short distance can be bridged.

If you want to see how strong the Wifi-signal is as seen by the ESP, then look at the ESP at tab 'Main', the 3rd line "Wifi RSSI:"
Very general:
- a value of -40dB is excellent
- if a value < -90dB, then it may work, but "scratch your head", because you may come close to the edge of coverage
An 'bare' ESP-configuration is small enough to move around:
if you do not get 'connection' (or very low signal) at the planned location of your ESP, then try to setup/operate your ESP very close to your Wifi-gateway.
If that works, then move out, until 'you hit the limit' (or are at the desired location).
If you want to position your ESP further away, then (for better Wifi-coverage) it may be effective to put a Wifi-repeater somewhere between the Wifi-gateway and the ESP-location.

Wifi-repeaters are not very expensive nowadays.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
-
- Posts: 4
- Joined: Saturday 31 December 2016 15:56
- Target OS: Linux
- Domoticz version:
- Contact:
Re: ESP8266 EspEasy link Domoticz
Thanks for the basic informaion about power and wifi. But I can access the webpage (ping,...) of the esp easy device without problems from the Domoticz server (running Ubuntu 16.04, installed yesterday, built Domoticz from stable source also yesterday).
==> So the power or the lan/wifi communication is NOT the problem.
What I don't know is how the communication should work. Is it possible to poll the sensor????
How are such connection tries logged on Domoticz Server?
Does the "subtype" of a device change anything in the form of the communication, or is it just for display purposes (e.g Custom Sensor vs. Current)
In fact I don't know how to start troubleshooting, as this is the easyiest configuration that could exist. (1 Server, 1 Sensor)
Thanks again for your help!
BR,
Thomas
==> So the power or the lan/wifi communication is NOT the problem.
What I don't know is how the communication should work. Is it possible to poll the sensor????
How are such connection tries logged on Domoticz Server?
Does the "subtype" of a device change anything in the form of the communication, or is it just for display purposes (e.g Custom Sensor vs. Current)
In fact I don't know how to start troubleshooting, as this is the easyiest configuration that could exist. (1 Server, 1 Sensor)
Thanks again for your help!
BR,
Thomas
-
- Posts: 14
- Joined: Wednesday 29 April 2015 13:28
- Target OS: Windows
- Domoticz version: 2.2859
- Location: FRANCE
- Contact:
Re: ESP8266 EspEasy link Domoticz
Thanks for you interest but i think too that it is not a range of wifi.
I work 2 meter in frot of my Wifi gateway.
I thnik that my ESP is down.
Any access on http.
Reset button doesn't change anything and flashing won't wake up it.
What tool did you use to flash your ESP ?
I use an Arduino Uno without atmel chip AND flashing tool available from http://www.letscontrolit.com/wiki/index.php/ESPEasy
But didn't work.
When i use this flasher (Tool from expressive manufactor of ESP)
https://espressif.com/en/support/download/other-tools
i could load the original firmware, and after flashing, i have a WIFI station name ESP_89291 but i couldn't connect on it.
if i do a new flash, with R120 or R78 or another version, ESP still down.
Any solution to do an hardreset on ESP ?
I work 2 meter in frot of my Wifi gateway.
I thnik that my ESP is down.
Any access on http.
Reset button doesn't change anything and flashing won't wake up it.
What tool did you use to flash your ESP ?
I use an Arduino Uno without atmel chip AND flashing tool available from http://www.letscontrolit.com/wiki/index.php/ESPEasy
But didn't work.
When i use this flasher (Tool from expressive manufactor of ESP)
https://espressif.com/en/support/download/other-tools
i could load the original firmware, and after flashing, i have a WIFI station name ESP_89291 but i couldn't connect on it.
if i do a new flash, with R120 or R78 or another version, ESP still down.
Any solution to do an hardreset on ESP ?
Domoticz Version: 4.10717
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
-
- Posts: 14
- Joined: Wednesday 29 April 2015 13:28
- Target OS: Windows
- Domoticz version: 2.2859
- Location: FRANCE
- Contact:
Re: ESP8266 EspEasy link Domoticz
RHHHHHHHH
Esp acces ok now.
Why ? I don't know ...
*****************
Welcome to ESP Easy:
MainConfigHardwareDevicesTools
System Info
Load: 4% (LC=34085)
Uptime: 4 minutes
Wifi RSSI: -33 dB
IP: 192.168.1.4
GW: 192.168.1.254
Build: 120
Core Version: 2_3_0
Unit: 1
STA MAC: 5c:cf:7f:xxxxxxxxxx
AP MAC: 5e:cf:7f:xxxxxxxxxx
ESP Chip ID: 8687265
Flash Chip ID: 1327304
Flash Size: 1024 kB
Sketch Size/Free: 401 kB / 536 kB
Free Mem: 28168
Boot cause: Manual reboot
Esp acces ok now.
Why ? I don't know ...
*****************
Welcome to ESP Easy:
MainConfigHardwareDevicesTools
System Info
Load: 4% (LC=34085)
Uptime: 4 minutes
Wifi RSSI: -33 dB
IP: 192.168.1.4
GW: 192.168.1.254
Build: 120
Core Version: 2_3_0
Unit: 1
STA MAC: 5c:cf:7f:xxxxxxxxxx
AP MAC: 5e:cf:7f:xxxxxxxxxx
ESP Chip ID: 8687265
Flash Chip ID: 1327304
Flash Size: 1024 kB
Sketch Size/Free: 401 kB / 536 kB
Free Mem: 28168
Boot cause: Manual reboot
Domoticz Version: 4.10717
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
-
- Posts: 14
- Joined: Wednesday 29 April 2015 13:28
- Target OS: Windows
- Domoticz version: 2.2859
- Location: FRANCE
- Contact:
Re: ESP8266 EspEasy link Domoticz
Name:
Admin Password:
SSID: Nadhyr
WPA Key: XXXXXXXXXXXXXXXX
WPA AP Mode Key: configesp
Unit nr: 1
Protocol: HTTP DOMOTICZ
Locate Controller: Use IP Adress
Controller IP: 192.168.1.26
Controller Port: 8080
Controller User: Nadhyr (domoticz ID account)
Controller Password: xxxxxxx (domoticz pw account)
Sensor Delay: 60
Sleep Mode: ?
Optional Settings
ESP IP:
192.168.1.4
ESP GW:
192.168.1.254
ESP Subnet:
255.255.255.0
ESP DNS:
192.168.1.254
Admin Password:
SSID: Nadhyr
WPA Key: XXXXXXXXXXXXXXXX
WPA AP Mode Key: configesp
Unit nr: 1
Protocol: HTTP DOMOTICZ
Locate Controller: Use IP Adress
Controller IP: 192.168.1.26
Controller Port: 8080
Controller User: Nadhyr (domoticz ID account)
Controller Password: xxxxxxx (domoticz pw account)
Sensor Delay: 60
Sleep Mode: ?
Optional Settings
ESP IP:
192.168.1.4
ESP GW:
192.168.1.254
ESP Subnet:
255.255.255.0
ESP DNS:
192.168.1.254
Domoticz Version: 4.10717
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
-
- Posts: 14
- Joined: Wednesday 29 April 2015 13:28
- Target OS: Windows
- Domoticz version: 2.2859
- Location: FRANCE
- Contact:
Re: ESP8266 EspEasy link Domoticz
on devices
-----
<> Task Device Name Port IDX/Variable GPIO Values
1 Pulse Counter Watermeter 5 GPIO-2 Count:2
Total:3
-------------
ESP still working when i use water.
-----
<> Task Device Name Port IDX/Variable GPIO Values
1 Pulse Counter Watermeter 5 GPIO-2 Count:2
Total:3
-------------
ESP still working when i use water.
Domoticz Version: 4.10717
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
-
- Posts: 14
- Joined: Wednesday 29 April 2015 13:28
- Target OS: Windows
- Domoticz version: 2.2859
- Location: FRANCE
- Contact:
Re: ESP8266 EspEasy link Domoticz
but in domoticz, json applet to update IDX 5 (ESP on domoticz)
my counter still at zéro !
http://192.168.1.26:8080/json.htm?type= ... ue=COUNTER
my counter still at zéro !
http://192.168.1.26:8080/json.htm?type= ... ue=COUNTER
Domoticz Version: 4.10717
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
-
- Posts: 14
- Joined: Wednesday 29 April 2015 13:28
- Target OS: Windows
- Domoticz version: 2.2859
- Location: FRANCE
- Contact:
Re: ESP8266 EspEasy link Domoticz
After 5 minutes of operation, ESP reboot alone!


Domoticz Version: 4.10717
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
-
- Posts: 4
- Joined: Saturday 31 December 2016 15:56
- Target OS: Linux
- Domoticz version:
- Contact:
Re: ESP8266 EspEasy link Domoticz
Just forgot to tick the send data checkbox under devices in esp easy - now the value is beeing displayed in Domoticz!
Thanx,
Thomas
Thanx,
Thomas
-
- Posts: 858
- Joined: Sunday 23 February 2014 17:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: mixed
- Location: Hengelo(Ov)/NL
- Contact:
Re: ESP8266 EspEasy link Domoticz

Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
-
- Posts: 14
- Joined: Wednesday 29 April 2015 13:28
- Target OS: Windows
- Domoticz version: 2.2859
- Location: FRANCE
- Contact:
Re: ESP8266 EspEasy link Domoticz
Good news for you !
ESP is back, but sync still not working
Can you tell me how you do please.
I update ESP on rc 147
ESP is back, but sync still not working
Can you tell me how you do please.
I update ESP on rc 147
Domoticz Version: 4.10717
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
Synology 216 + II ( 1,6ghz 8GB )
Zwave - RF Link
Who is online
Users browsing this forum: No registered users and 1 guest