In many cases, a relatively easily available (cheap) temperature / humidity sensor is needed, which can be used with an S7-1500 PLC (with Modbus communication). You can find a description of such a project on the site here.
It is often difficult to identify error codes in the case of S7 TIA-portal communication programs. Many times even the Help does not contain all the code. Here is a list with almost all error codes and some experience notes for S7-1200, S7-1500 PLCs: here.
This website is still very new, I intend it to be the successor to OB121. I mainly want to publish useful PLC source codes on it. I am currently working on the format, I hope you will find a more complete page here soon. Until then, please be patient!