# No data and cannot connect to Emoncms on emonPi with emonESP

**URL:** <https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062>\
**Category:** emonESP\
**Created:** [12 August 2020 07:25 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062 "2020-08-12T07:25:06Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![fatherofgrafton](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/f/e9c0ed/32.png) [@fatherofgrafton](https://community.openenergymonitor.org/u/fatherofgrafton)\
**Post date:** [14 August 2020 20:33 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062/21 "2020-08-14T20:33:18Z")

</div>

Great, I was just googling for that answer as it’s clear that the setting hadn’t been saved. I’ll try that again!

---

<div class="post-metadata">

**Author:** ![fatherofgrafton](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/f/e9c0ed/32.png) [@fatherofgrafton](https://community.openenergymonitor.org/u/fatherofgrafton)\
**Post date:** [14 August 2020 20:42 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062/22 "2020-08-14T20:42:58Z")

</div>

Thanks for all the help but I’m officially giving up.

The flimsy nature of the emonesp connectors and the need for me to keep removing it to try insert the programmer and faff about with sending serial commands led to the inevitable and the connectors on the emonesp snapped.

Guess I’ll be sticking to the radio connection instead.

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [14 August 2020 21:22 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062/23 "2020-08-14T21:22:20Z")

</div>

I don’t have an ESP8266, so I don’t know what the connector on that end is like. If it’s what I think, then maybe I’m very gentle with those sorts of things, because I’ve never snapped the pins on the emonTx, emonTH, emonGLCD, or even inside the emonPi, and I’m plugging a programmer into something many times every day. (e.g. I had to transfer my programmer to a different emonTx to grab that text I posted above.)

However, the emonTx was never designed to have a WiFi module added, so it always looked exactly like it was - something that came along later.

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [14 August 2020 21:29 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062/24 "2020-08-14T21:29:37Z")

</div>

> [@glyn.hudson](#):
>
> Yes, I think a good solution would be for the emonESP firmware to automatically configure the emonTx

There’s a problem there. At present, if the (genuine) receive pin on the emonTx is connected, rogue data from the ESP8266, sent as I understand it as part of it’s start-up / Welcome message, destroys parts of the configuration settings of the emonTx.

If you are going to do that, it wants if at all possible to be the same as the emonPi front-end configuration that I’m working on - which if the ESP8266 is bi-directional - could be done inside emonhub.conf - like the emonPi will be (if it can be made to work).

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [14 August 2020 21:30 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062/25 "2020-08-14T21:30:40Z")

</div>

> [@fatherofgrafton](#):
>
> Thanks for all the help but I’m officially giving up.

The alternative to the ESP, is an RPi [EmonTX to Rpi - Direct Serial Connection - #38 by borpin](https://community.openenergymonitor.org/t/emontx-to-rpi-direct-serial-connection/13114/38)

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [14 August 2020 21:42 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062/26 "2020-08-14T21:42:49Z")

</div>

> [@borpin](#):
>
> The alternative to the ESP, is an RPi [EmonTX to Rpi - Direct Serial Connection](https://community.openenergymonitor.org/t/emontx-to-rpi-direct-serial-connection/13114/38)

Except that the serial connection isn’t available on the emonPi - it’s already in use for the analogue front end data.

And if @fatherofgrafton has broken the connector on the emonTx, then depending on which pin(s) are broken, any serial connection/reprogramming is out of the question until a new header is fitted.

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [14 August 2020 21:49 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062/27 "2020-08-14T21:49:05Z")

</div>

> [@fatherofgrafton](#):
>
> inevitable and the connectors on the emonesp snapped.

> [@Robert.Wall](#):
>
> has broken the connector on the emonTx

He hasn’t by his description.

> [@Robert.Wall](#):
>
> Except that the serial connection isn’t available on the emonPi

He wants to communicate from the emonTX by WiFi.

---

<div class="post-metadata">

**Author:** ![fatherofgrafton](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/f/e9c0ed/32.png) [@fatherofgrafton](https://community.openenergymonitor.org/u/fatherofgrafton)\
**Post date:** [14 August 2020 21:57 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062/28 "2020-08-14T21:57:18Z")

</div>

No it’s the pins on the ESP that are broken.

The TX is placed right on the edge of reception back to the Pi so yes I was aiming to connect the TX to my wifi which I have available where the TX is placed in my garage.

I’m not prepared to buy a replacement ESP I’ll just have to try and improve radio connectivity between the TX and the Pi

Thanks for the help

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [14 August 2020 22:02 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062/29 "2020-08-14T22:02:40Z")

</div>

> [@fatherofgrafton](#):
>
> I’m not prepared to buy a replacement ESP I’ll just have to try and improve radio connectivity between the TX and the Pi

The alternative is a **second** Pi (anything, A, Zero upwards) and connect the serial to that.

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [14 August 2020 22:05 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062/30 "2020-08-14T22:05:03Z")

</div>

> [@fatherofgrafton](#):
>
> I’ll just have to try and improve radio connectivity between the TX and the Pi

There are several options for that. If your emonTx uses a RFM69CW transmitter module, which it will if it’s reasonably new, then you can increase the r.f. power.

The second is to put a sheet of metal acting as a ground plane underneath both transmitter and receiver. There was a lot about this some time ago - [Improving RF signal strength emonTH emonTX](https://community.openenergymonitor.org/t/improving-rf-signal-strength-emonth-emontx/5318)

The third is to move either or both ends just a little - that can make a surprising difference if one happens to be at a place where the reflected signal partially cancels the direct one.

---

<div class="post-metadata">

**Author:** ![Bill.Thomson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/bill.thomson/32/1834_2.png) [@Bill.Thomson](https://community.openenergymonitor.org/u/Bill.Thomson)\
**Post date:** [15 August 2020 05:52 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062/31 "2020-08-15T05:52:40Z")

</div>

> [@borpin](#):
>
> The alternative is a **second** Pi (anything, A, Zero upwards)

Hard to beat a _Pi Zero,_ especially given the price and the “bang for your buck.”

---

<div class="post-metadata">

**Author:** ![fatherofgrafton](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/f/e9c0ed/32.png) [@fatherofgrafton](https://community.openenergymonitor.org/u/fatherofgrafton)\
**Post date:** [15 August 2020 12:13 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062/32 "2020-08-15T12:13:51Z")

</div>

Yeah tried the foil under both Pi and TX units to increase signal strength and now all feeds / inputs no longer working, the PiLCD is showing a fault (showing ‘Booting… Please wait’ plus showing a red dot next to the service) and reboots not helping.

So now my whole system is essentially dead. I am officially done… 😠

---

<div class="post-metadata">

**Author:** ![Robert.Wall](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/robert.wall/32/38246_2.png) [@Robert.Wall](https://community.openenergymonitor.org/u/Robert.Wall)\
**Post date:** [15 August 2020 14:35 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062/33 "2020-08-15T14:35:44Z")

</div>

You’ve obviously done something else _ **as well** _ as providing a ground plane, because that could not possibly cause the emonPi not to boot.

---

<div class="post-metadata">

**Author:** ![fatherofgrafton](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/f/e9c0ed/32.png) [@fatherofgrafton](https://community.openenergymonitor.org/u/fatherofgrafton)\
**Post date:** [15 August 2020 14:46 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062/34 "2020-08-15T14:46:47Z")

</div>

Nope, I can assure you I literally slipped a piece of tin foil under the emonpi casing where it was sitting and feeds no longer showing data / invalid and on reboot lcd issue.

Total farce from start to finish. From faulty software loaded prior to shipping through to EmonTx incompatibility with Wi-Fi unit and need for programmer having to to be purchased to be able to change settings and now this.

£300 down the drain.

---

<div class="post-metadata">

**Author:** ![TrystanLea](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/trystanlea/32/31_2.png) [@TrystanLea](https://community.openenergymonitor.org/u/TrystanLea)\
**Post date:** [17 August 2020 11:01 UTC](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062/35 "2020-08-17T11:01:19Z")

</div>

Hello @fatherofgrafton

Sorry that the system has given you so much trouble. Given that these are all new units we would be happy if you wish to return them for a refund. Alternatively we could replace the Wi-Fi unit and configure the EmonTx unit for you if you send those back to us.

If you could email us at [support@openenergymonitor.zendesk.com](mailto:support@openenergymonitor.zendesk.com) with what you would like to do we can take it from there.

[Previous page](https://community.openenergymonitor.org/t/no-data-and-cannot-connect-to-emoncms-on-emonpi-with-emonesp/15062.md?page=1)
