Hello @bko.
Thanks for your answer.
I didn´t know about curl. I installed it now and the command: curl -k https://api.spark.io/v1/ac
my_user@gmail.com:my_password give the following result:
[
{
"token": "xxxxx",
"expires_at": "2014-02-28T15:02:26.217Z",
"client": "user"
},
{
"token": "xxxx",
"expires_at": "2015-07-02T13:27:28.547Z",
"client": "__PASSWORD_ONLY__"
},
{
"token": "xxxx",
"expires_at": "2015-07-02T13:36:14.384Z",
"client": "__PASSWORD_ONLY__"
},
{
"token": "xxxx",
"expires_at": "2015-07-03T21:47:25.331Z",
"client": "spark-ide"
},
{
"token": "xxxx",
"expires_at": "2015-07-11T23:48:26.226Z",
"client": "spark-cli"
},
{
"token": "xxx",
"expires_at": "2015-07-12T00:29:09.659Z",
"client": "__PASSWORD_ONLY__"
},
{
"token": "xxxx",
"expires_at": "2015-07-16T01:20:47.875Z",
"client": "spark-cli"
},
{
"token": "xxxxxx",
"expires_at": "2015-07-16T02:42:32.124Z",
"client": "__PASSWORD_ONLY__"
},
{
"token": "xxxx",
"expires_at": "2015-07-18T17:16:42.327Z",
"client": "__PASSWORD_ONLY__"
},
{
"token": "xxxx",
"expires_at": "2019-12-31T23:59:59.753Z",
"client": "__PASSWORD_ONLY__"
}
]
I extend the expiration date until 2020.
@ScruffR
Sorry for the confusion again . My mistake . I wanted to say that i can not access the core through USB although I have listed in the device manager the COM6 that’s pointing to the core ( Core Spark with Wifi and Compatibility Arduino ) .
I tried to config the core using the Spark CLI command spark setup but it can not find my core at the serial port . I installed the windows drivers. It gives me the following messages:
Finding your core id
Press and hold the MODE button until your core blinks solid blue
- Is your core blinking blue? Then press ENTER - Potentially unhandled rejecti
on [2] Timed out (WARNING: non-Error used)
I didn't find any cores available via serial
Serial err: Error: Opening \\.\COM6: File not found
Serial problems, please reconnect the core.
Something went wrong Serial problems, please reconnect the core.
Press and hold the MODE button until your core blinks solid blue
- Is your core blinking blue? Then press ENTER - Potentially unhandled rejecti
on [4] Serial problems, please reconnect the core. (WARNING: non-Error used)
Potentially unhandled rejection [5] Error: Serialport not open.
at SerialPortFactory.SerialPort.close (C:\Users\Marco\AppData\Roaming\npm\no
de_modules\spark-cli\node_modules\serialport\serialport.js:442:17)
at C:\Users\Marco\AppData\Roaming\npm\node_modules\spark-cli\commands\Serial
Command.js:513:15
at runSideEffect (C:\Users\Marco\AppData\Roaming\npm\node_modules\spark-cli\
node_modules\when\lib\decorators\flow.js:85:25)
at C:\Users\Marco\AppData\Roaming\npm\node_modules\spark-cli\node_modules\wh
en\lib\decorators\flow.js:80:12
at tryCatchReject (C:\Users\Marco\AppData\Roaming\npm\node_modules\spark-cli
\node_modules\when\lib\makePromise.js:845:30)
at runContinuation1 (C:\Users\Marco\AppData\Roaming\npm\node_modules\spark-c
li\node_modules\when\lib\makePromise.js:804:4)
at Rejected.when (C:\Users\Marco\AppData\Roaming\npm\node_modules\spark-cli\
node_modules\when\lib\makePromise.js:625:4)
at Pending.run (C:\Users\Marco\AppData\Roaming\npm\node_modules\spark-cli\no
de_modules\when\lib\makePromise.js:483:13)
at Scheduler._drain (C:\Users\Marco\AppData\Roaming\npm\node_modules\spark-c
li\node_modules\when\lib\Scheduler.js:62:19)
at Scheduler.drain (C:\Users\Marco\AppData\Roaming\npm\node_modules\spark-cl
i\node_modules\when\lib\Scheduler.js:27:9)
Potentially unhandled rejection [7] Serial problems, please reconnect the core.
(WARNING: non-Error used)*
I will continue to search for a solution in the forum topics but I will be very grateful if you or someone else could continue to help me.
Thanks,
Marco