emonPi LCD startup display all wrong

Hi,

When the emonPi boots up the LCD should show the firmware version and detected sensors. In my case the LCD screen displays, in turn:

e2.10, then A DN and lastly D0 D. After this it will display the network IP and all OK. This started after I updated a new emonPi received 3 days ago. (updated via emoncms). I'm very new to the emonPi so any help on where to start looking will be appreciated.

 

Cheers.

 

Jon's picture

Re: emonPi LCD startup display all wrong

+1 for me.  My emonPi is doing the same.  This started after I did the Jan 27th update <http://openenergymonitor.org/emon/node/11799>.

 emonSD-22Dec2015.img and Emoncms Version low-write 9.3 | 2016.01.26

Xino's picture

Re: emonPi LCD startup display all wrong

Still no bootup messages on LCD....

var/log/emonPiLCD file shows:

 

pi@emonpi /var/log $ cat emonPiLCD
2016-02-02 18:35:50,237 INFO emonPiLCD Start
2016-02-02 18:35:50,597 INFO I2C LCD Detected on 0x27
2016-02-02 18:35:50,794 ERROR waiting for redis-server to start...
2016-02-02 18:35:51,942 ERROR waiting for redis-server to start...
2016-02-02 18:35:53,080 ERROR waiting for redis-server to start...
2016-02-02 18:35:54,150 ERROR waiting for redis-server to start...
2016-02-02 18:35:55,249 ERROR waiting for redis-server to start...
2016-02-02 18:35:56,385 ERROR waiting for redis-server to start...
2016-02-02 18:35:57,520 ERROR waiting for redis-server to start...
2016-02-02 18:35:58,661 ERROR waiting for redis-server to start...
2016-02-02 18:35:59,800 ERROR waiting for redis-server to start...
2016-02-02 18:36:00,945 ERROR waiting for redis-server to start...
2016-02-02 18:36:03,445 INFO Connecting to MQTT Server
2016-02-02 18:38:23,772 INFO lcd button press 0
2016-02-02 18:38:25,106 INFO lcd button press 0

 

Does this help??

 

Cheers.

 

 

 

glyn.hudson's picture

Re: emonPi LCD startup display all wrong

Hi guys, just seen this thread. Very sorry if an update has caused an issue. I will investigate this today and report back..

The log suggests that the emonPi LCD service cannot connect to redis. Could you confirm redis is running with:

$ redis-cli ping

the response should be: PONG

Also try:

$ sudo service redis-server status

glyn.hudson's picture

Re: emonPi LCD startup display all wrong

Please run an emonPi update and let me know if problem still persists

http://openenergymonitor.org/emon/modules/emonpi#update

Please paste or attach update logfile to this thread. 

Xino's picture

Re: emonPi LCD startup display all wrong

Hi Glyn,

That solved it thank you very much! I now see all bootup messages. Attached logfile anyway if needed.

Another issue that has always been present is the WIFI signal strength on the LCD indicates 0%. On emoncms it says Link Quality: 55/70.

Cheers.

glyn.hudson's picture

Re: emonPi LCD startup display all wrong

Oh dear, could you tell me what the output is when you run this in a SSH shell window:

$ ip addr show wlan0 | grep inet | awk '{print $2}' | cut -d/ -f1 | head -n1

Are you using the standard Edimax wifi adapter? 

Xino's picture

Re: emonPi LCD startup display all wrong

HI,

That command outputs the emonpi's IP address only.

Output of ifconfig wlan0 is:

wlan0 Link encap:Ethernet  HWaddr c4:12:f5:07:d1:9c
          inet addr:192.168.1.47  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:729371 errors:0 dropped:28154 overruns:0 frame:0
          TX packets:589045 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:185213340 (176.6 MiB)  TX bytes:219394968 (209.2 MiB)

I'm using a D-Link DWA-140 USB wifi adapter.

Thank You.

 

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.