Getting Started - No data getting through to Domoticz from BME280 via ESPEasy setup

Moderator: leecollings

Post Reply
robatbentley
Posts: 17
Joined: Saturday 18 March 2017 21:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8889
Location: Newcastle/UK
Contact:

Getting Started - No data getting through to Domoticz from BME280 via ESPEasy setup

Post by robatbentley »

Where do I start here?

I'm a total beginner trying to configure my first ESPEasy BME280 (temp, humidity and pressure) device using an NodeMCU ESP8266. The ESPEasy and BME280 end seems to be working as I'm seeing good data in my EPSEasy Device "values" summary. However, I don't have the knowledge to get this data displayed in my Domoticz web-page. I've followed some guidelines and created a dummy hardware followed by "Create Virtual Sensors" which are visible but the associated data just isn't being updated from ESPEasy.

Have I missed out some critical step here? I thought that I didn't need to write any code to get this working but may be wrong on this. I think I've configured my ESPEasy device correctly (screenshot attached) but guess something is wrong somewhere.

Anyway, any help in getting my first ESPEasy-Domoticz project up and going will be greatly appreciated. ...and if more info is required then please ask.
Attachments
ESPEasyDeviceSettings.jpg
ESPEasyDeviceSettings.jpg (69.21 KiB) Viewed 4393 times
ESPEasyDeviceSummary.jpg
ESPEasyDeviceSummary.jpg (56.74 KiB) Viewed 4393 times
User avatar
Westcott
Posts: 423
Joined: Tuesday 09 December 2014 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: UK - Glos
Contact:

Re: Getting Started - No data getting through to Domoticz from BME280 via ESPEasy setup

Post by Westcott »

Did you create the Domoticz dummy device as a Temp+Hum+Baro ?
You'll need to put its device idx into the IDX/Variable (unless it really is 1).
Zwave - Sigma Z+ stick, Fibaro, Horstmann, Neo Coolcam, EUROtronic
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
robatbentley
Posts: 17
Joined: Saturday 18 March 2017 21:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8889
Location: Newcastle/UK
Contact:

Re: Getting Started - No data getting through to Domoticz from BME280 via ESPEasy setup

Post by robatbentley »

Hi Westcott.
Yes, the dummy device is setup as Tem+Hum+baro (see screenshot)
The IDX really is 1 asd it's my first project (see Domoticz screenshots)

Fyi... I've installed Domoticz on a win10 (64bit) PC. The NodeMCU is also installed via my LAN wifi on same LAN as the PC.
Are there any references that descibe how to setup this integration between ESPEasy and Domoticz? I've already come across the following...
https://www.letscontrolit.com/wiki/inde ... troduction and http://www.domoticz.com/wiki/Domoticz_Wiki_Manual
...but nothing, yet, that describes ways of checking the communication between ESPEasy and Domoticz.
Any support really appreciated.
Attachments
Dashboard view.
Dashboard view.
DomoticzDashboard.jpg (53.36 KiB) Viewed 4373 times
Dummy h/w setup
Dummy h/w setup
DomoticzHardwareDummy.jpg (104.43 KiB) Viewed 4373 times
Virtual device setup
Virtual device setup
DomoticzHardwareDevice.jpg (77.34 KiB) Viewed 4373 times
robatbentley
Posts: 17
Joined: Saturday 18 March 2017 21:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8889
Location: Newcastle/UK
Contact:

Re: Getting Started - No data getting through to Domoticz from BME280 via ESPEasy setup

Post by robatbentley »

...and I've attched the ESPEasy device config showing Domoticz IP address etc that I'm using.
Attachments
ESPEasy Device config for Domoticz
ESPEasy Device config for Domoticz
ESPEasyDeviceConfig.jpg (71.94 KiB) Viewed 4373 times
mayyam
Posts: 47
Joined: Saturday 14 January 2017 11:29
Target OS: Linux
Domoticz version: 4.11333
Location: Poland
Contact:

Re: Getting Started - No data getting through to Domoticz from BME280 via ESPEasy setup

Post by mayyam »

Controller IP, thats missing.
Or/and user and pass if You authorize in LAN too.

____
may
_______________
- Dell FX-160 / Ubuntu 16.04
- RFLink 433Mhz / NRF 2.4GHz
- 2x Xiaomi Gateway
- different species of ESP8266
User avatar
Westcott
Posts: 423
Joined: Tuesday 09 December 2014 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: UK - Glos
Contact:

Re: Getting Started - No data getting through to Domoticz from BME280 via ESPEasy setup

Post by Westcott »

Yes, Controller IP needs to be that of your Domoticz machine.
Have you been looking at Tools->Log ?
Zwave - Sigma Z+ stick, Fibaro, Horstmann, Neo Coolcam, EUROtronic
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
robatbentley
Posts: 17
Joined: Saturday 18 March 2017 21:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8889
Location: Newcastle/UK
Contact:

Re: Getting Started - No data getting through to Domoticz from BME280 via ESPEasy setup

Post by robatbentley »

Thanks to both of you for the pointer. However, I'm still unclear as to what info goes in the ESPEasy Config page. ...mainly as to which node it's referring to. i.e.

SSID/WPA Key: Is this the SSID of my LAN wifi modem or that of myNodeMCU access point
Controller IP: is this the NodeMCU IP or the IP of the PC hosting Donoticz web-server or the IP of the Donoticz web-server itself (i.e. 127.0.0.1)
Controller Port: Is this the Domoticz web-server (8080) or something else completely

As you can see, I'm really not sure how to set this up as I've never ever done it for an ESPEasy node before. so, please bear with me till I get this working and then I'm hoping it's pretty much the same approach for additional nodes.
I've attached more screenshots of my setup and tools log which, I hope, will help.
Attachments
ESPEastToolsLog.jpg
ESPEastToolsLog.jpg (54.83 KiB) Viewed 4360 times
ESPEasyDeviceSystem.jpg
ESPEasyDeviceSystem.jpg (54.64 KiB) Viewed 4360 times
robatbentley
Posts: 17
Joined: Saturday 18 March 2017 21:24
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8889
Location: Newcastle/UK
Contact:

Re: Getting Started - No data getting through to Domoticz from BME280 via ESPEasy setup

Post by robatbentley »

Got it. I just replaced the controller IP with the host name, and then set the actual host name with the name of my PC hosting Domoticz. Working a dream now. Sorry for the confusion. Now I have something that works, I think I csan repeat this for other nodes.
Thanks for your advice.
User avatar
Westcott
Posts: 423
Joined: Tuesday 09 December 2014 17:04
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: UK - Glos
Contact:

Re: Getting Started - No data getting through to Domoticz from BME280 via ESPEasy setup

Post by Westcott »

Great!
You should see no more "HTTP:connection failed" in the ESP log, and the ConnectFailures count will decrease.
Interestingly, I've never managed to get "host name" to work, always having to use IP address.
Zwave - Sigma Z+ stick, Fibaro, Horstmann, Neo Coolcam, EUROtronic
RFlink - IR detectors and temperatures
Wifi - YeeLights, ESP32s, Anoop sockets
Zigbee - lots with zigbee2mqtt and ZbBridge
KoenVanduffel
Posts: 5
Joined: Saturday 14 February 2015 14:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Getting Started - No data getting through to Domoticz from BME280 via ESPEasy setup

Post by KoenVanduffel »

If you want to set the IP of your Domoticz you have to set it's external IP (127.0.0.1 is only accessible on the domoticz machine itself). The external IP of the Domoticz will most probably be something like 192.168.x.x


Sent from my iPhone using Tapatalk
Post Reply

Who is online

Users browsing this forum: Ragdag and 1 guest