Page 1 of 1

Star not connecting to cloud

Posted: Wed Jul 24, 2019 6:58 pm
by binder
I'm having difficulty with getting my Star to connect to the cloud server. I've got my forum username and password setup and in the file. I had the webwizard generate the code for me so I know I have the proper header includes and proper syntax. I put in my username and password and clicked "Encrypt" to proceed. I have a current copy of the dev branch. I've got my code uploaded and I'm watching the serial output.
I will get a MQTT connecting... then MQTT succeeded. After that, I don't get anything for a while. Then I get a "Channel 5MQTT failed" and then a connecting. That gets repeated multiple times. For whatever reason, it shows "Channel 5" ahead of all the output text now. I have no idea why either.
I've not getting any data being sent to the cloud.
I see a:

Code: Select all

Portal Call
Data Sent
Disconnected
Connecting...
<IP ADDRESS>
Could not create file
Connected
Data:  0
Header:  0
Disconnected
MQTT Connecting...
MQTT Succeeded
I'll also get a web transaction come through with a Error 400: Bad Request

I pulled down the /r99 and somehow the ID is set to cloudtest2 which I have not set anywhere (to my knowledge).

Anyways, I'm at a loss of what is going on and what I should try to do.

Re: Star not connecting to cloud

Posted: Wed Jul 24, 2019 7:37 pm
by rimai
Are you uploading it with the Arduino ide or webwizard?

Re: Star not connecting to cloud

Posted: Thu Jul 25, 2019 3:44 am
by binder
rimai wrote:Are you uploading it with the Arduino ide or webwizard?
arduino ide. using the 1.8.6 mac version. haven't tried webwizard because I have additional code I am loading.

Sent from my Pixel 2 using Tapatalk

Re: Star not connecting to cloud

Posted: Thu Jul 25, 2019 9:14 am
by rimai
You have to edit RA_CustomSettings

Re: Star not connecting to cloud

Posted: Thu Jul 25, 2019 12:04 pm
by binder
rimai wrote:You have to edit RA_CustomSettings
ahh... gotcha. thanks!
is that file commented like the features file was/is?
I'll look through the code and see what all I need to update.

Sent from my Pixel 2 using Tapatalk

Re: Star not connecting to cloud

Posted: Thu Jul 25, 2019 12:17 pm
by rimai
Yeah, you won't have any problems finding out what you need to change.

Re: Star not connecting to cloud

Posted: Thu Jul 25, 2019 3:25 pm
by binder
rimai wrote:Yeah, you won't have any problems finding out what you need to change.
awesome.
I just haven't kept up with it and didn't realize that there's been some major changes. Just haven't dove into it fully and I should.

Sent from my Pixel 2 using Tapatalk

Re: Star not connecting to cloud

Posted: Thu Jul 25, 2019 6:09 pm
by binder
It's amazing...when you actually update the settings properly, it all works. ;-)
Got it figured out and I just needed to put in my username/password combo in that file and it started working.