-Removed the old LCD setup from mycodo in setup/LCD
-Added a new function for generic LCD 20x4 (i2C)
-Configured the new function with the same I2C (0x27) and I2C bus (1) that was previously used. I2Cdetect shows the device at 0x27.
-Added the same 4 lines that were previously setup
The following notice is at the top of the LCD page:
LCD controllers have been deprecated. If you would like to control a display/LCD, go to the Setup → Function page and add a supported Display Function.
Therefore, there will be no work put into any issues related to this deprecated feature. If you find an issue with LCD Functions, you’re welcome to submit a bug report.
Sorry for the confusion. That is what I did. I removed the old LCD display setup and added a new one under the Function page. Now I’m getting the error on one of our two systems.
No I haven’t swapped LCD panels. What is interesting is the display panel is working. We would not have known there was an error without the log file. That log file error only occurs every few hours.
New panel didn’t change the error. The only LCD object setup is in the function area. I checked today to make sure the old LCD (setup/LCD) had been deleted when this new LCD panel under Functions was added. Yet the error continues. Also restarted the raspberry pi. It is interesting that after disabling the LCD function, the LCD screen displays Mycodo 8.11.0, LCD Disabled.
The error is referencing the ID of the LCD panel setup under Functions. I’ll let it run for a few hours with the LCD function disabled to see if the error persists. The LCD
So, if after replacing the LCD on the system that produces errors in the log with an LCD from a system that doesn’t produce errors in the log, and the errors persist, it suggests to me the issue is related to the system (Pi, power supply, wiring, circuits, interference in the environment, etc.) that produces the errors, and not necessarily the fault of the LCD or the software (Mycodo).