How do you register your Nest Thermostat on the Developer Site - smart-device

I am trying to use the Nest APIs to connect to my Nest Thermostat but I do not see the tie to my specific thermostat using a serial number or similar. I have seen the various guides on how to get data once it is registered but not sure how to register it.

There are 2 accounts you need to have an order to do API calls with nest platform.
You need a Nest account at home.nest.com. You should register your devices into this account (thermostats, smoke alarms, cameras etc)
You need a Nest Developer account https://developers.nest.com/ . Once you are logged into the nest developers, go the the console and create a product, add permissions etc.
Next, follow the steps in the official Nest Github account: https://github.com/nestlabs/android-sdk .
Technically, you can get a pin from calling the Authorization URL provided in nest developers, then use postman or Java to get the "access token". Once you have that you can do an API call to receive information from any device associated with your home.nest.com account.
If you use Java and android studio's, go through the explanation provided by Nest Labs, and when you run the code it will pop up a webview window and you will log your home.nest.com account that will connect it to your developer account and if you initialize the Listeners, you will receive all of the information you are looking for.

Related

Granting administrative consent

I'm exploring accessing mail (and sending mail) on behalf of other users. I have read about the graph api which would allow me also to handle chat messages later on.
I wanted to start implementing this with my personal account (#outlook.com) and followed basically this tutorial: https://cmatskas.com/create-a-net-core-deamon-app-that-calls-msgraph-with-a-certificate/ (this seems to be the same as the walkthrough in the portal)
I found questions and answers (like Microsoft Graph to send mail with Client Credential Flow (application permission) and personal account) but I do want to create a daemon app which seems not to work with a personal account (which makes sense because I could read Microsoft's end user customers data).
Furthermore, when trying to create such an app there is the following warning:
If I would create a development env for this I am still now working at a verified publisher, so I cannot develop an application to see if it fits our needs?
It is possible to have a developer sandbox from Microsoft for that purpose.
See https://learn.microsoft.com/en-us/office/developer-program/microsoft-365-developer-program-get-started for information on this

Any way to send a Tweet as someone else without applying to Twitter Dev again?

So I applied as a Twitter Dev to make a bot that tweets stuff. About two days later, I got access. When I ran the code with the tokens it gave me, it posts from my account.
My question: Is there a way for me to make it send as another account (a bot account) without me having to apply again?
Yes, you can use the Sign-in with Twitter flow to authenticate a different user to your app, and then use the Access Token and Access Token Secret for that user to post to that account. This is the correct way to implement things - you should not be applying for multiple developer accounts.
You can also use tools like twurl or another CLI tool to
https://github.com/twitter/twurl/
https://github.com/smaeda-ks/tw-oob-oauth-cli
https://github.com/olithissen/twitter-oob
Did you get elevated access from tweeter or Essential? I have a stack error:
You currently have Essential access which includes access to Twitter API v2 endpoints only.
If you need access to this endpoint, you’ll need to apply for Elevated access via the Developer Portal.
It's hard to get Elevated now.

Where can I find the information or documentation to allow a stripe connected account to add bank information within my app?

I have been looking for documentation or tutorials which show what to do in order to allow a creator (who already has a connect account (it was created when he first authenticated)) to add the banking information necessary for him to withdraw funds from his connect account (transfer his funds).
How app works:
Creator makes an account like on patreon.
User subscribes to creator like on patreon.
How can I allow the express connected account add his details?
Here are some links I have gatherd but don't seem to contain info on how to:
https://stripe.com/docs/connect/express-accounts
https://stripe.com/docs/connect/charges#types
It depends on what type of Account.
Standard Accounts: https://stripe.com/docs/connect/standard-accounts#create-link
Express Accounts: https://stripe.com/docs/connect/express-accounts#create-link
Custom Accounts: https://stripe.com/docs/connect/connect-onboarding
For express accounts redirect users to stripes onboarding
I emailed them for info before I got this answer. I will include their info here:
I understand you would like to know how a user can input their bank account information on the client-side.
As per in docs Stripe will handle onboarding, account management, and identity verification for your platform, which means you can onboard users very quickly. This is done by using the OAuth connection flow, after this, your user will be able to connect to your platform.
You can test this by trying the sample we have using Rocket Rides. Also, here you will be able to find the demo’s source code.
On the other hand, if you are referring to updating this information after the onboarding, this is done by logging on the Express Dashboard, and you can achieve this by integrating with the Express Dashboard.
Extra info: https://stripe.com/connect/express
This is especially helpful: https://stripe.com/docs/connect/collect-then-transfer-guide

Connect multiple accounts on Zapier CLI app

I'd like to connect two different accounts with one Zapier app. I've seen other apps support this but there doesn't seem to be any mention of this in the documentation or be any example apps that do this.
Looking at the auth documentation, there doesn't seem to be an option to pass in multiple authentication handlers:
const App = {
// ...
authentication: authentication
// ...
};
How can I get my app to have the user connect to two separate accounts?
Ah! Good question, I'll try and clear the confusion here.
You do not need to build out any functionality to handle multiple user accounts for your app. Zapier will do this for you. All you need to do is specify how your app authenticates.
Once you push the app, you can go to the connected accounts tab, search for your app and connect multiple user accounts.
One can also add another user account while using the app in a Zap (that rhymed!). Click on connect account and complete the auth.
Hope that helps!

Is there a way to get write access to twitter api without mobile authentication?

I am currently working out of india and am trying to get to make my app post on behalf of my Twitter user account. However, for me to be able to do this, I need to create write access to my app on twitter, which I tried to. Unfortunately, twitter gives me the following error:
Error
You must add your mobile phone to your Twitter profile before granting your application write capabilities. Please read https://support.twitter.com/articles/110250-adding-your-mobile-number-to-your-account-via-web for more information
Now, I tried to add my mobile phone number following these instructions. Twitter, does not support any of the Indian mobile carriers in order to authenticate the same.
Is there a work around? Is there any way I can make write access work from here?
There are two ways to do this.
The official way to do this is to contact the Twitter API team directly using this form https://support.twitter.com/forms/platform
The unofficial way is
Authenticate against mobile.twitter.com (use your phone or computer).
Go to Settings
Go to Phone
Add
Add your mobile
A "manage" link should be available
All being well, you'll get a confirmation SMS
I've not tried this method - but I have seen other people say it works.

Resources