toc Activate Device Pybytes > Pybytes library API > Activate Device

Activate Device

Activate device on Pybytes, via Pymakr plugin.

Method

pybytes.activate(activation_string)

Parameters

name Description is Required Default value
activation string Generated by Pybytes Yes -

Example

pybytes.activate("eyJhIjoiNTYzM...")

Success Response

>> Please wait while we try to connect to Pycom
>>  Wifi connection established... activating device!
>>  WMAC: 807D3AC325E8
>>  Firmware: 1.20.1.r2
>>  Pybytes: 1.3.0
>>  Initialized watchdog for WiFi and LTE connection with timeout 1260000 ms
>>  WiFi connection established
>>  Pybytes connected successfully (using the built-in pybytes library)

 

Previous Next