Quantcast
Channel: Arduino Forum - Latest topics
Viewing all articles
Browse latest Browse all 15404

Getting error when I try to connect at Arduino iot cloud api with python

$
0
0

'''
`from arduino_iot_cloud import ArduinoCloudClient

DEVICE_ID = "words"
SECRET_KEY = "words"

client = ArduinoCloudClient(device_id=DEVICE_ID, username=DEVICE_ID, password=SECRET_KEY)

client.register("variable")
client["variable"] = 255

client.start()` '''
when I run this code it appear and error like this:
UserWarning: The cbor2.encoder module has been deprecated. Instead import everything directly from cbor2.
warn(
UserWarning: The cbor.decoder module has been deprecated. Instead import everything directly from cbor2.
warn("The cbor.decoder module has been deprecated. Instead import everything directly from cbor2.")
WARNING:root:Connection failed index out of range, retrying after 1.0s
WARNING:root:Connection failed index out of range, retrying after 1.2s
WARNING:root:Connection failed index out of range, retrying after 1.44s
Anyone who can help me with this ?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 15404

Trending Articles