emonpi icon indicating copy to clipboard operation
emonpi copied to clipboard

Location of emonPiLCD.cfg

Open g0lgs opened this issue 3 years ago • 0 comments

For sometime now emonPiLCD.py has had the comment on the line 34:

config.read(path + '/emonPiLCD.cfg') # FIXME should live in /etc, not /usr/share/emonPiLCD

Actually emonPiLCD.cfg is in /opt/openenergymonitor/emonpi/lcd (perhaps it usd to be in /usr/share/emonPiLCD)

Anyway as I have changed emonPiLCD.cfg on all my devices (mainly to get away from using the default MQTT password) this causes me to have to fiddle each time I want to check if there have been any real updates to the emonpi code - as I have to login change to /opt/openenergymonitor/emonpi and do 'git stash' before trying to any update, then check if any real changes have been made and then doing 'git stash pop' to get my configuration back.

Any chance that emonPiLCD.cfg can be correctly moved to /etc ??

g0lgs avatar Jan 09 '23 19:01 g0lgs