toc Set configuration Pybytes > Pybytes library API > Set configuration

Set configuration

Set device configuration.

Method

pybytes.set_config(key, value, permanent, silent, reconnect)

Parameters

name Description is Required Default value
key key Yes None
value value No None
permanent boolean No True
silent boolean No False
reconnect boolean No False

Example

pybytes.set_config(key="network_preferences", value="wifi", permanent=True, silent=False, reconnect=False)

Success Response

>> Pybytes configuration written to /flash/pybytes_config.json

 

Previous Next