CakePHP 3 Debug Timer

Have you ever wanted to add a custom timer to your CakePHP 3 applications debug toolbar? Well it is not as complicated as you might think. The following is a short snippet that shows how to do just that. Add the use statement for the debug kit and then call the static...

Powering Relays (Relay Output)

WARNING: You should prevent the powered device from pulling more power then it can handle. This can be done with a fused setup. I am not going to cover this in the tutorial. Also not that working with mains and AC house current IS DANGEROUS. Proceed at your own risk....