It’s working! My Raspberry Pi Tkinter app now allows me to view and change the status of my water heater locally connected to the Raspberry Pi. It also updates the HIMS mysql database so that I can also view and change the settings on the HIMS. I’ll run through some additional testing then post code eventually.
Here’s a screenshot of the status page. It essentially shows if the unit is on or off and what the temperature is:
Here’s a screenshot of the settings page. It allows me to set up to 4 off sequences along with enabling data logging. Sequence 4 doesn’t work at this time but I set it up for 4 sequences.