Not hot enough is three different problems: name yours first
Hot water that is not hot enough usually fits one of three patterns, and each points somewhere different. Water that never gets properly hot at any tap points to the heating side: a setting, a supply or a part. Water that runs hot at the kitchen but lukewarm at the shower points to the valve that controls bathroom temperature, not the heater. Water that starts hot and runs out sooner than it used to points to demand, tank size or the time the system needs to reheat.
The type of system shifts the likely cause again. Storage systems, whether electric, gas, heat pump or solar, heat water and keep it in an insulated tank, so all of them can run short. A gas continuous flow unit heats water as it passes through, and Your Home, the Australian Government's guide to sustainable homes, notes that instantaneous systems cannot run out of hot water. A continuous flow unit that turns cold mid-shower has a flow problem instead, covered further down. Start with the pattern, then read the section for your system.
