Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emonPiLCD1.py fix for CM firmware #149

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alandpearson
Copy link
Contributor

Fix MQTT topic handling in config file (vrms pulse,temperature1 temperature2) and remove older unneeded basetopic config item (this matches how emonPiLCD2 works).
Format temp and vrms to .2f
Allow emonPiLCD1.py to work with both emonlibCM and DS firmware

Unfortunately due to my bad git branching, this PR includes fixes to emonCM firmware as discussed here:

https://community.openenergymonitor.org/t/emonsd-feb24-ttyama0-used-by-kernel-causing-interference-with-rfm-emonhub/26108/4

Fix transmitting to match expected format from EmonHubOEMInterfacer
(also matches how transmission has been done before and works with
emonglcd)
Remove verbose mode and associated Serial.prints to get more room in
flash. Verbose mode is spurious as config changes can be verified with
'l' and 'L' options, and was disabled by default. Without removing these
there was no room in flash for the code. Consideration could be given in
future to make the help more terse and reducing the large amount of
Serial.prints uin the code to gain further space
Format temp and vrms to .2f
Allow emonPiLCD1.py to work with both emonlibCM and DS firmware
@TrystanLea
Copy link
Member

Thanks @alandpearson I will put this on my list to test.
I thought that my commits ~5months ago fixed this.. so I need to refresh on this and work out what was not fixed or what this is adding as I'm a bit confused https://github.com/openenergymonitor/emonpi/commits/master/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants