The weather display I found and use doesn't need and specific weather node, just runs off the API data
Just subtract the equivalent time of a day in UNIX time.
JavaScript uses milliseconds, so first convert todays UNIX timestamp to milliseconds then delete the equivalent of 24 hours (in milliseconds that is 86400)
[{"id":"34fa6b955b5a850f","type":"function","z":"3df5b2d46b354704","name":"Yesterday","func":"let past = msg.payload - (86400) * 1000 // Convert UNIX to milliseconds and remove one day\nmsg1 = {payload: past};\nlet pastday = new Date(past).toLocaleString(\"en-US\");\npastday = pastday.replace(\",\",\"\"); // OPTIONAL Remove Commas\nmsg2 = {payload: pastday};\nreturn [msg1,msg2];","outputs":2,"noerr":0,"initialize":"","finalize":"","libs":[],"x":660,"y":540,"wires":[["21b7b709900ee1bd"],["72dff8d4f9293e7b"]]},{"id":"33e0242831cabb83","type":"inject","z":"3df5b2d46b354704","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payloadType":"date","x":500,"y":540,"wires":[["34fa6b955b5a850f","1c0b31c42a8e5cc0","beeb57da5e0ce076"]]},{"id":"21b7b709900ee1bd","type":"debug","z":"3df5b2d46b354704","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":830,"y":520,"wires":[]},{"id":"1c0b31c42a8e5cc0","type":"function","z":"3df5b2d46b354704","name":"Today","func":"let past = msg.payload\nmsg1 = {payload: past};\nlet pastday = new Date(past).toLocaleString(\"en-US\");\npastday = pastday.replace(\",\",\"\"); // OPTIONAL Remove Commas\nmsg2 = {payload: pastday};\nreturn [msg1,msg2];","outputs":2,"noerr":0,"initialize":"","finalize":"","libs":[],"x":670,"y":380,"wires":[["4728f80a8e9a1d25"],["428439e2b8e1ea46"]]},{"id":"4728f80a8e9a1d25","type":"debug","z":"3df5b2d46b354704","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":830,"y":360,"wires":[]},{"id":"beeb57da5e0ce076","type":"function","z":"3df5b2d46b354704","name":"Two days ago","func":"let past = msg.payload - (86400*2) * 1000 // Convert UNIX to milliseconds and remove two days\nmsg1 = {payload: past};\nlet pastday = new Date(past).toLocaleString(\"en-US\");\npastday = pastday.replace(\",\",\"\"); // OPTIONAL Remove Commas\nmsg2 = {payload: pastday};\nreturn [msg1,msg2];","outputs":2,"noerr":0,"initialize":"","finalize":"","libs":[],"x":640,"y":700,"wires":[["570e0444de929f21"],["b0c7410ab8cd31cb"]]},{"id":"570e0444de929f21","type":"debug","z":"3df5b2d46b354704","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":830,"y":680,"wires":[]},{"id":"428439e2b8e1ea46","type":"debug","z":"3df5b2d46b354704","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":830,"y":420,"wires":[]},{"id":"72dff8d4f9293e7b","type":"debug","z":"3df5b2d46b354704","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":830,"y":580,"wires":[]},{"id":"b0c7410ab8cd31cb","type":"debug","z":"3df5b2d46b354704","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":830,"y":740,"wires":[]}]
Now feed that number into the API for historical data.
You will have to account for each additional past day and submit the request up to five times for the 5 day history.