-
Notifications
You must be signed in to change notification settings - Fork 2
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
Register device for tesla telemetry #315
Register device for tesla telemetry #315
Conversation
…ribe to tesla commands
Is there a way for the frontend to tell whether the config has been sent/accepted? How do they know whether to call this endpoint, I suppose is the question. |
The status endpoint from #311 provides this information. If the virtual token is connected and the endpoint confirms it, they know to call this endpoint |
After they call it once, how do they know to not call it a second time? |
…te-endpoint-to-enable-telemetry-for-an-integration
* Add Telemetry/Subscribe command to Tesla Commands (#305) * Move vehice command to smartcar and tesla client, add telemetry/subscribe to tesla commands * Fix lint issues * Fix issue from PR review * declare commands as constants and use the values * Feature/si 2557 create endpoint to fetch available commands (#308) * Move vehice command to smartcar and tesla client, add telemetry/subscribe to tesla commands * Fix lint issues * Create endpoint for fetching all commands available to an integration * Compute disabled from capable and enabled commands * Change method, generate swagger and remove omitempty * Add tesla virtual key status to integration status endpoint (#311) * Move vehice command to smartcar and tesla client, add telemetry/subscribe to tesla commands * Fix lint issues * Create endpoint for fetching all commands available to an integration * Create endpoint for fetching all commands available to an integration * Create endpoint for fetching all commands available to an integration * Add tesla virtual token status to integration status endpoint * Add tesla virtual token status to integration status endpoint * Fix failing test * Fix issues from PR review * Fix issues from PR review * Fix issues from PR review * Change name from virtual-token to virtual-key * Register device for tesla telemetry (#315) * Move vehice command to smartcar and tesla client, add telemetry/subscribe to tesla commands * Fix lint issues * Create endpoint for fetching all commands available to an integration * Create endpoint for fetching all commands available to an integration * Create endpoint for fetching all commands available to an integration * Add tesla virtual token status to integration status endpoint * Add tesla virtual token status to integration status endpoint * Fix failing test * Function and endpoint to register device for tesla telemetry * Add open telemetry config to environment * Fix issues from PR review * Fix issues from PR review * Fix issues from PR review * Fix issues from PR review * Fix issues from PR review * Fix issues from PR review * Change name from virtual-token to virtual-key --------- Co-authored-by: Dylan Moreland <[email protected]> * Try to cut down on big import diff * More import formatting * More imports * Machine comment * Multiline string for CA * Remove some Fiber middleware we didn't use * Weird comment formatting * Comment for machine * Swap order of set difference. I feel like this is more normal * Misspelling * More import * More encryption * Another machine comment * Nolint * Get rid of the global integration command list for now * Clean up tests * Kill struct * Regen * More Joins, some variable names * Response wrapper * More unmarshal cleanup * URL join --------- Co-authored-by: Doyin.O <[email protected]>
Proposed Changes
Impacted Routes
/user/devices/:userDeviceID/integrations/:integrationID/commands/telemetry/subscribe
Caveats