This tutorial is a bit outdated, doesn’t go into the details on how to actually write a driver, but it will teach you how the structure of an edge driver looks like, how to package and install it on your hub. And most importantly: how to use the SmartThings CLI to get logs.