# Using the EmonTx v3 with the ESP8266 Huzzah WIFI module

**URL:** <https://community.openenergymonitor.org/t/using-the-emontx-v3-with-the-esp8266-huzzah-wifi-module/795>\
**Category:** Labs\
**Tags:** emonesp, esp8266\
**Created:** [21 June 2016 16:10 UTC](https://community.openenergymonitor.org/t/using-the-emontx-v3-with-the-esp8266-huzzah-wifi-module/795 "2016-06-21T16:10:52Z")\
**Posts on this page:** 1\
**Showing post:** 40

<div class="post-metadata">

**Author:** ![glyn.hudson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/glyn.hudson/32/35003_2.png) [@glyn.hudson](https://community.openenergymonitor.org/u/glyn.hudson)\
**Post date:** [11 September 2016 12:40 UTC](https://community.openenergymonitor.org/t/using-the-emontx-v3-with-the-esp8266-huzzah-wifi-module/795/40 "2016-09-11T12:40:38Z")

</div>

Sorry for lack of engagement, I have been and still am travelling away. @TrystanLea created the emonESP emonTx example as a proof of concept. The use of continuous sampling code is still in testing. I will let Trystan comment on this.

I have just pushed an updated emonTx V3 discrete sampling firmware (V2.4) to the `emontx-ds-emonesp ` dev branch to provide a version of the standard emonTx V3 discrete firmware that serial outputs serial string pairs to work with emonESP e.g:

`ct1:xxx,ct2:xxx` etc…

> <https://github.com/openenergymonitor/emonTxFirmware/blob/emontx-ds-emonesp/emonTxV3/RFM/emonTxV3.4/emonTxV3_4_DiscreteSampling/src/src.ino>

This includes vrms and all temperature readings:

```auto
+ if (debug==1) {
+
+ Serial.print("ct1:"); Serial.print(emontx.power1);
+ Serial.print(",ct2:"); Serial.print(emontx.power2);
+ Serial.print(",ct3:"); Serial.print(emontx.power3);
+ Serial.print(",ct4:"); Serial.print(emontx.power4);
+ Serial.print(",vrms:"); Serial.print(emontx.Vrms);
+ Serial.print(",pulse:"); Serial.print(emontx.pulseCount);
+ if (DS18B20_STATUS==1){
+ for(byte j=0;j<numSensors;j++){
+ Serial.print(",t"); Serial.print(j); Serial.print(":");
+ Serial.print(emontx.temp[j]);
+ }
+ }
+ delay(50);
+ }

```

I propose standardising on this serial output format for all units e.g. emonTH etc.

---

_[View the full topic](https://community.openenergymonitor.org/t/using-the-emontx-v3-with-the-esp8266-huzzah-wifi-module/795)._
