You need an inject node which fires every 30 minutes. (If it has to be on the hour and the half hour, use "interval between times" repeat option.) It doesn't really matter what it injects, timestamp is fine,
Next a switch node to test if global.Home is true.
FInally a trigger node to send ON and then OFF.
It sounds like this is what you have tried, but maybe some significant difference.
[{"id":"e9903743cbc8a414","type":"inject","z":"52d3a9a7a5712824","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"topic/for/mqtt","payload":"","payloadType":"date","x":300,"y":840,"wires":[["4e646c2770b8138d"]]},{"id":"4e646c2770b8138d","type":"switch","z":"52d3a9a7a5712824","name":"","property":"Home","propertyType":"global","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":490,"y":840,"wires":[["753d087941a80867"]]},{"id":"753d087941a80867","type":"trigger","z":"52d3a9a7a5712824","name":"","op1":"ON","op2":"OFF","op1type":"str","op2type":"str","duration":"3","extend":false,"overrideDelay":false,"units":"min","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":650,"y":840,"wires":[["45555d640325fcac"]]},{"id":"45555d640325fcac","type":"debug","z":"52d3a9a7a5712824","name":"debug 273","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":850,"y":840,"wires":[]},{"id":"1470a7712e983e1d","type":"inject","z":"52d3a9a7a5712824","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":230,"y":740,"wires":[["3ae485b9a984a785"]]},{"id":"3ae485b9a984a785","type":"change","z":"52d3a9a7a5712824","name":"","rules":[{"t":"set","p":"Home","pt":"global","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":420,"y":760,"wires":[[]]},{"id":"f892b72d18f36c35","type":"inject","z":"52d3a9a7a5712824","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"false","payloadType":"bool","x":230,"y":780,"wires":[["3ae485b9a984a785"]]}]