Community
OpenEnergyMonitor

Community

Help to configure lcd display on emonpi

Tags: #<Tag:0x00007f6e0fae1238>

i need help to configure emonpi onboard lcd on image emonsd 17oct19
where is the default configuration file of lcd e.g emonPiLCD.cfg
i go crazy to find it but none
thank you

@yeppa,

It’s located in /home/pi/emonpi/lcd/

I suggest making a backup copy before making changes.

thank you…now i try to change configuration to view a other feed

i have another question:i have a pulse counter with espeasy ,and i try to visualize on display some infos,especially the power pulses and total power…the espeasy crate a node numbered 61,and 4 inputs named field300 to 303…in feeds i have 8 filds with various names…how i configure emonpilcd.cfg and what are the names of mqtt feed topics,i dont know…
thank you

Are you sure?
I am running 17oct19 and the lowest I can go is /home/pi and there is just a readme.md there.

with the command find i have “find” the emonpilcd.cfg in:

/opt/openenrgymonitor/emonpi/lcd

the config file is

emonPiLCD.cfg

Thank You! Found it!

Note if you change it, it will block updates to the emonpi repository as Git will see it as a modified file.

Will this be the only file that will not be updated?
How does Git know it has been modified?

No

It just does - that is the whole point of git. There is a work around that is quite easy and as long as you are aware of the potential issue, if you do an update from the UI remember to check the update log for errors. This repo does not update that often.

@TrystanLea could the cfg file be added to .gitignore?

So to be clear to me, since I modified emonpilcd.cfg (backlight timeout and power 1 and power 2 display), the file has the modified attribute set now, and if I were to run an update, none of the files would be updated because of this one file being modified?
Could i clear the modified flag for this file before updating? or is there more to it than that?

I had modified this file some time ago, and the updates seemed to work even though the file was modified… hhmmm.

If I understand correctly, you can get around that by using the stash command.
I’m not completely up to speed on Git, but this should help:

“reasonably simple” for a linux guy…OUI! I am not a Linux guy, but I kinda follow what you are doing.

  1. “stashing” or hiding the file to keep
  2. “git pull” the update
  3. “pop” unstash or retreive the hidden file after all the others have been updated.

Do I have the operations correct?
I will search on what you are saying so you don’t have to “lead me by the hand”.
Thank you for the help!

1 Like

Indeed you do. thumbsup

Thanks! Like I said, not being a Linux guy, the commands are somewhat foreign to me, but the internet has tons of info and help.
I’ll give it a go.

1 Like

you have a indication to my question to mqtt lcd infos…??thank you

highfive

Sorry, but I don’t use MQTT, so I’m not familar with it.
I was trying to help pomonabill220 with some Git commands.

1 Like