# EmonGLCD does not read time nor Power

**URL:** <https://community.openenergymonitor.org/t/emonglcd-does-not-read-time-nor-power/5002>\
**Category:** Hardware\
**Created:** [4 September 2017 14:18 UTC](https://community.openenergymonitor.org/t/emonglcd-does-not-read-time-nor-power/5002 "2017-09-04T14:18:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [9 September 2017 22:26 UTC](https://community.openenergymonitor.org/t/emonglcd-does-not-read-time-nor-power/5002/4 "2017-09-09T22:26:13Z")

</div>

> [@Hoplite](#):
>
> Now I need to find a way to set it to my local time.

I believe you need to set the timezone in two places - in the emonPi operating system itself, and in emonCMS. See [Setting clock on EmonPi - #4 by pb66](https://community.openenergymonitor.org/t/setting-clock-on-emonpi/2424/4)

> [@Hoplite](#):
>
> But I have not been able to read the data from my emonTx.

Where can you not read the data? The emonPi appears to be receiving it correctly. Do you mean your GLCD?

In your HomeEnergyMonitor.ino file, you need to change this line (line 69 possibly)

`typedef struct { int power1, power2, power3, Vrms; } PayloadTX;`

to be the same **structure** as the emonTx, but keeping the same _names_ that it has:

`typedef struct { int power1, power2, power3, power4, Vrms, temp[6]; unsigned long pulseCount;} PayloadTX;`

You will never use (unless you change the sketch and redesign the display layout) power4 or the 6 temperatures, but that will not matter, the GLCD will receive but simply ignore those values.

Also a little further down in the sketch, you must change this line (line 121 ?)

` if (node_id == 10) {emontx = *(PayloadTX*) rf12_data; last_emontx = millis();} //Assuming 10 is the emonTx NodeID`

to become:

`if (node_id == ` **8** `) {emontx = *(PayloadTX*) rf12_data; last_emontx = millis();} `

because your emonTx is Node 8.

---

_[View the full topic](https://community.openenergymonitor.org/t/emonglcd-does-not-read-time-nor-power/5002)._
