# emonPi LCD V3.0 Update: SSH toggle, Shutdown, Config & CPU reduction

**URL:** <https://community.openenergymonitor.org/t/emonpi-lcd-v3-0-update-ssh-toggle-shutdown-config-cpu-reduction/9459>\
**Category:** emonPi\
**Tags:** lcd, emonpi\
**Created:** [11 December 2018 16:37 UTC](https://community.openenergymonitor.org/t/emonpi-lcd-v3-0-update-ssh-toggle-shutdown-config-cpu-reduction/9459 "2018-12-11T16:37:30Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Steve](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@Steve](https://community.openenergymonitor.org/u/Steve)\
**Post date:** [12 December 2018 11:49 UTC](https://community.openenergymonitor.org/t/emonpi-lcd-v3-0-update-ssh-toggle-shutdown-config-cpu-reduction/9459/3 "2018-12-12T11:49:24Z")

</div>

I tried to use the backlight\_timeout feature (the emonpi is in my kitchen so I don’t want it on all the time) but it has clearly not been tested with non-zero values.

```
File "./emonPiLCD.py", line 543, in main
    if (backlight_timeout) and now - buttonPress_time > backlight_timeout and lcd.backlight:
NameError: global name 'now' is not defined

```

Got it working by adding a global declaration of “now”.

---

_[View the full topic](https://community.openenergymonitor.org/t/emonpi-lcd-v3-0-update-ssh-toggle-shutdown-config-cpu-reduction/9459)._
