I hope I don't offend brianspranger by posting this here. He and I have found an issue with this driver (not his fault). Apparently there are more than one version of this water heater and they use different commands for the heating modes. I love it when companies do this stupid stuff that is done for no apparent reason.
- Brianspranger's water heater and likewise his driver code want to see "Heat Pump Only" and "Electric-Only" for those modes.
- My water heater version needs "heat pump" and "electric" commands for those modes.
- The other modes (off, energy saver, and high demand) are the same between models.
To make this code work with the (presumably newer) water heaters, you simply need to change the mode names in the driver code from "Electric-Only" to "Electric" everywhere you find it. I think there were about 4-5 places. Same goes for "Heat Pump Only" that gets renamed "Heat Pump" I left the capitalization, word spacing, everything as written, just erase the extra "only or "-only".
It isn't a big deal once you are aware of it, but it was strange because things somewhat worked enough to make it appear everything was fine. so it took me a while to figure out something was up. For reference, my water heater is a "Heat Pump Water Heater Gen 4", but I am not sure what all models this code modification applies to. My heater reports the following.
- model number: 10E50-HP4D
- software Version: WH-HPW4-H2-01-10
I thank brianspranger for his time in helping me to track this down. Thanks again for this code, it will be very helpful to automate this water heater.