Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Choosatron fails #2

Open
Slade1972 opened this issue Mar 27, 2015 · 6 comments
Open

Add a Choosatron fails #2

Slade1972 opened this issue Mar 27, 2015 · 6 comments
Assignees
Labels
Milestone

Comments

@Slade1972
Copy link

Using Choosatron Write V0.1.

Trying to add a Choosatron via the Choosatron menu / button (below the user name on the top right of the screen), doesn't work. Clicking the button will take you to the +Add Choosatron Screen. Clicking the large +Add Choosatron button brings a popup advising of 'No Cloud Account'.

Clicking 'Setup Cloud' changes the popup to 'Cloud Auth', with an email and password. There are no details as to what email / password are required. However, it doesn't matter what details are used, the 'Login' button doesn't do anything. Neither does 'Create account'.

Clicking 'Next' requests the Choosatron be plugged in via USB ensuring the Choosatron is in serial mode, with a 'Ready' button. Clicking 'Ready' the Choosatron write software waits and starts looking for a Choosatron. This doesn't work as none is ever found.

Summary: Adding a Choosatron via USB fails. Trying to Create or Login to an online account fails.

@spleenboy
Copy link

Slade1972, what OS are you using for the app? I wonder because right now, the scanning process over serial looks for devices with "USB" in the name, which I hadn't been able to test for on anything other than a Mac yet.

It sounds like I'll have to check on the cloud setup process. This should create an account for you on the Spark network, which is used for claiming the Spark core on your Choosatron.

@spleenboy spleenboy added the bug label Mar 27, 2015
@Slade1972
Copy link
Author

Hi spleenboy, I'm using Windows 8.1. I've claimed my spark core, flashed the firmware (long ago), and have been playing with the Choosatron for a while.

When running in Serial mode, Device Manager shows the Choosatron connected as:

Spark Core with Wifi and Arduino Compatibility (COM5)

I would guess that the com port may change, however it hasn't done so in the past 24 hours (although I haven't rebooted, nor have I plugged any further serial devices in which may cause it to change).

Edit: Further more, I already have a spark account. I can't login using the Write software (bad compile?) Most other things work.

@spleenboy
Copy link

Thanks for the info! The way the serial works is to broadcast an "i" message over serial and look for a response from Sparks that are in listening mode, so the problem may be that the core is already claimed as a Choosatron for you, in which case it won't be in listening mode by default any more.

I'll work on the cloud account stuff first, as it sounds like that will get you closer to being connected to your Choosatron. (It may not be until later today or tomorrow.)

@spleenboy spleenboy added this to the Alpha Release milestone Mar 27, 2015
@spleenboy spleenboy self-assigned this Mar 27, 2015
@Slade1972
Copy link
Author

If by 'Listening mode', you mean Serial mode (ie flashing blue LED), then yes, I've done that, and nothing changes. Oddly enough, in "default" mode (ie story mode - a slow pulsing white? LED (colour blind, sorry, it might not be white), Windows shows the same information, as it does in Serial mode (blue flashing LED).

Take your time. I'll keep an eye on the commits to the source and compile & test as changes are made.

@spleenboy
Copy link

The first part of this issue, with accessing the Spark account, should be addressed by 5015050 on develop. The AuthService code was still relying on an old version of the code that had a global spark object instead of using a factory.

@Slade1972
Copy link
Author

I've updated the source code (on the developer tree), rebuilt the app and still no dice. There is no change in the behaviour of the app at all. Trying to login to 'the cloud' doesn't actually work. Creating an account shows no difference in behaviour.

Note: The Cancel button doesn't function (at least not to the way I would expect it too). Is it supposed to close the 'Cloud Auth' window ?

Windows 8.1 64bit
Chrome: Version 41.0.2272.101 m (64-bit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants