Thanks Steve. Per your direction:
[{"id":"aa7f2a72.9a2d38","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"980b9a02.33289","type":"cast-to-client","z":"aa7f2a72.9a2d38","name":"","url":"","contentType":"","message":"","language":"en","ip":"192.168.1.106","port":"","volume":"","x":840,"y":360,"wires":[["1b2dbe25.89c78a"]]},{"id":"ad0a4e8.243483","type":"inject","z":"aa7f2a72.9a2d38","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":360,"y":360,"wires":[["72a3d52f.dff36c"]]},{"id":"72a3d52f.dff36c","type":"change","z":"aa7f2a72.9a2d38","name":"","rules":[{"t":"set","p":"ip","pt":"msg","to":"192.168.1.106","tot":"str"},{"t":"set","p":"message","pt":"msg","to":"Hello world","tot":"str"},{"t":"set","p":"language","pt":"msg","to":"En-gb","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":580,"y":360,"wires":[["980b9a02.33289"]]},{"id":"1b2dbe25.89c78a","type":"debug","z":"aa7f2a72.9a2d38","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":1070,"y":360,"wires":[]}]
Above is the functioning, stand-alone test flow that sends a message to our Google cast device.
Below is the combined flow that doesn't work, and results in the debug error mentioned in my original post:
[{"id":"675e4bcc.a2c7b4","type":"tab","label":"Google cast attempt","disabled":false,"info":""},{"id":"210d5621.adcd92","type":"udp in","z":"675e4bcc.a2c7b4","name":"","iface":"","port":"67","ipv":"udp4","multicast":"false","group":"","datatype":"buffer","x":110,"y":140,"wires":[["7d6b5a14.7cd88c"]]},{"id":"7d6b5a14.7cd88c","type":"function","z":"675e4bcc.a2c7b4","name":"","func":"var mac = Buffer.alloc(6);\nmsg.payload.copy(mac, targetStart=0, sourceStart=28, sourceEnd=34);\nmsg.mac = mac.toString('hex');\nreturn msg;","outputs":1,"noerr":0,"x":290,"y":200,"wires":[["4df44bfd.99f17c"]]},{"id":"4df44bfd.99f17c","type":"switch","z":"675e4bcc.a2c7b4","name":"","property":"mac","propertyType":"msg","rules":[{"t":"eq","v":"74c2463c74c9","vt":"str"}],"checkall":"false","repair":false,"outputs":1,"x":450,"y":140,"wires":[["799fc2ad.0f511c"]]},{"id":"799fc2ad.0f511c","type":"delay","z":"675e4bcc.a2c7b4","name":"","pauseType":"rate","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"5","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"x":660,"y":220,"wires":[["d8ccb61a.0843f"]]},{"id":"a612c1e7.1ed8c","type":"cast-to-client","z":"675e4bcc.a2c7b4","name":"","url":"","contentType":"","message":"","language":"en","ip":"192.168.1.106","port":"","volume":"","x":840,"y":620,"wires":[["1ecd8b33.c66805"]]},{"id":"8662a156.55972","type":"change","z":"675e4bcc.a2c7b4","name":"","rules":[{"t":"set","p":"ip","pt":"msg","to":"192.168.1.106","tot":"str"},{"t":"set","p":"message","pt":"msg","to":"test","tot":"str"},{"t":"set","p":"language","pt":"msg","to":"En-gb","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":500,"y":540,"wires":[["a612c1e7.1ed8c"]]},{"id":"d8ccb61a.0843f","type":"trigger","z":"675e4bcc.a2c7b4","op1":"","op2":"","op1type":"date","op2type":"nul","duration":"250","extend":false,"units":"ms","reset":"","bytopic":"all","name":"","x":860,"y":380,"wires":[["8662a156.55972"]]},{"id":"1ecd8b33.c66805","type":"debug","z":"675e4bcc.a2c7b4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":1130,"y":540,"wires":[]}]
Note; the purpose is to take a UDP MAC address detection and cause Google Home to announce.