# Setup 3-phase emonTX with emonESP using emoncms.org

**URL:** <https://community.openenergymonitor.org/t/setup-3-phase-emontx-with-emonesp-using-emoncms-org/12230>\
**Category:** emonTx\
**Tags:** emontx, emoncms\
**Created:** [21 October 2019 13:38 UTC](https://community.openenergymonitor.org/t/setup-3-phase-emontx-with-emonesp-using-emoncms-org/12230 "2019-10-21T13:38:50Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Stepan](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/stepan/32/10785_2.png) [@Stepan](https://community.openenergymonitor.org/u/Stepan)\
**Post date:** [24 February 2020 13:21 UTC](https://community.openenergymonitor.org/t/setup-3-phase-emontx-with-emonesp-using-emoncms-org/12230/13 "2020-02-24T13:21:14Z")

</div>

I have followed all the steps and I am getting wrong data in ESP mini D1.  
At the beggining I was using continous monitoring firmware + EmonESP 2.3 and everything works great.  
Now I changed to

- [Update to 3-Phase PLL sketch - #14 by Robert.Wall](https://community.openenergymonitor.org/t/update-to-3-phase-pll-sketch/8610/14)  
Where I modified the necessary lines to stablish communication with the esp getting the following serial readings:

> [OpenEnergyMonitor.org](http://OpenEnergyMonitor.org)  
> ct1:0.00,ct2:0.00,ct3:0.00,ct4:0.00,vrms:0.00,t1:23.75,t2:300.00,t3:300.00,t4:300.00,t5:300.00,t6:300.00,pulses:1  
> ct1:-0.00,ct2:-0.88,ct3:-1.75,ct4:0.00,vrms:0.65,t1:23.75,t2:300.00,t3:300.00,t4:300.00,t5:300.00,t6:300.00,pulses:1

I also modified this

> <https://github.com/openenergymonitor/emontx-3phase/issues/14>
>
> There is a little mistake in the code, file src.
> You must invert the two functi…on:like this:
>  
> calculateConstants();
> calculateTiming();
> 
> This code is great. Thanks

Then I downloaded last [EmonEsp](https://github.com/openenergymonitor/EmonESP) and I changed the baudrate from 115200 to 9600.

And now I am getting:

 ![Screenshot 2020-02-24 at 13.49.44](https://community.openenergymonitor.org/uploads/default/original/2X/f/f7fec339d3809567206d53b32fbe6a68bea9c00e.png)  
Which is quite weird

In my MQTT broker I receiving this kind of data CT measures are in W and I expected Amps ( I have change the coils directions), voltage looks nice.

 ![Screenshot 2020-02-24 at 15.06.27](https://community.openenergymonitor.org/uploads/default/original/2X/a/a966e3e5fc53189e0faa339142140ef5cc88e622.png)  
I dont have any temp probe connected so the are equal to 300. And then this extrange message Saving…  
Any help is welcome I spent all the morning with this issue.  
Best regards

---

_[View the full topic](https://community.openenergymonitor.org/t/setup-3-phase-emontx-with-emonesp-using-emoncms-org/12230)._
