I have published all the documentation in a Github repository. If someone wants to make PCBs, I recommend that you wait a little longer until you receive my PCBs and try them.
https://github.com/giltesa/SmartHome
Sorry for the delay first of all, unfortunately I didn't get the notification of this thread If you are using a latching relay I'd recommend using SensorLatchingRelay1Pin or SensorLatchingRelay2Pins which should take better all the aspects of a latching relay. Then you can still use the safeguard for closing the door after a given timeframe. And yes you have to set a reporting interval even if not intuitive at all. This is because the safeguard is checked in the loop cycle which is called only if a reporting interval is set. So if you have a safeguard set to 1 minute, the report interval should be 1 minute or less. Thanks!
I'm afraid you're not going to get many answers to your question if you provide not more information...
type of heat pump, manufacturer
what are the current possibilities of controlling this heat pump
photo's
electric schema's
...
Try to give as much as possible (technical) information...
I have it ,look to my project.. project from example directory working .. but if power on node then register to gateway but not send actual state of relay .. I do it ..