Untested code for device activation
Added a notebook for testing activation