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 the device to the SUSI Server #523

Open
atm1504 opened this issue Jun 30, 2019 · 0 comments
Open

Add the device to the SUSI Server #523

atm1504 opened this issue Jun 30, 2019 · 0 comments

Comments

@atm1504
Copy link
Member

atm1504 commented Jun 30, 2019

Is your feature request related to a problem? Please describe.

Setup some endpoints in the installer that will ask for the information from the android app about the name of the room, location (latitude, longitude), macid, access_token, speaker name. The installer should accept this information from the Android app and make a request to the susi server to add the device. The device should be added to the server only after the password is verified. Though it can accept the datas any time during the setup.

Describe the solution you'd like

After wifi is successfully configured in the susi speaker, it now should accept the above mention parameters before asking for the password. After this password is should be asked. Once the password is verified it should now make the request to the server to add it.

Endpoints of addNewDevice api:

https://api.susi.ai/aaa/addNewDevice.json?access_token=<access-token>&macid=<mac-id>&name=<device-name>&room=home&latitude=12.1&longitude=23.3

Reference Issue : fossasia/susi_android#2290

@atm1504 atm1504 changed the title Add the device to the addNewDeviceServer Add the device to the SUSI Server Jun 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant